Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Solaris CPU Consumption
>>>as such, there are 3 types of state that CPU can be in:
>>>1) User mode, working on a user process. There is no problem with
>>> accounting for that time.
>>>2) Kernel mode, when the CPU is processing a system call
>>> on behalf of a process which invoked the system call.
>>>3) Interrupt stack, when the CPU is servicing an external
>>> interrupt, coming from some device, outside of a process
>>> context. That means that not a single process is charged
>>> with the CPU time servicing clock interrupt or NIC interrupts.
I don't have Sol code in front of me, but point 3 is likely not correct. Interrupt code uses the stack of whatever process got interrupted. Every Unix derivation (including Linux if it deserves that title) I've ever dug into charges system mode cycles of interrupt code against the process that got banged.
This likely reads like trivial pursuit on this email list though.
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Jan 30 2006 - 11:37:15 CST
![]() |
![]() |