Re:Investigation: Is Your SSD More Reliable Than A Hard Drive?
by nordsieck on Monday September 19, 2011 @11:46AM
(#3013974)
Once upon a time, it was best practice to keep the swap file/partition (or log files, etc.) off of the SSD in order to keep the frequent writes from wearing out the SSD too quickly. Do you feel like this is outdated advice?
[ Parent
| on HN ]
Re:Investigation: Is Your SSD More Reliable Than A Hard Drive?
by lloeki on Monday September 19, 2011 @01:11PM
(#3014330)
Certainly putting the swap not as a partition but as a file on the filesystem will help with TRIM and maybe even wear leveling.
Re:Investigation: Is Your SSD More Reliable Than A Hard Drive?
by caf on Tuesday September 20, 2011 @02:01AM
(#3016475)
It won't make a difference - in both cases, the swap code accesses the underlying block device directly, and is responsible for TRIM. (The swap code does issue TRIMs though, since kernel 2.6.29).