On Fri, 28 Jan 2005 13:36:59 -0500, Marc E. Fiuczynski
<[EMAIL PROTECTED]> wrote:
> Looking at a class' stats file, it appears that the CPU scheduler accounts
> for all time spent on behalf of a class.  Would it be difficult to modify
> the CPU scheduler to maintain stats on how much of that time is in user
> space vs. kernel space?

I think it should be easy since reporting the additional numbers
doesn't require any change to the core logic of the scheduler.

> 
> Also, when an interrupt is handled by the system, is that time charged to a
> slice or to the system class?
It's charged to the current class.  Yes, it might be a cause of
unfairness if interrupts consume significant amount of time.  But
isn't it a tradtional thing that Linux does?

Haoqiang


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to