On Thu, 2008-05-15 at 18:09 +0200, Julian Andres Klode wrote:

> Am Donnerstag, den 15.05.2008, 17:14 +0200 schrieb Alberto:
> > Since version 1:0.20050517.0220-0ubuntu4, readahead runs in the
> > foreground, not the background, in order to avoid i/o concurrency
> > (which is slow).
> 
Not true.  It runs in the foreground because the entire point of using
readahead is to perform boot I/O in one optimal pass.

Running it in the background would mean you were seeking the disk all
over the shop, and attempting to readahead pages that were already read
by an application running in parallel.

While you do see a slight performance improvement when in the
background, you always see an improvement in the foreground.

Likewise ioniceing readahead is basically moronic.

Scott
-- 
Scott James Remnant
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to