On Wed, Mar 23, 2005 at 05:49:47PM +0100, Giuseppe Bilotta wrote: > > > What are the cons of using "all of" the RAM at boot time to > > > cache the boot disk? > > Dave Jones wrote: > > It's memory that's otherwise unused. Once you start using the system > > anything cached will get reclaimed as its needed. > > So there is no substantial loss? IOW, it would suffice to have > all the "loaded at boot" stuff in the first <amount of RAM> > bytes of the hard disk?
It very likely also needs to be contiguous on-disk (Ie, no in-file fragmentation). You want to limit the amount of seeking that gets done so the drive readahead just performs continuous reads. Dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/