Boot speedup with readahead

Seth Vidal skvidal at fedoraproject.org
Mon Sep 8 15:12:30 UTC 2008


On Mon, 2008-09-08 at 18:07 +0300, Panu Matilainen wrote:
> On Mon, 8 Sep 2008, Harald Hoyer wrote:
> 
> > Eric Sandeen schrieb:
> >> Harald Hoyer wrote:
> >>> Eric Sandeen schrieb:
> >> 
> >>>> So when / how often does readahead-collector run now?
> >>>> 
> >>>> Thanks,
> >>>> -Eric
> >>> Every month.
> >>> 
> >>> /etc/cron.monthly/readahead-monthly.cron
> >> 
> >> It'd be interesting to do a daily yum update / reboot and see how the
> >> boot times look, graphed for a couple months.
> >> 
> >> Will things degrade until the next collection run?  I wonder if some
> >> inotify magic might be interesting; if more than X% of the
> >> previously-collected files have changed, then kick the collector on again?
> >> 
> >> -Eric
> >> 
> >
> > hehe, yes, but how would you implement that? :) I don't think this is doable 
> > :)
> 
> A yum-readahead plugin could look at the readahead list after an upgrade 
> and calculate if refreshing is needed.
> 
> /me ducks and hides

it'd be like 10 lines long.

-sv





More information about the devel mailing list