From: Con Kolivas <kernel@kolivas.org>
To: Herbert Poetzl <herbert@13thfloor.at>
Cc: Patrick Mau <mau@oscar.ping.de>, Andrew Morton <akpm@osdl.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Workaround for wrapping loadaverage
Date: Wed, 10 Nov 2004 08:49:41 +1100 [thread overview]
Message-ID: <41913B75.1050500@kolivas.org> (raw)
In-Reply-To: <20041109185103.GE29661@mail.13thfloor.at>
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
Herbert Poetzl wrote:
> but I agree that a higher resolution would be a good
> idea ... also doing the calculation when the number
> of running/uninterruptible processes has changed would
> be a good idea ...
This could get very expensive. A modern cpu can do about 700,000 context
switches per second of a real task with the current linux kernel so I'd
suggest not doing this.
Cheers,
Con
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2004-11-09 21:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 0:19 Workaround for wrapping loadaverage Patrick Mau
2004-11-08 9:27 ` Andrew Morton
2004-11-08 10:25 ` Patrick Mau
2004-11-08 23:50 ` Andrew Morton
2004-11-09 0:43 ` Patrick Mau
2004-11-09 18:51 ` Herbert Poetzl
2004-11-09 21:49 ` Con Kolivas [this message]
2004-11-10 6:20 ` Herbert Poetzl
2004-11-10 9:57 ` Con Kolivas
2004-11-10 7:07 ` Nick Piggin
2004-11-10 23:31 ` Herbert Poetzl
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=41913B75.1050500@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=herbert@13thfloor.at \
--cc=linux-kernel@vger.kernel.org \
--cc=mau@oscar.ping.de \
/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