SSD Tweaks for Ubuntu 12.04 – Dell SSD Optimization


Possible Duplicate:
How do I optimize the OS for SSDs?

I need to tweak my Dell XPS 13z SSD for maximum performance and life cycle than I read the solutions explained here, but it is for 11.10 and my fstab is different.

For now my fstab is looks like this:

    proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=abf5ce9e-bdb7-4b2f-a7bd-bbd9efa72a98 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda2 during installation
UUID=491427b2-7482-4483-b6eb-7c564b991aff /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
#UUID=7551000d-e708-4e0f-9fd2-9f93119f63fb none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0
tmpfs     /tmp         tmpfs      mode=1777

And my rc.local is looks like this:

echo noop > /sys/block/sda/queue/scheduler
echo deadline > /sys/block/sda/queue/scheduler
echo 1 > /sys/block/sda/queue/iosched/fifo_batch

exit 0

Do you have any suggestions, what should I do?


Best Answer

There are lots of tips out there for tweaking your SSD in Linux and lots of anecdotal reports on what works and what doesn’t. Below are things that can be done to improve performance.

  • Prominent Tweaks
  • Eschewing Access Times
  • Enabling TRIM
  • Tmpfs
  • Switching IO Schedulers

These are some things that you can try. For complete explanation on how to use the above mentioned steps, Have a look at How to Tweak Your SSD in Ubuntu for Better Performance and How to tweak and optimize SSD for Ubuntu, Linux Mint