- Aug 25, 2001
- 56,570
- 10,202
- 126
I heard that Linux only enables TRIM on certain whitelisted drives, instead of any drive that reports that it is supported.
I heard that Linux only enables TRIM on certain whitelisted drives, instead of any drive that reports that it is supported.
grep discard /etc/fstab
/dev/sdaX / ext4 defaults,noatime,[U][B]discard [/B][/U]
sudo systemctl enable fstrim.timer && sudo systemctl start fstrim.timer
sudo hdparm -t /dev/sdx
What did you find?
run 1
Timing buffered disk reads: 1478 MB in 3.00 seconds = 492.20 MB/sec
run 2
Timing buffered disk reads: 1492 MB in 3.00 seconds = 497.04 MB/sec
run 3
Timing buffered disk reads: 1496 MB in 3.00 seconds = 498.66 MB/sec