Windows 7 Forums


Reply
Thread Tools

Win7 64bit and solid state hard drives

 
 
ronpeck ronpeck is offline
Established Member
Join Date: May 2009
Location: Australia Sunshine Coast
Posts: 103
Thanked: 5
 
      11-20-2009
Hi!..I am looking to build a new PC and will include a Corsair SSD.. need some information re TRIM support..Win7 I understand supports TRIM but do you need to install a program or is this already in Win7?
Thanks
ronpeck
 
Reply With Quote
 
 
 
 
clifford_cooley clifford_cooley is offline
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,509
Thanked: 931
 
      11-21-2009
Thrax wrote an article

Quote:
What is ATA TRIM?

An SSD’s total size is composed of thousands of smaller units called “blocks,” which average about 512k these days. SSDs deliberately try to spread written data across all of these blocks so as not to prematurely wear out the memory chips, which can only accept a limited number of writes. This technique is called wear leveling. Over time, wear leveling guarantees that every block on the SSD will become filled with a hodgepodge of active and deleted data. Once this happens, new writes force the drive to perform an intensive process called the read/erase/modify/write cycle.

An REMW cycle forces an SSD to scan its blocks for deleted files, copy active data to cache, purge the deleted files, append the new data to the data in cache, and then write the cache back to the new free space. This is called write amplification, and in serious cases, it can force an SSD to shuffle up to 20GB of data just to write 1GB of new information. This causes significant performance issues for SSDs.

The solution to this problem is to let SSDs physically erase files the moment they are deleted in the OS, and that is precisely what the TRIM command does. Windows 7 is the only Microsoft OS that supports it, and it must be used with a TRIM-compatible drive.
Read more here - http://icrontic.com/news/crucial-upd...s-for-ata-trim

My interpretation was that the SSD's does the trim function when performing the "REMW(read/erase/modify/write) cycle"
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      11-21-2009
When Windows deletes a file, it doesn't actually remove that file from the hard disk. Instead, it leaves the file on the drive and merely updates its index of files to say "this space is now free." That's no big deal for mechanical hard drives, but it's a huge deal for SSDs which depend on having free space for optimal performance.

SSDs use free space to shuffle data around to accept new data written by the user. But if the drive is junked up with files that have been deleted, but not removed by Windows, the physical storage on the drive gets filled up very quickly. If Windows can't move data around within the NAND cells, it has to make a messy sequence of reads and writes in system RAM that eventually get copied back to the SSD as a completed blob of data. This process of flushing the deleted files, working on the new data in RAM/cache, and writing it all back is very slow compared to what gets done when the drive has free space to work with.

Long story short: If the drive has TRIM, the drive's performance will stay consistent throughout its lifetime, rather than slowly degrading to terrible levels as the drive's memory fills with files you've deleted, but Windows hasn't.

Last edited by Thrax; 11-21-2009 at 01:47 AM..
 
Reply With Quote
 
ronpeck ronpeck is offline
Established Member
Join Date: May 2009
Location: Australia Sunshine Coast
Posts: 103
Thanked: 5
 
      11-21-2009
Thanks all.. I had a handle on most of that but was unsure how Win7 and the drive went about using the TRIM..Auto or via a seperate program but you are saying that the SSD has the ablity to do this on it's own volition.? (Clifford ..re TRIM support SSD's you can add Corsair X128 & X256)
 
Reply With Quote
 
Veedaz Veedaz is offline
~
Veedaz's Avatar
Join Date: Sep 2009
Location: England
Posts: 1,988
Thanked: 330
 
      11-21-2009
Just to but in

Windows 7 by default sets DisableDeleteNotify = 0, meaning it is always sending the TRIM command to the storage stack, but not all SSDs are TRIM enabled.
 
Reply With Quote
 
clifford_cooley clifford_cooley is offline
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,509
Thanked: 931
 
      11-21-2009
Quote:
Originally Posted by Veedaz View Post
Windows 7 by default sets DisableDeleteNotify = 0, meaning it is always sending the TRIM command to the storage stack, but not all SSDs are TRIM enabled.
If this is true then Trim is controlled by Windows 7
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      11-21-2009
The TRIM command is part of the ATA spec. The ATA spec defines how hard drives connect to the machine, how they communicate to the system and the OS, etc. So, Windows 7 controls the TRIM feature, but the SSD has to be able to understand the command it's receiving, which is why drives need to be upgraded with TRIM support.

Note that some drives can never be updated for TRIM because they simply don't have the right cotnroller tech.
 
Reply With Quote
 
ronpeck ronpeck is offline
Established Member
Join Date: May 2009
Location: Australia Sunshine Coast
Posts: 103
Thanked: 5
 
      11-22-2009
Hi! Thanks all for your replys..lots of information..a bit more to you all ..Yeh only some are TRIM compliant so far but more are comming on line all the time..Australian Mag. APC Dec. gives a benchmarks on some SSD's (128g) best under their test was Intel 128g but not then with TRIM...saw an article since where Intel have issued a firmware upgrade to give TRIM support but then they have withdrawn it because of troubles with Win7!!

Last edited by ronpeck; 11-22-2009 at 01:53 AM..
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      11-22-2009
The firmware issues with the Intel X25-M G2 drives were fixed 2 weeks ago. There was an issue with the flashing tool they provided to perform the update.
 
Reply With Quote
 
catilley1092 catilley1092 is offline
Win 7/Linux Mint Lover
catilley1092's Avatar
Join Date: Nov 2009
Location: North Carolina, USA
Posts: 3,507
Thanked: 511
 
      11-22-2009
You mean that when you delete a file or program, it's not really deleted? I don't get this, because I use CCleaner to delete files (including temp internet files) every day. I overwrite the info 35 times (the Guttman method). There must be something that I'm missing here.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 11:21 AM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33