Important, I don't need the disk space. My motivation is purely extending the life of the SSD memory.
System specs:
16GB of physical RAM
Partitions and storage devices:
Ruing cat /proc/mounts, relatime is enabled on all mounted media
Ruing cat /proc/sys/vm/swappiness, I get the value of 10
Ruing cat /proc/swaps
Code:
Filename Type Size Used Priority /dev/sda3 partition 16607228 0 -1
Questions
1/ It has been suggested that for a system with my specs, I would be better off replacing the 16 GB swap partition with a 512 MB swap file, (see here.)
2/ If I replace the swap partition with a swap file, should I reduce the swappiness value, and, if so, what should this new value be?
3/ This article suggest that you should leave about 7% of the available space, (max10 GB,) for overprovisioning.
4/ I currently do not have a server or database application ruing, but, in the near future,I will most likely be installing Apache/MySQL on localhost to run MediaWiki, PHP and other interesting goodies. Is relatime the best option for my situation, or would I be better off editing fstab to enable noatime?
5/ Checking cron.weekly, TRIM is set TRUE for all mounted media. On the other hand, the above mentioned article suggests that I would be better off adding fstrim to rc.local so that it is run at each boot. Does anybody have any views on this?
6/ Given the above, what is the best way to ensure the exteal FAT32 SSD is present, mounted and TRIMed.
7/ Of academic interest: Would I have better off using the F2FS format for my primary partition?
I am looking forward to hearing peoples opinions on the above. So thanks in advance
Irvine
- - , .
برچسب:
نویسنده: استخدام کار