After checking test blog posts from different authors, I know EXT4 is the fastest for 3y already in 2011. However, there are also other settings that make an SSD faster which I found in: http://www.howtogeek.com/62761/how-to-tweak-your-ssd-in-ubuntu-for-better-performance/
sudo gedit /etc/fstab
- Add to
/partitionnoatime,nodiratime - If kernel is >2.6.33, also add discard
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
And https://wiki.ubuntu.com/MagicFab/SSDchecklist
sudo gedit /etc/fstab
Add to
/partitionnoatime, and that's itAnd the
data=writebackmounting option _if you formatted the disk without journaling. Otherwise add data=ordered which s[h]ould be a good compromise between full journaling and none at all.tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0
Why only noatime?
How can I know if the disk is without journaling from installation?
What's faster? No Journaling or opposite? And diff no journaling data=writeback or journaled data=ordered?
Why tmpfs /tmp differs in both articles, how do they differ, and which is better and why?
All of this is about SSD, but can I use the same settings in HDD? I want to find an answer for HDD and SSD as I've made one-time scripts for setting it up in my https://wiki.ubuntu.com/Kangarooo/AfterCleanInstallation.
relatimeis the best compromise however I was limiting my analysis to the facts presented. A lot of these tweaks really don't matter unless you have server workloads. I'm talking about performance, not wear leveling. The most important thing this user can do is enablediscardsupport. I've owned an SSD for 1.5 years now and have never tweaked it, works great, manages its own discards. – ppetraki Nov 22 '11 at 13:11nodevbe stupid? It does not make the system aware that the filesystem is a device, but prevents device files from being treated as devices. You can test the different usingsudo mknod -m666 test c 1 3(which creates a filetestthat acts as a writable null device, i.e./dev/null). On a filesystem mountednodev,echo > testandcat testfails, regardless if you run it as root or not. – Lekensteyn Nov 22 '11 at 13:47