Overclock.net › Forums › Components › Hard Drives & Storage › why is TRIM an important factor when using an SSD?
New Posts  All Forums:Forum Nav:

why is TRIM an important factor when using an SSD? - Page 2

post #11 of 12
what trim does is when you delete something on the ssd, it will actually delete that file from the controller table and the cell that it was stored at, a non-trim enabled ssd will have the file only deleted at the controller table and NOT at the cell it was stored at (all this at the time of deletion for both trim and non trim drives). What this in turn does is cause the drive to delete then write the new information into the cell at the time of creating the file, causing the drive to slow down over time because it has to delete the cell before new information is placed in the cell, instead of at the time of deletion.
post #12 of 12
TRIM I believe is not supported in RAID yet? I could be wrong tho...

TRIM is important because it keeps the performance of your SSD up.

Now to explain it...
Basically when you delete something it is registered as not in use (still recoverable) and on a HDD this is fine because it then knows just to write over that part with new data. No biggy. BUT ON AN SSD... data is stored in what I believe is called pages (idk) which are of a certain size. And there are so many of these pages in a block. (lets say 8 pages in a block). An SSD can only erase by the block. The result is that everytime data is deleted it becomes ready to be replaced but is still in that page (and recoverable) but in order to overwrite that data it needs to delete it. So lets say you have 6 pages (of 8 in a block for example) being used and saved. And 2 of them are deleted and ready to be over written. Those 2 deleted cannot just be replaced, because SSDs erase in blocks. So the entire block will need to be copied to cache and then the block can be erased and the 6 used pages can be kept and 2 more pages to be added to that block can take the spot of the erased ones. Then everything is rewritten from the cache. This takes a significant amount of time compared to just writing it. So TRIM fixes this. And after data is TRIM'd the erased data is unrecoverable.

Hope this helped

here is a little image that I found online awhile back and it may help show why TRIM is needed and how it stops performance loss.
Hellbringer
(15 items)
 
Guardian
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7-6700K Skylake ASUS MAXIMUS VIII HERO SAPPHIRE 100311-2SR Radeon HD 6970 2GB GDDR5 G.SKILL Trident Z 16GB (2x8GB) DDR4 3200MHz 14-... 
Hard DriveHard DriveOptical DriveCooling
Samsung 950 Pro 512GB PCIe M.2 SSD WD Black 2TB 7200RPM SATAIII HDD ASUS Zen OpticalDrive USB G.Skill Turbulence II RAM Fan 
OSMonitorKeyboardPower
Microsoft Windows 10 Home Premium 64-bit Samsung BX2350 23" 1080p 2ms LED backlit S.T.R.I.K.E. 7 EVGA SuperNova G2 1000W Modular Power Supply 
CaseMouseAudio
Thermaltake Core P5 Open-Air Chassis Saitek Cyborg R.A.T. 7 The Infection Logitech Z5500 5.1 Surround 
  hide details  
Reply
Hellbringer
(15 items)
 
Guardian
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7-6700K Skylake ASUS MAXIMUS VIII HERO SAPPHIRE 100311-2SR Radeon HD 6970 2GB GDDR5 G.SKILL Trident Z 16GB (2x8GB) DDR4 3200MHz 14-... 
Hard DriveHard DriveOptical DriveCooling
Samsung 950 Pro 512GB PCIe M.2 SSD WD Black 2TB 7200RPM SATAIII HDD ASUS Zen OpticalDrive USB G.Skill Turbulence II RAM Fan 
OSMonitorKeyboardPower
Microsoft Windows 10 Home Premium 64-bit Samsung BX2350 23" 1080p 2ms LED backlit S.T.R.I.K.E. 7 EVGA SuperNova G2 1000W Modular Power Supply 
CaseMouseAudio
Thermaltake Core P5 Open-Air Chassis Saitek Cyborg R.A.T. 7 The Infection Logitech Z5500 5.1 Surround 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Hard Drives & Storage
Overclock.net › Forums › Components › Hard Drives & Storage › why is TRIM an important factor when using an SSD?