Linux Archive

Linux Archive (
-   Debian Development (
-   -   Speed up the boot by loading the kernel disk cache (

Petter Reinholdtsen 01-14-2008 08:50 AM

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

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

I welcome benchmarks on the initscripts-ng-devel mailing list,

Happy hacking,
Petter Reinholdtsen

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

All times are GMT. The time now is 06:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.