SSD Support is Native to W7

Page 1 of 3 123 LastLast

  1. Posts : 990
    Windows 7 Home Premium x64
       #1

    SSD Support is Native to W7


    Since building my system, I've been reading a lot about SSDs and their projected evolution - yes, I did it backwards and should have done my homework prior to the build. Fortunately, my SSDs are MLC/TRIM enabled and allow me to RAID0 them - making them exceptionally fast. The configuration and drive selection was based on topical numbers, nothing as in-depth as the controller type or TRIM support. I just got lucky.

    New technology is tough. A few of you that bought HD-DVD players (or going back to BETA-MAX) understand this problem. With Vista, Microsoft wasn't prepared to implement native SSD support. Instead, they gave us ReadyBoost, the neat little feature that creates additional RAM out of a USB stick. Although a neat gimmick, it's essentially useless and a cheap attempt at any real SSD support.

    With Windows 7, they finally got on-board (relatively) early and implemented native support for SSDs. Beginning with the first betas, for both SLC and MLC - and more importantly, native TRIM support. That support will continue to evolve, as quoted early on from a senior MS developer;

    I'm not an expert on our storage drivers (I deal mainly at the file system level), but it appears that our ATA port driver (ataport) does implement trim support. This means that SSD drives which present themselves as ATA drives (which I think most if not all do), can support trim provided the drive itself also supports trim. Non-ATA devices -- including USB drives and SCSI drives -- don't yet have the ability to support trim, since our other port drivers don't implement trim. This may change as the market evolves. I don't know if any 3rd-party storage drivers implement trim as of yet, but yes, they would have to implement it for it to work.
    This is quite remarkable since MS would, in the past, relegate new technology support in the form of service packs and not the main RTM. Time's are changing. Fast.

    It's important to note here that, at the time that comment was made, USB sticks did not - and still don't support TRIM. This will change as SSDs get smaller, for now, we are going to have to rely on 'decent' speeds from our trusty sticks until they get their own controllers.

    For our conventional SSDs, TRIM support is essential. With Windows 7, the OS/file system will determine if your drive has native TRIM support and configure it accordingly;
    MSDN Blog said:
    Windows 7 will disable disk defragmentation on SSD system drives. Because SSDs perform extremely well on random read operations, defragmenting files isn’t helpful enough to warrant the added disk writing defragmentation produces.

    By default, Windows 7 will disable Superfetch, ReadyBoost, as well as boot and application launch prefetching on SSDs with good random read, random write and flush performance. These technologies were all designed to improve performance on traditional HDDs, where random read performance could easily be a major bottleneck.

    Since SSDs tend to perform at their best when the operating system’s partitions are created with the SSD’s alignment needs in mind, all of the partition-creating tools in Windows 7 place newly created partitions with the appropriate alignment.
    Good to know. From the get-go, W7 will take advantage of a SSD/TRIM-enabled drive and configure it for you. While I personally disable the pagefile entirely, those who still use it will benefit significantly by keeping it on your SSD.

    To determine if your SSD supports TRIM, open a console as Admin;
    Code:
    fsutil behavior query DisableDeleteNotify
    If the console returns a '0', your drive supports TRIM and it is ENABLED.

    If it returns '1', the file system has disabled TRIM for your drive. This means your drive's controller does not support TRIM.

    Don't fret.

    A firmware upgrade may correct the problem as more and more SSD manufacturers are now implementing this essential feature in the form of BIOS updates for older drives and natively in new drives. Check your drive's site for possible upgrades. While, forcing TRIM is possible, it is not recommended.

    So why do you care? Anandtech summarized this well;
    Anandtech said:
    ...a TRIM-supporting OS queries the hard drive for its rotational speed. If the drive responds by saying 0, the OS knows it’s a SSD and turns off features like defrag. It also enables the use of the TRIM command.

    When you delete a file, the OS sends a trim command for the LBAs covered by the file to the SSD controller. The controller will then copy the block to cache, wipe the deleted pages, and write the new block with freshly cleaned pages to the drive.

    Now when you go to write a file to that block you’ve got empty pages to write to and your write performance will be closer to what it should be.
    This is crucial for a number of reasons. Users of SSDs have long complained that long-term usage of SSDs created lag, they get progressively slower as they're used. The reason for this is lack of TRIM support on older SSDs. On a conventional spindle drive, when the file system removes a file, it simply removes the header. This is efficient for both the OS and the drive itself. The problem with this is that the file can easily be recovered - this is how 'undelete' software is possible. The problem also affects SSDs but for different reasons.
    Anandtech said:
    If you are doing a clean setup of your machine and want to restore your drive to its native state you’ll have to perform a secure erase. Intel distributed a tool with the first X25-M review kits called HDD ERASE. This tool will take any SSD and free every last page on the drive. Obviously you’ll lose all of your data but your drive will be super fast again!
    You could think of TRIM as real-time defragmentation for your SSD. TRIM allows the drive to perform at its optimal levels, issuing 'clean up' commands that will later improve additonal write commands - the area where SSDs are weakest. There's an added benefit; a traditional format will not restore your SSD to a pristine state. Instead, you can use a few utilities out there, again, refer to Anandtech on some additional info on this. The process described here will 'reset' all the cells on your SSD to their original state - something a traditional format will not do.

    Provided your motherboard supports it, added performance gains can be had by using AHCI for your SSD, as demonstrated in the included screenshots below.

    As controllers on SSDs continue to improve, additional features to improve write performance will only get better. With write caches, enhanced controllers and continued support in Windows 7, the days of conventional HDD's are numbered. Ensuring your SSD has the latest BIOS will ensure you're getting the most out of your drive.

    Update - June 11, 2010

    Originally, I pointed out that TRIM support on the controller was 'on the horizon'. Well, it's been a longer horizon than I would have expected, but it looks like it's finally here. Or is it?

    Until now, if you ran a RAID, you give up TRIM support for performance. Sources now say the latest Intel RAID software update lifts that limitation, but it ain't so.

    Here's what Intel said before the update hit the web last Friday:
    The latest: Intel® RST 9.6 will be released this week which includes TRIM support for SSDs. It will support TRIM with SSDs in an AHCI configuration, or with the RAID controller enabled and the SSD is used as a pass through device. An example of this use case is for users that want to use the SSD as a boot drive but still be able to RAID multiple HDDs together to allow for large protect data storage – a great use for the home theater PC. TRIM support for SSDs in a RAID configuration is under investigation and is not included in Intel® RST 9.6.
    Translation: if your Intel storage controller is set to RAID mode, you'll now be able to benefit from your solid-state drive's TRIM functionality when running it alongside a RAID array comprised of mechanical drives. TRIM isn't supported for SSDs participating in a RAID array, however. Intel may add that feature in the future, but it hasn't committed to doing so.

    1) There is currently no way to pass the TRIM instruction to a drive that is a member of a RAID array. Intel's latest RAID drivers allow you to TRIM non-member RAID disks, but not an SSD in a RAID array.
    2) Giving up TRIM support means that you need a fairly resilient SSD, one whose performance will not degrade tremendously over time. On the bright side, with the exception of the newer SandForce controllers, we've not seen a controller as resilient as Intel's.

    Until this catches on, I suspect more than a few people will brick their SSDs with a ROM upgrade. Still, prices on SSDs have dropped so radically that a pair of Kingston SSDNow 64GB SSDs won't set you back much at all.

    Captain Zero
    for SevenForums.com

    Sources:
    Early MS Presentation on SSD and its Possible Implementation in W7:
    http://209.85.173.132/search?q=cache...ient=firefox-a
    Original document: http://download.microsoft.com/downlo...T558_WH08.pptx

    HDDERACE 3.3:
    http://redirectingat.com/?id=267X417...DErase_3.3.zip

    MSDN Blog:
    Engineering Windows 7 : Support and Q&A for Solid-State Drives

    SanDISK Press Release (3rd Generation SSD):
    Sandisk Unleashes World's Fastest MLC SSD Family

    Anandtech SSD Anthology:
    AnandTech: The SSD Anthology: Understanding SSDs and New Drives from OCZ

    Windows 7 gets SSD Friendly:
    Windows 7 gets SSD-friendly

    Super Talent Announces Upgrades:
    HEXUS.net - News :: Super Talent launches fix for SSD performance degredation : Page - 1/1

    Thunk:
    Should Filesystems Be Optimized for SSD’s? | Thoughts by Ted

    SSD: Pros and Cons;
    How Windows 7 will -- and won't -- work better with SSDs
    Attached Thumbnails Attached Thumbnails SSD Support is Native to W7-x25-5.png   SSD Support is Native to W7-x25-6.png  
    Last edited by Captain Zero; 11 Jun 2010 at 12:33. Reason: Update - June 11, 2010
      My Computer


  2. Posts : 2,036
    Windows 7 Professional x64
       #2

    I have a question. If anyone knows if this is partially or entirely true...

    A friend has a Intel core I7 system with 12GB of RAM. Everything is high end in his system. He claims that the entire OS and all his apps cache into the RAM and it is FAST FAST FAST.

    He is claiming that the way everything is caching into the RAM.....he has no need for a SSD. Just a small regular HD for storage. I don't know everything he's running but it seems to make some sense. With that much RAM and running at those speeds...it's getting to the point where 16GB of DDR3 RAM will reduce or eliminate the need for the speed of an SSD.

    What do you think? I think it's pretty darn cool. Is this where we're going?

    BTW very good read Captain Zero!
      My Computer


  3. Posts : 212
    Win7 64 bits FR
       #3

    That may be true for now, but it won't when we will have 1TB SSD for 100$.

    For the TRIM thing, please all remember that it will probably not work on RAID setup for now.
      My Computer


  4. Posts : 990
    Windows 7 Home Premium x64
    Thread Starter
       #4

    nate42nd said:
    ...

    A friend has a Intel core I7 system with 12GB of RAM. Everything is high end in his system. He claims that the entire OS and all his apps cache into the RAM and it is FAST FAST FAST.
    True. The system would be fast, by virtue of many factors. The addition of a SSD would make it exceptionally fast. During the course of regular use (boot, use it for a couple of hours) the majority of material the OS needs becomes resident in RAM. Games work this way, also. Load a game, close it. Load it again and drive activity is quite a bit lower provided you have sufficient RAM. The OS works the same way.

    nate42nd said:
    He is claiming that the way everything is caching into the RAM.....he has no need for a SSD. Just a small regular HD for storage. I don't know everything he's running but it seems to make some sense. With that much RAM and running at those speeds...it's getting to the point where 16GB of DDR3 RAM will reduce or eliminate the need for the speed of an SSD.
    Partially true. While it is theorhetically possible to cache vast portions of the OS into usable RAM, Windows and the architecture are not setup that way. Macs are and the old Motorola 68xxx series chips provided the functionality for a RAM Drive (Windows does to a limited degree), allocating portions of RAM to be used as a standard drive. In that scenario, you could 'mount' your OS into a RAM drive. Of course, the OS would require additional RAM for its operations making them impractical in the early days.

    Now, with vast quanities of RAM available, the OS will take advantage of this. But, it would require a considerable amount of fine-tuning to load the entire OS into RAM. It's not practical, either. SSD's are the next best thing.

    nate42nd said:
    What do you think? I think it's pretty darn cool. Is this where we're going?
    Yes. "Instant ON" computers have long been sought after, SSDs are the precursor to that technology, this is the tip of the iceberg.

    nate42nd said:
    BTW very good read Captain Zero!
    Thank you.
      My Computer


  5. Posts : 2,036
    Windows 7 Professional x64
       #5

    That's a good piont. SSDs are going to get better and bigger and cheaper.

    It's pretty neat what you can do with RAM and SSDs coming into our price range. It's going to have software developers writing code they never would nave thought to write before. It going to be a cool time in the next 5-10 years.
      My Computer


  6. Posts : 990
    Windows 7 Home Premium x64
    Thread Starter
       #6

    kensiko said:
    That may be true for now, but it won't when we will have 1TB SSD for 100$.

    For the TRIM thing, please all remember that it will probably not work on RAID setup for now.
    TRIM support on the RAID controllers themselves are on the horizon.
      My Computer


  7. Posts : 2,036
    Windows 7 Professional x64
       #7

    This is some of the best info on SSDs I can find. I understand Windows 7 will turn off defrag, superfetch, and prefetch on it's own. How is your SSD treating you Captain Zero? Still okay?

    I also understand there is a "secure erase" you should (or could) do from time to time to optimize performance. Have you heard of this or tried it?
      My Computer


  8. DJG
    Posts : 1,008
    Windows 7 RTM x64
       #8

    Thanks for the great info, Cap'n! Much appreciated. I have a Thinkpad tablet with G.Skill Titan and love it.
      My Computer


  9. Posts : 2,036
    Windows 7 Professional x64
       #9

    I have my Patriot Torqx 128GB SSD hooked up! I think I am going to like this thing. This is some of the best info i have found in one place. Thanks again.
      My Computer


  10. Posts : 5
    windows 7 rc
       #10

    Great Info... Recommended SSD drives with TRIM?


    Great information. I'm looking to buy a new larger SSD for my Dell Mini 9 to install Windows 7. Does anyone know of a good list of netbook SSD drives that support the TRIM command?
    Thanks
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:14.
Find Us