How Windows 7 will, and won't, work better with SSDs
- 10 November, 2008 09:13
The first generation of solid-state drives (SSDs) introduced in PCs last year failed to live up to the hype.
Though praised for using less power and generating less heat than conventional hard disk drives, SSDs weren't as fast as promised. Their capacity and longevity, especially with low-end models found in netbooks, left a lot to be desired.
Much of that was due to the poor quality of the SSDs themselves. But another problem was that neither the hardware nor the software had caught up to SSDs.
"Operating systems need to treat SSDs differently than hard drives," said Don Barnetson, senior director of marketing for SSDs at SanDisk.
At its Windows Hardware Engineering Conference (WinHEC) in Los Angeles this week, Microsoft promised that the upcoming Windows 7 would work better with SSDs , though SSD makers and PC makers will need to do their part, too.
Peter Glaskowsky, an analyst with The Envisioneering Group, said it's good that Microsoft is stepping up, rather than relying on SSD vendors such as Samsung Electronics, SanDisk or Intel to do all the heavy lifting.
But he and other experts say unless Microsoft takes one more giant step, Windows 7 will only boost SSD performance in an incremental way.
"Microsoft could make Windows 7 a much more flash-memory aware OS. But you would need to change the [drive] interface," he said. "That's not being contemplated within the scope of Windows 7 today."
That leaves a potental opening for Apple Inc. or even a Linux netbook PC maker.
Optimizing SSDs for Windows 7 is key. Sales of laptops, especially netbooks, are on the rise. Meanwhile, SSD prices are plummeting, while capacities and quality grows. According to Gartner data shared by Microsoft, a 512GB SSD that costs almost US$600 today should be less than $300 by 2010, when Windows 7 is expected to be officially released.
"SSDs are on the path to reach their full potential," Microsoft senior program manager Frank Shu said.
In a WinHEC presentation, Shu outlined four ways Windows 7 will improve upon Vista and XP support for SSDs.
First, Windows 7 will turn off disk defragmentation when it detects an SSD instead of a spinning disk drive.
Page BreakDefragging disks speed ups the reading of data from conventional hard drives by moving similar data together. But flash-based SSDs are already fast at reading data. Rather, SSDs are slow at writing data. Moreover, the process of erasing and moving data requires "flashing" the memory cells with high voltage. That gradually wears out the SSD.
Defragmentation thus shortens an SSD's lifespan without improving performance, Shu said.
Second, Windows 7's new "trim" feature will improve performance three ways. It will: Reduce the amount of data to be deleted, which improves the SSD's lifespan; delete garbage data in advance, which speeds up writing of data; and maximize the amount of unused data, which helps even out the wear and tear on the SSD, Shu said.
Third, Windows 7 will partition the SSD more efficiently to cut down on unnecessary read-write cycles, Shu said. This requires Windows 7 to be installed fresh and not upgraded from XP, he said, since the latter OS formats SSDs in an inefficient way.
Finally, Microsoft plans to create a certification program for SSDs. To win the software maker's logo of approval, SSDs must identify themselves to Windows 7 properly, prioritize data reads over slower data writes, comply with the Serial ATA (SATA) drive interface for faster connections, and more, Shu said.
On the other hand, Microsoft is not taking more radical steps. For instance, it's not trying any tricks to decrease the number of times data is written, such as using RAM to cache data, Shu said.
Writing data to flash memory, especially small amounts of it, takes 100 times longer than reading it, according to SanDisk.
SanDisk's Barnetson agrees that Microsoft is limited by what it can do in this vein.
"The challenge is that it's not just Windows, it's all of the applications constantly issuing commands to the SSD," he said. Software vendors "aren't going to change, that's the reality of it."
Moreover, Microsoft appears unlikely to have Windows 7 adopt a new disk interface technology written specifically to boost the speed and longevity of SSDs. It's called Non-Volatile Memory Host Controller Interface. Developed by Intel, NVMHCI would replace the ATA interface that was developed originally for hard disk drives (though, out of necessity, also used by SSDs today).
Page BreakIronically, Microsoft has publicly backed NVMHCI's development as a potential future standard, but it is unwilling to commit yet to using NVMHCI.
"It's too early to say if NVMHCI will make it into Windows 7," said Jeff Price, senior director of Windows product management. "The availability of NVMHCI hardware is still nascent," he continued. As a result, "it's hard for us to design to."
Stephen Weinger, marketing manager for NAND flash memory products at Samsung, said he doesn't think NVMHLC "definitely needs to be in Windows 7."
But others like Glaskowsky say Microsoft may give up an opportunity to grab the technical lead in SSDs.
"There are opportunities for OSes to do so much more in terms of tuning files and applications for SSDs, but that can't be done over an ATA interface," Glaskowsky said.