Using LM12 x64. Installed from scratch on a brand new SSD (Crucial M4, 128 GB). Laptop Acer Aspire One 722, AMD C60 & 4 GB RAM. I followed the advice on this LinuxMint forum post: (Help with SSD) BTW, this guide is really good, clearer and more complete than many I have found in various blogs. You shoulld consider to make it sticky.
However, it is still unclear as I have multiple partitions (/boot /home and /) on the same SSD. Here is how my fstab looks like:
Code: Select all
# / was on /dev/sda5 during installation UUID=014d5839-5ddf-4044-a958-f53c67319ee9 / ext4 errors=remount-ro,noatime,discard 0 1 # /boot was on /dev/sda1 during installation UUID=a9c19f60-7e2e-4bea-824a-af117f874380 /boot ext2 defaults 0 2 # /home was on /dev/sda6 during installation UUID=f34268f6-c618-4c48-b03f-eb47459ef1f3 /home ext4 defaults 0 2 # swap was on /dev/sda7 during installation UUID=98f8f40f-048c-4caf-8fcd-fbfe29f731ee none swap sw 0 0 #force temporary files to be stored in memory instead of on disk none /tmp tmpfs nodev,nosuid,mode=1777 0 0 none /var/tmp tmpfs nodev,nosuid,mode=1777 0 0
Question 2: can you please explain more about the lines regarding tmpfs? More exactly, what are the differences between:
none /tmp tmpfs nodev,nosuid,mode=1777 0 0
none /var/tmp tmpfs nodev,nosuid,mode=1777 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
(that I saw on various blogs)
Question 3: Linux Disc Scheduler, noop or deadline?
in /etc/default/grub, the guide above suggests to set
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=noop"
In this blog How to set up an SSD on Linux the author suggests
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline"
The author explained
I would prefer your opinion on this scheduler setting. Which setting is better?The noop is a simple first in first out queue. The deadline is a biased noop queue that allows an application to get some access to the disc even if another application has already requested it. The deadline is the best scheduler because it has more features than the noop and doesn’t worry about a rotating disc like cfq.
Thanks very much in advance for any advice.