Re: Why is 2.4.32 four times faster than 2.6.14.6??

From: Octavio Alvarez Piza
Date: Sun Jan 08 2006 - 13:20:31 EST


On Sun, 08 Jan 2006 22:05:43 +1100
Grant Coady <gcoady@xxxxxxxxx> wrote:

> On Sun, 8 Jan 2006 10:57:41 +0100, Willy Tarreau <willy@xxxxxxxxx> wrote:
>
> > Could you please retest :
> > - without the pipe (remove '| cut ...') to avoid inter-process
> > communications
>
> I thought it made a difference, then delay back again, I'll try
> again tomorrow when I'm more awake.
>
> >You should be able to find one simple pattern which makes the problem
> >appear/disappear on 2.6. At least, 'cat x.log >/dev/null' should not
> >take time or that time should be spent in I/O.
>
> Yes, done that and the time went down by ~five seconds.

Just make sure you first read all the file with cat (I'd retry all from
the initial tests) so you don't add hd-read time to the first command.

Octavio.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/