Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: cpu waits

RE: cpu waits

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Wed, 28 Feb 2007 21:56:10 +0800
Message-id: <01ff01c75b40$33d30350$6401a8c0@windows01>


When you enable OS statistics (using timed_os_statistics parameter) and your OS + OSD implementation supports that feature then you'll see "OS Wait-cpu (latency) time" in v$sesstat and v$sysstat which indicates the process wait time in runqueue. This works on Solaris, don't know about others...  

Luca, even if you enable resource manager, you won't see the OS CPU runqueue waiting as far as I understand.  

The "resmgr: cpu quantum" is an artificial resource manager wait (e.g. when a process gets on CPU it checks whether it should be on CPU per resmgr rules and if not then it goes to sleep again and registers that wait).  

Tanel.


From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Luca Canali
Sent: Wednesday, February 28, 2007 18:04 To: oracle-l_at_freelists.org
Subject: RE: cpu waits

There is no such event, indeed it is a typical pitfall say when analysing a statspack report on a CPU bound DB server. The exception being when resource manager is used, then one can look at the time spent in 'resmgr:cpu quantum' wait event.  

Cheers,
L.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 28 2007 - 07:56:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US