readahead_early

Ted Bolver kellen3t3 at yahoo.com
Wed Jan 19 00:07:11 UTC 2005


--- Nifty Hat Mitch <mitch48 at sbcglobal.net> wrote:

> On Tue, Jan 18, 2005 at 02:51:28PM -0800, Ted Bolver
> wrote:
> 
> > readahead
> > readahead_early
> ....
> 
> > Is there a distinction between them;
> 
> Yes.  see the list of files that are read.
> 
> > Do you need them *both* checkboxed;
> 
> You do not need either.
> 
> The readahead process preloads the buffer cache with
> files that might
> be paged in one 'page demand triggered' read at a
> time.  This can 
> speed things up of boxes with enough DRAM.
> 
> BIG Programs like OO that are started with a wraper
> script could 
> use this trick to advantage in some cases.
> 
> > Incidentally they've both got exactly the same
> service
> > descriptions ie:
> > 
> > ""This service causes the programs used during
> startup
> > to be loaded into memory before they are needed,
> thus
> > improving startup performance""
> 
> 
> /etc/init.d/readahead:    /usr/sbin/readahead `cat
> /etc/readahead.files` &
> /etc/init.d/readahead_early:    /usr/sbin/readahead
> `cat /etc/readahead.early.files` &
> 
> So the difference is /etc/readahead.files and
> /etc/readahead.early.files.

Thanks for that man - I'll look into it further.

--Ted


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail




More information about the fedora-list mailing list