D
Deleted member 6693
Guest
Does TRIM on SSD/NVMe hurt life of drive?
Processor | i5-6600K |
---|---|
Motherboard | Asus Z170A |
Cooling | some cheap Cooler Master Hyper 103 or similar |
Memory | 16GB DDR4-2400 |
Video Card(s) | IGP |
Storage | Samsung 850 EVO 250GB |
Display(s) | 2x Oldell 24" 1920x1200 |
Case | Bitfenix Nova white windowless non-mesh |
Audio Device(s) | E-mu 1212m PCI |
Power Supply | Seasonic G-360 |
Mouse | Logitech Marble trackball, never had a mouse |
Keyboard | Key Tronic KT2000, no Win key because 1994 |
Software | Oldwin |
System Name | Prometheus |
---|---|
Processor | AMD Ryzen 7 9800X3D |
Motherboard | ASUS ROG Crosshair X870E Extreme Gaming Wifi |
Cooling | AIO Cooler Master MasterLiquid 360 |
Memory | 32GB DDR5 6000Mhz CL30 |
Video Card(s) | Gigabyte GeForce RTX 3060 OC Edition 12GB |
Storage | Samsung 970PRO 2TB, Samsung 990PRO 4TB, WD SN850X 2TB, Samsung 980PRO 2TB. WD GOLD HDD 8TB |
Display(s) | Corsair XENEON 32UHD144 32" 4K UHD gaming monitor |
Case | Cooler Master HAF |
Audio Device(s) | Creative Sound Blaster AE7 + Logitech Z-5500 500W 5.1. |
Power Supply | Corsair AX850 Titanium, RM850X (2024) |
Mouse | Logitech MX Master 3 |
Keyboard | Corsair K95 RGB Platinum Cherry MX |
Software | W10-11 Enterprise- Linux Mint 22.1 Cinnamon Edition. |
System Name | Prometheus |
---|---|
Processor | AMD Ryzen 7 9800X3D |
Motherboard | ASUS ROG Crosshair X870E Extreme Gaming Wifi |
Cooling | AIO Cooler Master MasterLiquid 360 |
Memory | 32GB DDR5 6000Mhz CL30 |
Video Card(s) | Gigabyte GeForce RTX 3060 OC Edition 12GB |
Storage | Samsung 970PRO 2TB, Samsung 990PRO 4TB, WD SN850X 2TB, Samsung 980PRO 2TB. WD GOLD HDD 8TB |
Display(s) | Corsair XENEON 32UHD144 32" 4K UHD gaming monitor |
Case | Cooler Master HAF |
Audio Device(s) | Creative Sound Blaster AE7 + Logitech Z-5500 500W 5.1. |
Power Supply | Corsair AX850 Titanium, RM850X (2024) |
Mouse | Logitech MX Master 3 |
Keyboard | Corsair K95 RGB Platinum Cherry MX |
Software | W10-11 Enterprise- Linux Mint 22.1 Cinnamon Edition. |
Most RAID (Redundant Array of Independent Disks) setups do not support Trim, that's right.
But they are working on that, to change this.
System Name | Prometheus |
---|---|
Processor | AMD Ryzen 7 9800X3D |
Motherboard | ASUS ROG Crosshair X870E Extreme Gaming Wifi |
Cooling | AIO Cooler Master MasterLiquid 360 |
Memory | 32GB DDR5 6000Mhz CL30 |
Video Card(s) | Gigabyte GeForce RTX 3060 OC Edition 12GB |
Storage | Samsung 970PRO 2TB, Samsung 990PRO 4TB, WD SN850X 2TB, Samsung 980PRO 2TB. WD GOLD HDD 8TB |
Display(s) | Corsair XENEON 32UHD144 32" 4K UHD gaming monitor |
Case | Cooler Master HAF |
Audio Device(s) | Creative Sound Blaster AE7 + Logitech Z-5500 500W 5.1. |
Power Supply | Corsair AX850 Titanium, RM850X (2024) |
Mouse | Logitech MX Master 3 |
Keyboard | Corsair K95 RGB Platinum Cherry MX |
Software | W10-11 Enterprise- Linux Mint 22.1 Cinnamon Edition. |
Processor | i5-6600K |
---|---|
Motherboard | Asus Z170A |
Cooling | some cheap Cooler Master Hyper 103 or similar |
Memory | 16GB DDR4-2400 |
Video Card(s) | IGP |
Storage | Samsung 850 EVO 250GB |
Display(s) | 2x Oldell 24" 1920x1200 |
Case | Bitfenix Nova white windowless non-mesh |
Audio Device(s) | E-mu 1212m PCI |
Power Supply | Seasonic G-360 |
Mouse | Logitech Marble trackball, never had a mouse |
Keyboard | Key Tronic KT2000, no Win key because 1994 |
Software | Oldwin |
System Name | Prometheus |
---|---|
Processor | AMD Ryzen 7 9800X3D |
Motherboard | ASUS ROG Crosshair X870E Extreme Gaming Wifi |
Cooling | AIO Cooler Master MasterLiquid 360 |
Memory | 32GB DDR5 6000Mhz CL30 |
Video Card(s) | Gigabyte GeForce RTX 3060 OC Edition 12GB |
Storage | Samsung 970PRO 2TB, Samsung 990PRO 4TB, WD SN850X 2TB, Samsung 980PRO 2TB. WD GOLD HDD 8TB |
Display(s) | Corsair XENEON 32UHD144 32" 4K UHD gaming monitor |
Case | Cooler Master HAF |
Audio Device(s) | Creative Sound Blaster AE7 + Logitech Z-5500 500W 5.1. |
Power Supply | Corsair AX850 Titanium, RM850X (2024) |
Mouse | Logitech MX Master 3 |
Keyboard | Corsair K95 RGB Platinum Cherry MX |
Software | W10-11 Enterprise- Linux Mint 22.1 Cinnamon Edition. |
System Name | Never trust a socket with less than 2000 pins |
---|
System Name | Prometheus |
---|---|
Processor | AMD Ryzen 7 9800X3D |
Motherboard | ASUS ROG Crosshair X870E Extreme Gaming Wifi |
Cooling | AIO Cooler Master MasterLiquid 360 |
Memory | 32GB DDR5 6000Mhz CL30 |
Video Card(s) | Gigabyte GeForce RTX 3060 OC Edition 12GB |
Storage | Samsung 970PRO 2TB, Samsung 990PRO 4TB, WD SN850X 2TB, Samsung 980PRO 2TB. WD GOLD HDD 8TB |
Display(s) | Corsair XENEON 32UHD144 32" 4K UHD gaming monitor |
Case | Cooler Master HAF |
Audio Device(s) | Creative Sound Blaster AE7 + Logitech Z-5500 500W 5.1. |
Power Supply | Corsair AX850 Titanium, RM850X (2024) |
Mouse | Logitech MX Master 3 |
Keyboard | Corsair K95 RGB Platinum Cherry MX |
Software | W10-11 Enterprise- Linux Mint 22.1 Cinnamon Edition. |
Processor | i5-6600K |
---|---|
Motherboard | Asus Z170A |
Cooling | some cheap Cooler Master Hyper 103 or similar |
Memory | 16GB DDR4-2400 |
Video Card(s) | IGP |
Storage | Samsung 850 EVO 250GB |
Display(s) | 2x Oldell 24" 1920x1200 |
Case | Bitfenix Nova white windowless non-mesh |
Audio Device(s) | E-mu 1212m PCI |
Power Supply | Seasonic G-360 |
Mouse | Logitech Marble trackball, never had a mouse |
Keyboard | Key Tronic KT2000, no Win key because 1994 |
Software | Oldwin |
In some cases, trim can not work, even in theory. It can't work on parity data, which is either distributed over all disks (RAID 5) or stored on a dedicated disk (RAID 4). Of couse SSDs still work without trim, and SSDs like the WD Red SA500 or SN700 are better optimised for that situation, they have more overprovisioned space, I guess.If the raid system supports it, it should work i guess. But i did not tested that yet, so it's just guessing.
The only thing i know is that TRIM isn't a requirement for using RAID 5 with SSD. The storage controller is going to rewrite old block's, clearing cells out over time, in a manner that's agnostic to the storage technology. That's what my co-worker told me.
For parity you want an SSD with good performance and high endurance, since parity can never be trimmed, even when LT adds trim support for the array, also it will have to endure much more writes than the array devices, I would recommend a good NVMe device or an enterprise level SSD.
But that's mentioned only in the RAID 1 section, not in the RAID 4 and 5 section.Unlike many RAID systems, SoftRAID supports TRIM commands on all SoftRAID volumes.
Well, "Some". That's interesting.Some SSD models do not support SSD TRIM for storage pools configured in RAID 5 and RAID 6. To find out if this applies to your SSD models, look them up on the Synology Products Compatibility List and check the Notes section for unsupported features.
SSD Trim is only performed on solid state drives that belong to a RAID 0, RAID 1, or RAID 10 group.
System Name | Unobtainium |
---|---|
Processor | 3600X |
Motherboard | Gigabyte X570S Aorus Elite AX |
Cooling | DH15 Chromax Black |
Memory | 32GB Ripjaws 3200MHz |
Video Card(s) | EVGA 3080 Ti FTW Ultra w/ Alphacool Eiswolf |
Storage | 500GB SN750 | 3.84TB Micron 7450| 4TB SP XS70 |
Display(s) | Asus 144Hz display + LG Ultrafine 4k |
Case | Evolv X |
Audio Device(s) | Schiit Hel + AKG Q701s |
Power Supply | Seasonic FOCUS PX-750 |
Mouse | Logitech G502 Hero |
Keyboard | Filco Majestouch II |
Software | Windows 11 |
Oh and please tell people to not backup their stuff. I still need a job XD Peoples' mistakes turn into my cake. (sees your sig)I know many people still use RAID, also in NAS systems, but sooner or later i think it will be all ZFS.
Both are different technologies that have their own advantages and disadvantages. RAID and ZFS are not mutually exclusive, as ZFS can use RAID levels within its pool of disks.
I also know that ZFS does not work good with hardware raid controller. it's interfere with its direct access to the disks. And raid is just more widely supported at the moment.
You also need a faster cpu and more ram with ZFS, because it is doing more operations with the data, and not all people are waiting on that to change all the hardware again, with is costly.
System Name | Main PC |
---|---|
Processor | 13700k |
Motherboard | Asrock Z690 Steel Legend D4 - Bios 13.02 |
Cooling | Noctua NH-D15S |
Memory | 32 Gig 3200CL14 |
Video Card(s) | 4080 RTX SUPER FE 16G |
Storage | 1TB 980 PRO, 2TB SN850X, 2TB DC P4600, 1TB 860 EVO, 2x 3TB WD Red, 2x 4TB WD Red |
Display(s) | LG 27GL850 |
Case | Fractal Define R4 |
Audio Device(s) | Soundblaster AE-9 |
Power Supply | Antec HCG 750 Gold |
Software | Windows 10 21H2 LTSC |
Processor | i5-6600K |
---|---|
Motherboard | Asus Z170A |
Cooling | some cheap Cooler Master Hyper 103 or similar |
Memory | 16GB DDR4-2400 |
Video Card(s) | IGP |
Storage | Samsung 850 EVO 250GB |
Display(s) | 2x Oldell 24" 1920x1200 |
Case | Bitfenix Nova white windowless non-mesh |
Audio Device(s) | E-mu 1212m PCI |
Power Supply | Seasonic G-360 |
Mouse | Logitech Marble trackball, never had a mouse |
Keyboard | Key Tronic KT2000, no Win key because 1994 |
Software | Oldwin |
That's a very good brief explanation, let me just add that more overprovisioned space should also result in lower write amplification because the controller never, or rarely, has to erase partially written blocks to make space for writing.Trim tells the drive ahead of time which blocks are no longer used, otherwise it only finds out when the file system tells it to overwrite those blocks.
So the effect is the drive can wipe ahead of time mitigating any performance impact of an erase during a write, and this should also allow it to have better wear levelling which if anything improves life of drive.
Scenario, drive was 100% full, has factory supplied 3% over provision, so 3% of capacity used for wear levelling (very small), you then wipe 20%, without trim, there is still only 3% available as drive doesnt know the data can be erased, with trim, it erases the 20%, and now has 23% available for wear levelling.
System Name | 10th gen i7 32GB DDR4 RTX20708GB 890pro1tb |
---|---|
Processor | i7-10750 |
One reason trim is important and what confuses many everywhere and in this thread is an SSD cannot rewrite to a written sector on the fly like a spinner does, i.e. if literally just 1 1 and 511 0's are in a sector that sector must be fully tosssed into cache to do anything with it (this is also why read-wear leveling becomes important), read, combine, delete, anything that modifies data it requires it be written to a different sector, CANNOT just change a 0 or 1 anywhere, once a sector is written the only thing that can change that sector is the TRIM command which wipes the entire sector and lets the controller know that sector is free for writing again. So you open a txt document that is illogically 512 bits, change a single letter and save, that 512bits txt file is written to a new sector and the controller or the OS will mark the old sector, "to be trimmed" and trim it as scheduled or immediately if you foolishly have no free sectors (you just burned part of your drive if it is in use and you filled it to capacity with 0 overprovisioning) ssds are rated in writes to sectors despite mtbf ratings, usually any current ssd can do 400-700 rewrites for any sector (there will always be a trim between rewrites) I ruined my first ssd cause I filled it up without any overprovisioning while also havinging page on it and that is simply stupid and is the best way to get ssd sector life into the seconds zone.That's a very good brief explanation, let me just add that more overprovisioned space should also result in lower write amplification because the controller never, or rarely, has to erase partially written blocks to make space for writing.