From: Ben Greear <greearb@candelatech.com>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: root@chaos.analogic.com, Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: sched_yield() version 2.4.24
Date: Tue, 30 Mar 2004 09:52:12 -0800 [thread overview]
Message-ID: <4069B3CC.1040904@candelatech.com> (raw)
In-Reply-To: <4069AED1.4020102@nortelnetworks.com>
Chris Friesen wrote:
> The cpu util accounting code in kernel/timer.c hasn't changed in 2.4
> since 2002. Must be somewhere else.
>
> Anyone else have any ideas?
As another sample point, I have fired up about 100 processes with
each process having 10+ threads. On my dual-xeon, I see maybe 15
processes shown as 99% CPU in 'top'. System load was near 25
when I was looking, but the machine was still quite responsive.
I'm guessing this is just an artifact of having lots of processes running
very often and top is just not able to calculate with fine enough
granularity?
This is on 2.4.25 kernel.
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2004-03-30 17:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 16:47 sched_yield() version 2.4.24 Richard B. Johnson
2004-03-30 16:58 ` Chris Friesen
2004-03-30 17:09 ` Richard B. Johnson
2004-03-30 17:30 ` Chris Friesen
2004-03-30 17:52 ` Ben Greear [this message]
2004-03-30 19:40 ` Denis Vlasenko
2004-03-30 20:29 ` Richard B. Johnson
2004-03-30 23:10 ` Diego Calleja García
2004-03-31 13:53 ` Richard B. Johnson
2004-04-01 0:05 ` Eric W. Biederman
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=4069B3CC.1040904@candelatech.com \
--to=greearb@candelatech.com \
--cc=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/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