<?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: CPU performance questions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978336#M419286</link>
    <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Seeing your input, I guess that it is IO bottleneck, Check the RAID or SAN performance.&lt;BR /&gt;&lt;BR /&gt;also found this link which gives some thought for db_cache_size&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oracle.com/technology/oramag/oracle/03-jan/o13expert.html" target="_blank"&gt;http://www.oracle.com/technology/oramag/oracle/03-jan/o13expert.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Chan&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 10 May 2006 13:02:34 GMT</pubDate>
    <dc:creator>Chan 007</dc:creator>
    <dc:date>2006-05-10T13:02:34Z</dc:date>
    <item>
      <title>CPU performance questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978333#M419283</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Got some Oracle contractors working on some of our systems. 1 contractor is pointing out some performance issues. He has provided some very limited stats but I am hoping someone can provide some insight.&lt;BR /&gt;&lt;BR /&gt;I am posting his message below.&lt;BR /&gt;&lt;BR /&gt;I have been gathering data on the server since 11am and I see indicators of CPU bottleneck   however I could be wrong. Kindly help diagnose the issues from the OS end and let me know the results.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Suresh&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;From the Statistics in Oracle, we see that for every CPU second spent parsing SQL statements, we spend 2.4 seconds of Wall clock time.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;One of the top 5 waits in oracle is CPU Time&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;########################################################33&lt;BR /&gt;&lt;BR /&gt;Top 5 Timed Events&lt;BR /&gt;&lt;BR /&gt;~~~~~~~~~~~~~~~~~~                                                     % Total&lt;BR /&gt;&lt;BR /&gt;Event                                               Waits    Time (s) Ela Time&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------- ------------ ----------- --------&lt;BR /&gt;&lt;BR /&gt;db file sequential read                         3,739,860      12,021    38.75&lt;BR /&gt;&lt;BR /&gt;db file scattered read                          5,200,891       9,922    31.98&lt;BR /&gt;&lt;BR /&gt;CPU time                                                        5,266    16.97&lt;BR /&gt;&lt;BR /&gt;latch free                                         95,498         983     3.17&lt;BR /&gt;&lt;BR /&gt;buffer busy waits                                 325,978         972     3.13&lt;BR /&gt;&lt;BR /&gt;          -------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;###################################################################&lt;BR /&gt;&lt;BR /&gt;The sar output below indicates significant I/O wait.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;park:orap1:OADBP1 &amp;gt; sar -u 5 5&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;HP-UX park B.11.23 U ia64    05/09/06&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;13:56:56    %usr    %sys    %wio   %idle&lt;BR /&gt;&lt;BR /&gt;13:57:01      34       9      53       4&lt;BR /&gt;&lt;BR /&gt;13:57:06      32       8      54       7&lt;BR /&gt;&lt;BR /&gt;13:57:11      38      11      46       5&lt;BR /&gt;&lt;BR /&gt;13:57:16      39      10      47       4&lt;BR /&gt;&lt;BR /&gt;13:57:21      35       8      52       5&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Average       35       9      50       5&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;The stats below show processes waiting to run [r] or that are blocked for resources[b].&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;vmstat -S park:orap1:OADBP1 &amp;gt; vmstat -S 5 5&lt;BR /&gt;&lt;BR /&gt;         procs           memory                   page                              faults       cpu&lt;BR /&gt;&lt;BR /&gt;    r     b     w      avm    free   si   so    pi   po    fr   de    sr     in     sy    cs  us sy id&lt;BR /&gt;&lt;BR /&gt;    4     9     0  1284613   40862   95   95     5    5     0    0   109   9111  47293  2644  25  7 67&lt;BR /&gt;&lt;BR /&gt;    4     9     0  1284613   43787    0    0     5    0     0    0     0   8004  30004  3133  35  5 59&lt;BR /&gt;&lt;BR /&gt;    4     6     0  1274352   43904    0    0     1    0     0    0     0   8119  23981  3599  30  5 65&lt;BR /&gt;&lt;BR /&gt;    4     6     0  1274352   43182    0    0     1    0     0    0     0  11529  32012  6985  28  8 64&lt;BR /&gt;&lt;BR /&gt;    6     5     0  1150416   43955    0    0     0    0     0    0     0   9299  37859  4619  40  7 53&lt;BR /&gt;&lt;BR /&gt;park:orap1:OADBP1 &amp;gt; vmstat -S 5 5&lt;BR /&gt;&lt;BR /&gt;         procs           memory                   page                              faults       cpu&lt;BR /&gt;&lt;BR /&gt;    r     b     w      avm    free   si   so    pi   po    fr   de    sr     in     sy    cs  us sy id&lt;BR /&gt;&lt;BR /&gt;    1     5     0  1284925   53607   95   95     5    5     0    0   109   9112  47283  2645  25  7 67&lt;BR /&gt;&lt;BR /&gt;    1     5     0  1284925   54607    0    0     3    0     0    0     0   7841  25737  2007   8  5 88&lt;BR /&gt;&lt;BR /&gt;    3     5     0  1214446   54552    0    0     1    0     0    0     0   9030  37783  2997  13 10 77&lt;BR /&gt;&lt;BR /&gt;    3     5     0  1214446   54390    0    0     1    0     0    0     0  12769  58996  5935  23 13 63&lt;BR /&gt;&lt;BR /&gt;    1     5     0  1124451   56638    0    0     2    0     0    0     0  12278  41867  4805  12 10 78&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 11:07:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978333#M419283</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-05-10T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: CPU performance questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978334#M419284</link>
      <description>Seems that there is a high IO wait time - meaning CPU is waiting idle for data to be received from disks.&lt;BR /&gt;Please do check the sar -d output for high avserv, avwait, avqueue and %busy - to understand if there is unequal distribution of data across disks and which disks are having high avserv times causing high IO wait.&lt;BR /&gt;The High %wio is causing very less %idle and hence if systme requires CPU to process - its not available.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 10 May 2006 11:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978334#M419284</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-10T11:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: CPU performance questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978335#M419285</link>
      <description>Try to get some of the more obscure IOSTAT output as well (I think these also work on HP-UX):&lt;BR /&gt;&lt;BR /&gt;iostat -xDd &lt;BR /&gt;iostat -nxC</description>
      <pubDate>Wed, 10 May 2006 12:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978335#M419285</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2006-05-10T12:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: CPU performance questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978336#M419286</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Seeing your input, I guess that it is IO bottleneck, Check the RAID or SAN performance.&lt;BR /&gt;&lt;BR /&gt;also found this link which gives some thought for db_cache_size&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oracle.com/technology/oramag/oracle/03-jan/o13expert.html" target="_blank"&gt;http://www.oracle.com/technology/oramag/oracle/03-jan/o13expert.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Chan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 13:02:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978336#M419286</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-05-10T13:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: CPU performance questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978337#M419287</link>
      <description>There is certainly not enough information here to make a diagnosis and, I'll say I'm not sure I'm reading it correctly.&lt;BR /&gt;One of the first things though, if&lt;BR /&gt;&lt;BR /&gt;"db file sequential read 3,739,860 12,021 38.75&lt;BR /&gt;&lt;BR /&gt;db file scattered read 5,200,891 9,922 31.98"&lt;BR /&gt;&lt;BR /&gt;are the total I/O's during this job, nearly 42% of the I/O's are sequential.&lt;BR /&gt;&lt;BR /&gt;Reads kill.  If these are sequential scans it can certainly slow things down drastically.&lt;BR /&gt;&lt;BR /&gt;A few years ago we had an SAP job that ran for 17 hours.  With the proper use of indexes the job came down to 6 minutes.</description>
      <pubDate>Fri, 12 May 2006 11:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978337#M419287</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2006-05-12T11:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: CPU performance questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978338#M419288</link>
      <description>Many thanks all&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 May 2006 11:33:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-performance-questions/m-p/4978338#M419288</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-05-12T11:33:04Z</dc:date>
    </item>
  </channel>
</rss>

