Saturday, September 19, 2009

Speed Debian boot time

Full and exellent article on Speeding Debian Boot (and more).

and here are the edited highlights..

Disclaimer: The standard: If you break it, then you broke it. So don't.


# aptitude install insserv
# echo 'CONCURRENCY=shell' >> /etc/default/rcS
# aptitude install readahead
# touch /etc/readahead/profile-once
reboot (first reboot takes time as it works stuff out) 
# aptitude install preload
in /etc/fstab change any
defaults,errors=remount-ro
to 
defaults,noatime,errors=remount-ro
and any 
defaults
to
defaults,noatime
should reboot to check all is well
# echo 'vm.swappiness=20' >> /etc/sysctl.conf
# echo 'vm.vfs_cache_pressure=50' >> /etc/sysctl.conf
reboot
 
Go and read the full article to see what all that means ;)

0 comments: