<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oracle / CPU usages in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160519#M664488</link>
    <description>The system time is probable still spend by Oracle processes, just triggering the system do do inner more / system stuff like interrupts or semaphors or, more likely, memory management. That would happen in the context of an Oracle process, but it would be a system tasks. I'd _like_ to see more than 90% user time  and consequenctly less than 10% system time for a healthy Oracle setup, but have come to accept 20% system time... but no more!&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Mar 2009 01:05:42 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2009-03-03T01:05:42Z</dc:date>
    <item>
      <title>Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160512#M664481</link>
      <description>Problem:  All Oracle (10G) processes run on only 1 of 4 cpus on my RP7410,OS 11.11.  CPUs 1 and 2 are idle 100% of the time.  CPU 3 averages 95% usage and often goes to 100%.  Users are complaining of slow responses.  Can anyone tell me why Oracle (or the HP scheduler) refuses to use the other CPUs?  We have a sister system with the exact kernel configuration that is not seeing these problems.  I verified the patches are the same also.  Here is a 10-hour summary from sar:&lt;BR /&gt;&lt;BR /&gt;          cpu    %usr    %sys    %wio   %idle&lt;BR /&gt;Average    0       0       0       0      99&lt;BR /&gt;Average    1       0       0       0     100&lt;BR /&gt;Average    2       0       0       0     100&lt;BR /&gt;Average    3      98       1       1       0&lt;BR /&gt;&lt;BR /&gt;I've seen this problem mentioned before in the forums&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Mar 2009 16:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160512#M664481</guid>
      <dc:creator>Samuel Scott</dc:creator>
      <dc:date>2009-03-02T16:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160513#M664482</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You may find solutions by searching the previous threads in ITRC.&lt;BR /&gt;&lt;BR /&gt;Checklist:&lt;BR /&gt;* OS patches - there may be new ones&lt;BR /&gt;* Oracle patches - this might be an oracle defect&lt;BR /&gt;* SGA settings&lt;BR /&gt;* Kernel settings.&lt;BR /&gt;&lt;BR /&gt;There might be something different on this system causing the problem. Everything about this tells me to check for an application defect.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 02 Mar 2009 16:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160513#M664482</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-02T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160514#M664483</link>
      <description>Check you don't have any processor sets defined on this system&lt;BR /&gt;&lt;BR /&gt;psrset&lt;BR /&gt;&lt;BR /&gt;will show if you have more than the default PSET defined.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 02 Mar 2009 17:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160514#M664483</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-03-02T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160515#M664484</link>
      <description>You use more than one CPU if you have multiple processes or threads.  Or if the system is so busy the process goes from CPU to CPU.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the exact kernel configuration that is not seeing these problems&lt;BR /&gt;&lt;BR /&gt;Is it running the same applications?&lt;BR /&gt;Are you using any special scheduling software that would bind the application to just that CPU?</description>
      <pubDate>Mon, 02 Mar 2009 17:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160515#M664484</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-02T17:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160516#M664485</link>
      <description>I suspect that the perception of the problem being just 1 cpu being used is a red herring. &lt;BR /&gt;&lt;BR /&gt;The really problem is probably that it is used 98% for SYSTEM time. &lt;BR /&gt;&lt;BR /&gt;Figure out what is happening there!&lt;BR /&gt;Use TOP or UNIX95 PS -ef or whatever.&lt;BR /&gt;Maybe even system call tracing is needed.&lt;BR /&gt;&lt;BR /&gt;This is NOT normal, and may well slow down everything. Swapping, caused by sever memory mis-configurations might explain this.&lt;BR /&gt;What is the memory/paging situation? vmstat?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I've seen this problem mentioned before in the forums&lt;BR /&gt;&lt;BR /&gt;Ok, now pray tell, what were those topics? Did they help you? Did you follow up on suggestions and checks for that problem? what did you learn from that? What further clarification is needed? &lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Best Regards,&lt;BR /&gt;Hein van den Heuvel ( at gmail dot com )&lt;BR /&gt;HvdH Performance Consulting</description>
      <pubDate>Mon, 02 Mar 2009 21:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160516#M664485</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-02T21:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160517#M664486</link>
      <description>You may wish to check that Oracle knows about the multiple CPU's on the box as it will not use them without being told.&lt;BR /&gt;&lt;BR /&gt;SELECT * FROM v$parameter&lt;BR /&gt;WHERE NAME='cpu_count'&lt;BR /&gt;&lt;BR /&gt;will let you know how many CPU's it can use.</description>
      <pubDate>Mon, 02 Mar 2009 23:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160517#M664486</guid>
      <dc:creator>Malcolm Leckie</dc:creator>
      <dc:date>2009-03-02T23:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160518#M664487</link>
      <description>Thanks all.  I've been distracted by other problems today and am just now getting back to this.  &lt;BR /&gt;&lt;BR /&gt;That last sentence should have read: I've seen this problem mentioned before in the forums, but haven't noticed any solutions.&lt;BR /&gt;&lt;BR /&gt;Malcome, Cpu_count is 4. &lt;BR /&gt;&lt;BR /&gt;Dennis.  The processes will be different.  This is a development box, the other is production.  But the development kernel was copied from the production. Patches are the same.   &lt;BR /&gt;&lt;BR /&gt;Hein, Interesting.  I will check that.  I'm getting this from the Oracle DBA, so I assumed it's Oracle and not system processes, but I will  definitely will check it out.&lt;BR /&gt;&lt;BR /&gt;Duncan, no processor sets. &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 00:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160518#M664487</guid>
      <dc:creator>Samuel Scott</dc:creator>
      <dc:date>2009-03-03T00:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160519#M664488</link>
      <description>The system time is probable still spend by Oracle processes, just triggering the system do do inner more / system stuff like interrupts or semaphors or, more likely, memory management. That would happen in the context of an Oracle process, but it would be a system tasks. I'd _like_ to see more than 90% user time  and consequenctly less than 10% system time for a healthy Oracle setup, but have come to accept 20% system time... but no more!&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 01:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160519#M664488</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-03T01:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160520#M664489</link>
      <description>&amp;gt;Hein: The really problem is probably that it is used 98% for SYSTEM time.&lt;BR /&gt;&lt;BR /&gt;I read that as CPU 3, 98% user.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 04:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160520#M664489</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-03T04:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160521#M664490</link>
      <description>Dennis it right, I managed to read it wrong. Sorry.&lt;BR /&gt;Darn 'spaceless' presentation in the ITRC forum.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 17:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160521#M664490</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-03T17:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160522#M664491</link>
      <description>&lt;BR /&gt;The last three mornings I have been monitoring this issue via glance, top, and sar.  The problem has not reappeared.  I did see in Glance where one process occasionally would jump up briefly and grab 20- 25% of the CPU.  That process was called ORACLEBS1D, and may be a key to the problem.   &lt;BR /&gt;&lt;BR /&gt;btw, I found no matches on ITRC when I entered ORACLEBS1D.  &lt;BR /&gt;&lt;BR /&gt;Here is my conclusion.  Under normal circumstances, it appears CPU usage on all CPUs remains less than 1%. Understanding that processes (even multi-threaded) don't normally 'jump'from one CPU to the next if they don't have to, but prefer to run on only one CPU.  Also, the Scheduler doesn't try to load balance CPUs.  Following that, my conclusion is an ORACLE user process (ORACLEBS1D?) consumes excessive CPU cycles on CPU 3 and it just appears that all oracle processes are using it, when in fact the other processes are running less than 1% and wouldn't be noticed.   &lt;BR /&gt;&lt;BR /&gt;This is a development box so it makes sense that the problem may have disappeared.  Perhaps the user realized his mistake and quielty made the correction. &lt;BR /&gt;&lt;BR /&gt;I'll continue to monitor this for a while, but I think the problem is not with the HP Scheduler or even with ORACLE, but with a runaway development process.  &lt;BR /&gt;&lt;BR /&gt;If anyone has other ideas, let me know. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 16:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160522#M664491</guid>
      <dc:creator>Samuel Scott</dc:creator>
      <dc:date>2009-03-05T16:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle / CPU usages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160523#M664492</link>
      <description>&lt;BR /&gt;solution: check last response for details on possible solution. One runaway processes is most likely.</description>
      <pubDate>Wed, 11 Mar 2009 13:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-cpu-usages/m-p/5160523#M664492</guid>
      <dc:creator>Samuel Scott</dc:creator>
      <dc:date>2009-03-11T13:31:14Z</dc:date>
    </item>
  </channel>
</rss>

