SSD optimizations
From Wildsong
See http://tombuntu.com/index.php/2008/09/04/four-tweaks-for-using-linux-with-solid-state-drives/
/boot, /home, /swap on raptor /dev/sda / on RevoDrive /dev/md0 (/dev/sdc, /dev/sdd)
1 put noatime option in /etc/fstab
2 disable the elevator scheduler, put these in /etc/rc.local
echo noop > /sys/block/sdc/queue/scheduler echo noop > /sys/block/sdd/queue/scheduler
3 manage write caching via /etc/hdparm.conf
# Raptor drive /dev/sda { write_cache = on } # Caviar drive /dev/sdb { write_cache = on } # SSD RevoDrive /dev/sdc { write_cache = off } /dev/sdd { write_cache = off }
Test results, wow, the new Black drive is faster than the Velociraptor. The SSD is FAST and the Green is slow. No surprises there. Tested with hdparm -t command.
# RevoDrive /dev/md0: Timing buffered disk reads: 1028 MB in 3.01 seconds = 341.87 MB/sec root@raven:/etc# hdparm -t /dev/sda # Velociraptor /dev/sda: Timing buffered disk reads: 358 MB in 3.01 seconds = 118.84 MB/sec root@raven:/etc# hdparm -t /dev/sdb # Caviar Green /dev/sdb: Timing buffered disk reads: 198 MB in 3.00 seconds = 65.97 MB/sec
# Caviar Black /dev/sda: Timing buffered disk reads: 442 MB in 3.01 seconds = 146.99 MB/sec