From: Willy Tarreau <willy@w.ods.org>
To: Bernd Eckenfels <be-news06@lina.inka.de>
Cc: linux-kernel@vger.kernel.org, gcoady@gmail.com
Subject: Re: Why is 2.4.32 four times faster than 2.6.14.6??
Date: Sun, 8 Jan 2006 11:54:01 +0100 [thread overview]
Message-ID: <20060108105401.GI7142@w.ods.org> (raw)
In-Reply-To: <E1EvXi5-0000kv-00@calista.inka.de>
On Sun, Jan 08, 2006 at 11:23:37AM +0100, Bernd Eckenfels wrote:
> Willy Tarreau <willy@w.ods.org> wrote:
> > It's rather strange that 2.6 *eats* CPU apparently doing nothing !
>
> it eats it in high interrupt load.
*high* ? he never goes far beyond 1000/s !
> And it is caused by the pty-ssh-tcp output,
quite possibly, but I'd rather think it's more precisely related
to the ping-pong in the scheduler between grep, cut and ssh. I
had the same symptom with 'ls' in xterm with lots of files. It
took tens of seconds to list 2000 files while 'ls |cat' gave
the same result instantly.
I also have another example (2.6.15-rc5, dual athlon, logged in
via SSH) :
willy@pcw:willy$ time ls -l
real 0m0.150s
user 0m0.016s
sys 0m0.024s
Now if I start 4 processes in background :
willy@pcw:willy$ time ls -l
real 0m4.432s
user 0m0.028s
sys 0m0.008s
With 8 processes in background :
willy@pcw:willy$ time ls -l
real 0m49.817s
user 0m0.020s
sys 0m0.008s
willy@pcw:willy$ time ls -l | wc -l
1259
real 0m18.917s
user 0m0.016s
sys 0m0.012s
I think my case with 4 processes on a dual CPU ressembles Grant's case
with 2 processes on single CPU. The background processes are only ones
which eat CPU half of their time, which might sometimes match an I/O
bound process such as grep from a disk.
> so most likely those are eepro100 interrupts.
I don't think so.
> Gruss
> Bernd
Regards,
Willy
PS: please don't remove people in CC:
next prev parent reply other threads:[~2006-01-08 10:54 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-08 6:16 Why is 2.4.32 four times faster than 2.6.14.6?? Grant Coady
2006-01-08 6:58 ` Markus Rechberger
2006-01-08 7:18 ` Bernd Eckenfels
2006-01-08 7:42 ` Grant Coady
2006-01-08 8:00 ` Bernd Eckenfels
2006-01-08 8:11 ` Con Kolivas
2006-01-08 9:12 ` Bernd Eckenfels
2006-01-08 12:04 ` Jan Engelhardt
2006-01-08 19:20 ` Grant Coady
2006-02-22 19:27 ` Enrico Weigelt
2006-02-22 23:17 ` Adrian Bunk
2006-01-08 7:28 ` Grant Coady
2006-01-08 9:57 ` Willy Tarreau
2006-01-08 10:23 ` Bernd Eckenfels
2006-01-08 10:54 ` Willy Tarreau [this message]
2006-01-08 11:09 ` Bernd Eckenfels
2006-01-08 11:16 ` Willy Tarreau
2006-01-08 11:18 ` Grant Coady
2006-01-09 2:37 ` Jesse Brandeburg
2006-01-09 2:46 ` Lee Revell
2006-01-09 2:59 ` Grant Coady
2006-01-09 6:56 ` Grant Coady
2006-01-08 11:05 ` Grant Coady
2006-01-08 18:21 ` Octavio Alvarez Piza
2006-01-08 19:27 ` Grant Coady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060108105401.GI7142@w.ods.org \
--to=willy@w.ods.org \
--cc=be-news06@lina.inka.de \
--cc=gcoady@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).