* cpu load calculation
@ 2001-04-12 15:13 Gilad Ben-Yossef
0 siblings, 0 replies; only message in thread
From: Gilad Ben-Yossef @ 2001-04-12 15:13 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-12 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-12 15:13 cpu load calculation Gilad Ben-Yossef
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox