lkml.org 
[lkml]   [1997]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [offtopic?] process cpu load % wrong?

On Thu, 16 Oct 1997, Tuukka Toivonen wrote:

> When I run some normal programs that don't use too much hard disk, the mp3
> player process stays at 25%-32%. But when I run some specific tasks, the
> mp3 cpu load increases to 60% or even more!

if you have IDE disks, PIO mode, then this is natural. Always the current
process handles interrupts, no matter who requested that interrupt. It
will be accounted to the handling process. So if you have a process that
generates only disk-IO, but does not use the CPU otherwise, the kernel
will switch to other processes while the interrupt is pending, and that
other process will handle the interrupt.

since interrupts cannot easily be 'personalized' (externally triggered
interrupts have no 'owners', and there are interrupts that have many
'owners', etc.), there is no easy 'solution'.

"It's Just Statistics."

-- mingo


\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site