From: Gilad Ben-Yossef <gilad@benyossef.com>
To: linux-kernel@vger.kernel.org
Subject: cpu load calculation
Date: Thu, 12 Apr 2001 18:13:42 +0300 [thread overview]
Message-ID: <3AD5C626.2050507@benyossef.com> (raw)
Hi there,
We think we might have encountered a problem with the cpu load
calculation in Linux (2.2.x). The current calculation is based on
dividing the jiffies to user, system and idle jiffies according to the
process the timer hardware interrupt interrupts.
In our case the timer interrupt generates some kernel processing in the
bottom half. After that finishes, the idle process takes over.
The system therefore seems completely idle while in actuality if the
kernel processing takes 50% of a jiffie the system is 50% loaded (with
system processing).
The problem obviously results from synchronization of processing with
the timer interrupt used to calculate the load.
- Did anybody encounter this problem?
- Know any solutions?
- Recommend any specific solution?
Many thanks,
Gilad.
--
Gilad Ben-Yossef <gilad@benyossef.com>
http://benyossef.com :: +972(54)756701
"Anything that can go wrong, will go wrong, while interrupts are disabled. "
-- Murphey's law of kernel programing.
reply other threads:[~2001-04-12 16:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3AD5C626.2050507@benyossef.com \
--to=gilad@benyossef.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