Gavin W. Burris on 20 Oct 2011 05:56:07 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] SSD & HDD Partition Plan Suggestions |
Some other things to try with an SSD. I put these in the /etc/rc.local file. echo noop > /sys/block/sda/queue/scheduler echo 0 > /proc/sys/vm/swappiness echo 50 > /proc/sys/vm/vfs_cache_pressure echo 1500 > /proc/sys/vm/dirty_writeback_centisecs echo 20 > /proc/sys/vm/dirty_ratio echo 10 > /proc/sys/vm/dirty_background_ratio On 10/20/2011 08:30 AM, Gavin W. Burris wrote: > Hi Casey, > > My main computer is a netbook with a Corsair SSD, hooked to an external > LCD when at a desk. I would suggest putting your home directory on the > SSD, also. If you have enough memory, most of the OS will be cached in > memory anyway, but your home directory files will be constantly read and > re-written for your interactive applicatons. > > There are tricks to mounting various temp and cache directories into > RAM, too, like so, in /etc/fstab: > tmpfs /tmp tmpfs defaults,size=256M 0 0 > tmpfs /var/tmp tmpfs defaults,size=64M 0 0 > tmpfs /var/log tmpfs defaults,size=32M 0 0 > firefox /home/bug/.mozilla/firefox/ctso8j3d.default/Cache tmpfs > defaults,size=32M,uid=500,gid=500,exec 0 0 > > > Cheers. > > On 10/20/2011 06:27 AM, Casey Bralla wrote: >> I'm planning on upgrading my desktop system to add an SSD and am looking for >> suggestions from this august group to maximize system speed. >> >> My current plan is to: >> >> - Buy a ~60 GByte drive (seems to be the price/capacity sweet spot) >> - Partition the SSD for / & /boot >> - Partition the HDD for /home, /var, /tmp >> - NFS for my /docs, /music, & other data files >> >> Does this sound reasonable? Anything else that should be forced to either the >> SSD or the HDD? >> >> >> BTW, Since the SSD is only 60 GBytes, I expect it to become obsolete long >> before it wears out, so I'm not so concerned about limiting the number of >> writes to the SSD. Therefore, I'm planning on continuing to use a journaled >> file system on it. > -- Gavin W. Burris Senior Systems Programmer Information Security and Unix Systems School of Arts and Sciences University of Pennsylvania ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug