Re: Bug: 2.6.15 Process accounting fails to account for small timeslice loads (still)

From: Tim Schmielau
Date: Tue Jan 30 2007 - 16:13:56 EST


On Tue, 30 Jan 2007, Tom Burns wrote:

> That would be great if you could find that patch - I can worry about
> porting it to the current kernel. We're having an issue where our
> device, while routing large amounts of network traffic, reports 0% CPU
> utilisation when it cannot be the case, and I think this is the cause.

Here is one patch for CPU cycle accounting: (although I'm not sure that's
really the one I had in mind)

http://lkml.org/lkml/2004/6/23/78

It might also be worth having a look at oprofile:

http://oprofile.sourceforge.net/

If you are on IA64 or PPC rather than i386, ppacc might help you:

http://lkml.org/lkml/2006/1/13/308
http://ppacc.sourceforge.net/about.html

Although I'd guess you are not on PPC or S390 as these already to correct
CPU cycle accounting (IIRC).

Hope that helps,
Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/