public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Oliver Xymoron <oxymoron@waste.org>
Cc: J Sloan <jjs@pobox.com>, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: heads-up: preempt kernel and tux NO-GO
Date: Tue, 27 Nov 2001 18:30:55 -0800	[thread overview]
Message-ID: <3C044C5F.237E0901@zip.com.au> (raw)
In-Reply-To: <3C043B11.2FA17A19@pobox.com> <Pine.LNX.4.40.0111272007070.9338-100000@waste.org>

Oliver Xymoron wrote:
> 
> On Tue, 27 Nov 2001, J Sloan wrote:
> 
> > I have been looking into the tux2 webserver -
> > Man, what a thing of beauty. A web benchmark
> > that sends the load on the web server to 150
> > when running apache results in a load average
> > of  maybe 2 when running tux, and much faster
> > results to boot - anyway, I digress....
> 
> Loadavg isn't much of a measure here, it's a measure of the length of the
> runnable queue. If you've only got two processes because your server has a
> thread per processor, then yes, you'll see lower loadavg, but not lower
> load. A real measure would look at idle percentage and throughput.

Even idle percentage is quite misleading.  Lots of interrupt
processing gets credited to the idle task and you don't see
it at all with normal accounting tools.

The `subtractive' approach is more accurate.  See how much
processing capacity is left behind when all the foreground
task and interrupt processing is complete.

Grab http://www.zip.com.au/~akpm/linux/zc.tar.gz
Type make
run ./cyclesoak -C
run ./cyclesoak

easy.

  parent reply	other threads:[~2001-11-28  2:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-28  1:17 heads-up: preempt kernel and tux NO-GO J Sloan
2001-11-28  2:12 ` Oliver Xymoron
2001-11-28  2:23   ` J Sloan
2001-11-28  2:30   ` Andrew Morton [this message]
2001-11-28  4:27 ` Robert Love
2001-11-29  4:11 ` data point: tux and low-latency patches OK J Sloan
2001-11-29  1:18   ` interrupt ? McEnroe
2001-11-29 17:07     ` Robert Love
2001-11-29 21:03       ` Mike Fedyk
  -- strict thread matches above, loose matches on Subject: below --
2001-11-28  1:21 heads-up: preempt kernel and tux NO-GO J Sloan

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=3C044C5F.237E0901@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=jjs@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oxymoron@waste.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