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
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?
-- Gilad Ben-Yossef <email@example.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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:19 EST