[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Speed up the boot by loading the kernel disk cache



Today a new package to speed up the boot is available in unstable.
The readahead binary package can speed up the boot quite significantly
by optimizing how the hard drive is used.  It make sure the kernel
disk cache is populated as the very first thing done at boot with the
files used during boot.  To test it, install readahead, boot once with
'profile' as a kernel option to tune it to your boot, and then boot
normally.

It should not be used with preload (or at least, the profiling should
never be done when preload is enabled), as it will make readahead
believe that all the files loaded by preload are used during boot, and
thus waste time and kernel disk cache on files only needed after the
boot.

I welcome benchmarks on the initscripts-ng-devel mailing list,
<URL:http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel>.

Happy hacking,
-- 
Petter Reinholdtsen


Reply to: