2007/12/02

Slowly going faster

An old/slow gentoo box:

/etc/conf.d/rc:svcmount="yes"
sticks the service deps into a tmpfs

Filesystem Size Used Avail Use% Mounted on
svcdir 2.0M 188K 1.9M 10% /var/lib/init.d

Any speedup isn't noticable, but its one step closer to running root fs out of a pseudo-SSD
(pcmcia memory card adapter + old SD card). Going ro is painful from quick glance.

Anyway usage rises to 344k on a reasonably well configured box, so 2MB is fine.


tmpfs is a real gain for emerges with an fstab including:

shm /dev/shm tmpfs noatime,size=4G,nr_inodes=200k 0 0

and linking /var/tmp to /dev/shm - 4GB is comfortable for building openoffice.

No comments: