lkml.org 
[lkml]   [2006]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Why is 2.4.32 four times faster than 2.6.14.6??
Date
On Sun, 8 Jan 2006 10:21:01 -0800, Octavio Alvarez Piza <alvarezp@alvarezp.ods.org> wrote:

>On Sun, 08 Jan 2006 22:05:43 +1100
>Grant Coady <gcoady@gmail.com> wrote:
>
>> On Sun, 8 Jan 2006 10:57:41 +0100, Willy Tarreau <willy@w.ods.org> 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.

I do notice occasional pauses (just a slight jerkiness) in output
from log file, perhaps when it is appended to. As I wrote earlier,
this one liner is something I do fairly often to see what is hitting
the web server, the 'cut -c -96' is because I run 96 character
wide ssh terminals.

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

\
 
 \ /
  Last update: 2006-01-08 20:30    [W:0.050 / U:13.748 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site