Thread: pls. help an SSD newbie on 10.04
have installed 40gb intel 320 ssd on +2 year old samsung nc10 netbook (atom 270, 2gb ram) in hopes of reviving it...fairly pleased improvement far on previous western digital black 500gb 7200rpm drive, have feeling there lots of tips , tricks missing maximize performance.
there particular adjustments or optimizations should make let ubuntu os know i'm running ssd better adapt technology? in windows 7 there's called trim, turning off indexing, etc. supposed essential optimal performance extending life of drive. ubuntu equivalents?
help!
ps. please don't suggest upgrading ubuntu 11.04/10, tried months ago old hdd , horrible. tried lubuntu on old hdd , seemed buggy, think sticking 10.04lts time being...
these ssd tweaks gleaned eeeuser.com forum. forum no longer exists.
four tweaks using linux solid state drives
published in september 4th, 2008
posted tom in tips
ssds (solid state drives) great. they’re shock resistant, consume less power, produce less heat, , have fast seek times. if have computer ssd, such eee pc, there tweaks can make increase performance , extend life of disk.
1. simplest tweak mount volumes using noatime option.
default linux write last accessed time attribute files.
can reduce life of ssd causing lot of writes.
noatime mount option turns off.
open fstab file:
gksudo gedit /etc/fstab
ubuntu uses relatime option default. ssd partitions
replace relatime noatime in fstab. reboot changes take effect.
-------------------------------------------------------------------
2. using ramdisk instead of ssd store temporary files speed things up,
cost few megabytes of ram.
open fstab file:
gksudo gedit /etc/fstab
add line fstab mount /tmp (temporary files) tmpfs (temporary file system):
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
reboot changes take effect. running df, should see new line /tmp mounted on tmpfs:
tmpfs 513472 30320 483152 6% /tmp
--------------------------------------------------------------------------------------------------------
3. firefox puts cache in home partition.
moving cache in ram can speed firefox , reduce disk writes.
complete previous tweak mount /tmp in ram, , can put cache there well.
open about:config in firefox. right click in open area , create new string value
called browser.cache.disk.parent_directory. set value /tmp/$user/firefox-tmp.
------------------------------------------------------------------
4. turn off journaling in ext4
first thing's first, can confirm our ext4 partition running journal with
sudo dumpe2fs /dev/sdax | grep has_journal
disabling journaling rather easy, drag make structural changes filesystem,
filesystem cannot mounted read/write privileges. so, run live cd , hit
sudo tune2fs -o ^has_journal /dev/sdax
, it's done. when boot, change noted , disk checked errors.
when system can run again confirm in fact ext4 running without journal
sudo dumpe2fs /dev/sdax | grep has_journal
should return nothing.
quick fix, no more constant io peaks. can watch youtube videos without constant freezes.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] pls. help an SSD newbie on 10.04
Ubuntu
Comments
Post a Comment