<?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: Finding Resource bottlenecks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840217#M273190</link>
    <description>Hello All&lt;BR /&gt;Thanks for all the response and suggestions.&lt;BR /&gt;I suspect that some of the 'slow' application might is waits mostly on wait reason PRI. I checked the white paper by Stepen, which says that there might be CPU bottle neck.&lt;BR /&gt;&lt;BR /&gt;How to determine which process is executing on CPU while the app is in wait PRI.&lt;BR /&gt;I could not get the output of global run queue from galnce, &lt;BR /&gt;Please let me know how to get it.&lt;BR /&gt;&lt;BR /&gt;Regarding swap,&lt;BR /&gt;Swap utilization is around 59 - 60%&lt;BR /&gt;Swap Available: 18487m  Swap Used: 5327mb  Swap Util (%):  57  Reserved: 10529m&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Reagrding buffer cache,&lt;BR /&gt;read hits are always 99-100% and write hits are around 57%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Memory utilization,&lt;BR /&gt;Total VM :  10.4gb   Sys Mem  :   1.7gb   User Mem:   5.3gb   Phys Mem:   8.0gb&lt;BR /&gt;Active VM:   8.4gb   Buf Cache:         654mb   Free Mem:   426mb&lt;BR /&gt;&lt;BR /&gt;Pagouts are happening total is 529.(cum)&lt;BR /&gt;deactivations is 528(cum).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;overall stat,&lt;BR /&gt;&lt;BR /&gt;CPU  Util  S   SRU         U                  | 66%   68%  100%&lt;BR /&gt;&lt;BR /&gt;Disk Util   FV                                                 |  3%     5%   44%&lt;BR /&gt;&lt;BR /&gt;Mem  Util   S         SU                               UB  B   | 95%   96%  100%&lt;BR /&gt;&lt;BR /&gt;Swap Util   U             UR            R                      | 57%   57%   59%&lt;BR /&gt;&lt;BR /&gt;=========================================&lt;BR /&gt;sar output&lt;BR /&gt;14:47:59   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;14:48:01   c0t6d0   26.00    0.50      46     136    0.00    9.63&lt;BR /&gt;           c2t6d0   23.00    0.50      43     118    0.00    7.28&lt;BR /&gt;           c3t0d1    0.50    0.50       2      24    0.00    2.61&lt;BR /&gt;           c5t0d6    0.50    0.50       2      32    0.00    2.44&lt;BR /&gt;14:48:03   c0t6d0    1.49    0.50       2      23    0.00    8.92&lt;BR /&gt;           c2t6d0    0.50    0.50       1      19    0.00    5.38&lt;BR /&gt;           c3t0d1    3.47    0.50      19     333    0.00    2.01&lt;BR /&gt;           c5t0d6    0.50    0.50       1      24    0.00    2.59&lt;BR /&gt;           c3t0d7    0.50    0.50       0       8    0.00    2.53&lt;BR /&gt;14:48:05   c0t6d0    2.01    0.50       3      14    0.00   14.28&lt;BR /&gt;           c2t6d0    1.01    0.50       2      10    0.00    5.22&lt;BR /&gt;           c3t0d1    1.51    0.50       8     129    0.00    2.46&lt;BR /&gt;           c3t0d7    0.50    0.50       1      16    0.01    5.51&lt;BR /&gt;14:48:07   c0t6d0    3.48    0.50       6     183    0.00    7.59&lt;BR /&gt;           c2t6d0    1.99    0.50       4     165    0.00    4.68&lt;BR /&gt;           c3t0d0    0.50    0.50       1      24    0.00    2.49&lt;BR /&gt;           c3t0d1    1.00    0.50       3      56    0.00    2.81&lt;BR /&gt;           c5t0d6    0.50    0.50       2      31    0.00    2.57&lt;BR /&gt;14:48:09   c0t6d0    2.01    0.50       3      36    0.00   12.79&lt;BR /&gt;           c2t6d0    1.01    0.50       2      32    0.00    4.81&lt;BR /&gt;           c3t0d1    1.51    0.50       5      65    0.00    2.56&lt;BR /&gt;           c5t0d6    0.50    0.50       2      27    0.00    2.40&lt;BR /&gt;           c3t0d7    0.50    0.50       1       8    0.01    8.75&lt;BR /&gt;&lt;BR /&gt;Average    c0t6d0    6.99    0.50      12      79    0.00    9.73&lt;BR /&gt;Average    c2t6d0    5.49    0.50      10      69    0.00    6.87&lt;BR /&gt;Average    c3t0d1    1.60    0.50       7     122    0.00    2.28&lt;BR /&gt;Average    c5t0d6    0.40    0.50       1      23    0.00    2.49&lt;BR /&gt;Average    c3t0d7    0.30    0.50       0       6    0.00    5.58&lt;BR /&gt;Average    c3t0d0    0.10    0.50       0       5    0.00    2.49&lt;BR /&gt;#&lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;       memory                     page                          faults&lt;BR /&gt;     avm    free   re   at    pi   po    fr   de    sr     in     sy    cs&lt;BR /&gt; 2247368  109810   42   11     2    1     0    0    29   1363  23340  1940&lt;BR /&gt;CPU&lt;BR /&gt;    cpu          procs&lt;BR /&gt; us sy id    r     b     w&lt;BR /&gt; 19  5 76   11     0     0&lt;BR /&gt; 18  5 77&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry for this big post.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks once again for all the help.&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Aug 2006 23:51:31 GMT</pubDate>
    <dc:creator>Sumanth N</dc:creator>
    <dc:date>2006-08-09T23:51:31Z</dc:date>
    <item>
      <title>Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840211#M273184</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a 2 CPU and 8GIg HPUX11.11 box.I have an application which is running very slowly than usual. I need to see if there are any bottle necks(CPU,memory,disk,n/w).&lt;BR /&gt;So which variables (metrics) should be monitored to check for the bottle necks.&lt;BR /&gt;&lt;BR /&gt;Also, I could see in GLANCEPLUS that the app which is running slowly is in wait reason PRI, &lt;BR /&gt;The CPU usage never goes beyond 90% for this application.No page outs happening.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2006 06:05:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840211#M273184</guid>
      <dc:creator>Sumanth N</dc:creator>
      <dc:date>2006-08-09T06:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840212#M273185</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. Try top instead of glance, as glance needs few more resources than top.&lt;BR /&gt;&lt;BR /&gt;2. What does sar says,&lt;BR /&gt;&lt;BR /&gt;3. Try to check sar, iostat, vmstat.&lt;BR /&gt;&lt;BR /&gt;4. check for dmesg and syslog for any errors.&lt;BR /&gt;&lt;BR /&gt;5. check for any NFS handing&lt;BR /&gt;&lt;BR /&gt;6. Has the application patched or upgraded recently?&lt;BR /&gt;&lt;BR /&gt;Post output of no 3.&lt;BR /&gt;&lt;BR /&gt;Chan</description>
      <pubDate>Wed, 09 Aug 2006 06:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840212#M273185</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-08-09T06:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840213#M273186</link>
      <description>Do you see any of the resources hitting high in glance-cpu, memory,swap and network. Do you see any run queue and priority run queue (very imp) high? (priority run queue metric-gbl_pri_queue)</description>
      <pubDate>Wed, 09 Aug 2006 06:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840213#M273186</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-08-09T06:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840214#M273187</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;downlaod and execute system_perf.sh .it's a SEP script&lt;BR /&gt;&lt;BR /&gt;for check bootleneck , execute sar -d 2 50 for example and look if avwait and avserv is superior to 20 ms&lt;BR /&gt;&lt;BR /&gt;What is your application ?&lt;BR /&gt;what is the option of lvol (mkfs -F vxfs -m /dev/vgxx/lvolx or ftyp)?&lt;BR /&gt;&lt;BR /&gt;for process , it's important to check also CS switch and forced cswitch&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;L-DERLYN&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2006 06:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840214#M273187</guid>
      <dc:creator>Ludovic Derlyn</dc:creator>
      <dc:date>2006-08-09T06:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840215#M273188</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here's a great whitepaper on HP internals &amp;amp; performance from one of HP's best performance analysts - Stephen Ciullo.&lt;BR /&gt;A definite must-read.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf" target="_blank"&gt;http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 09 Aug 2006 08:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840215#M273188</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-08-09T08:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840216#M273189</link>
      <description>Start by looking at the disk performance in glance. The second page in the 'd' page has the buffer cache stats. Are they over 90% or much lower? Then use gpm (or sar) to look at the disk queue lengths. When the queue length starts climbing over 1 or 2 for long periods, you've got a disk bottleneck. Of course, fixing disks that are not fast enough is quite complicated and expensive (ie, switch to fibre, change to a big array with many gigabyes of cache, etc).&lt;BR /&gt; &lt;BR /&gt;top isn't very useful in that it shows nothing but the highest CPU usage. If one process is accumualting a lot of CPU, it may be normal but only the author of the program can tell. Glance can tell you a lot about a specific program like how much time is spent in individual system calls. &lt;BR /&gt; &lt;BR /&gt;And of course look at LAN statistics in Glance or gpm. If they are in the thousands of packets/sec, you've got a lot of packet traffic, not to be confused with LAN throughput. If you have hundreds of users connecting through telnet and running vi or filling out menus, every keystroke is 2 (very small) LAN packets.</description>
      <pubDate>Wed, 09 Aug 2006 11:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840216#M273189</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-09T11:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840217#M273190</link>
      <description>Hello All&lt;BR /&gt;Thanks for all the response and suggestions.&lt;BR /&gt;I suspect that some of the 'slow' application might is waits mostly on wait reason PRI. I checked the white paper by Stepen, which says that there might be CPU bottle neck.&lt;BR /&gt;&lt;BR /&gt;How to determine which process is executing on CPU while the app is in wait PRI.&lt;BR /&gt;I could not get the output of global run queue from galnce, &lt;BR /&gt;Please let me know how to get it.&lt;BR /&gt;&lt;BR /&gt;Regarding swap,&lt;BR /&gt;Swap utilization is around 59 - 60%&lt;BR /&gt;Swap Available: 18487m  Swap Used: 5327mb  Swap Util (%):  57  Reserved: 10529m&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Reagrding buffer cache,&lt;BR /&gt;read hits are always 99-100% and write hits are around 57%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Memory utilization,&lt;BR /&gt;Total VM :  10.4gb   Sys Mem  :   1.7gb   User Mem:   5.3gb   Phys Mem:   8.0gb&lt;BR /&gt;Active VM:   8.4gb   Buf Cache:         654mb   Free Mem:   426mb&lt;BR /&gt;&lt;BR /&gt;Pagouts are happening total is 529.(cum)&lt;BR /&gt;deactivations is 528(cum).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;overall stat,&lt;BR /&gt;&lt;BR /&gt;CPU  Util  S   SRU         U                  | 66%   68%  100%&lt;BR /&gt;&lt;BR /&gt;Disk Util   FV                                                 |  3%     5%   44%&lt;BR /&gt;&lt;BR /&gt;Mem  Util   S         SU                               UB  B   | 95%   96%  100%&lt;BR /&gt;&lt;BR /&gt;Swap Util   U             UR            R                      | 57%   57%   59%&lt;BR /&gt;&lt;BR /&gt;=========================================&lt;BR /&gt;sar output&lt;BR /&gt;14:47:59   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;14:48:01   c0t6d0   26.00    0.50      46     136    0.00    9.63&lt;BR /&gt;           c2t6d0   23.00    0.50      43     118    0.00    7.28&lt;BR /&gt;           c3t0d1    0.50    0.50       2      24    0.00    2.61&lt;BR /&gt;           c5t0d6    0.50    0.50       2      32    0.00    2.44&lt;BR /&gt;14:48:03   c0t6d0    1.49    0.50       2      23    0.00    8.92&lt;BR /&gt;           c2t6d0    0.50    0.50       1      19    0.00    5.38&lt;BR /&gt;           c3t0d1    3.47    0.50      19     333    0.00    2.01&lt;BR /&gt;           c5t0d6    0.50    0.50       1      24    0.00    2.59&lt;BR /&gt;           c3t0d7    0.50    0.50       0       8    0.00    2.53&lt;BR /&gt;14:48:05   c0t6d0    2.01    0.50       3      14    0.00   14.28&lt;BR /&gt;           c2t6d0    1.01    0.50       2      10    0.00    5.22&lt;BR /&gt;           c3t0d1    1.51    0.50       8     129    0.00    2.46&lt;BR /&gt;           c3t0d7    0.50    0.50       1      16    0.01    5.51&lt;BR /&gt;14:48:07   c0t6d0    3.48    0.50       6     183    0.00    7.59&lt;BR /&gt;           c2t6d0    1.99    0.50       4     165    0.00    4.68&lt;BR /&gt;           c3t0d0    0.50    0.50       1      24    0.00    2.49&lt;BR /&gt;           c3t0d1    1.00    0.50       3      56    0.00    2.81&lt;BR /&gt;           c5t0d6    0.50    0.50       2      31    0.00    2.57&lt;BR /&gt;14:48:09   c0t6d0    2.01    0.50       3      36    0.00   12.79&lt;BR /&gt;           c2t6d0    1.01    0.50       2      32    0.00    4.81&lt;BR /&gt;           c3t0d1    1.51    0.50       5      65    0.00    2.56&lt;BR /&gt;           c5t0d6    0.50    0.50       2      27    0.00    2.40&lt;BR /&gt;           c3t0d7    0.50    0.50       1       8    0.01    8.75&lt;BR /&gt;&lt;BR /&gt;Average    c0t6d0    6.99    0.50      12      79    0.00    9.73&lt;BR /&gt;Average    c2t6d0    5.49    0.50      10      69    0.00    6.87&lt;BR /&gt;Average    c3t0d1    1.60    0.50       7     122    0.00    2.28&lt;BR /&gt;Average    c5t0d6    0.40    0.50       1      23    0.00    2.49&lt;BR /&gt;Average    c3t0d7    0.30    0.50       0       6    0.00    5.58&lt;BR /&gt;Average    c3t0d0    0.10    0.50       0       5    0.00    2.49&lt;BR /&gt;#&lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;       memory                     page                          faults&lt;BR /&gt;     avm    free   re   at    pi   po    fr   de    sr     in     sy    cs&lt;BR /&gt; 2247368  109810   42   11     2    1     0    0    29   1363  23340  1940&lt;BR /&gt;CPU&lt;BR /&gt;    cpu          procs&lt;BR /&gt; us sy id    r     b     w&lt;BR /&gt; 19  5 76   11     0     0&lt;BR /&gt; 18  5 77&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry for this big post.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks once again for all the help.&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2006 23:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840217#M273190</guid>
      <dc:creator>Sumanth N</dc:creator>
      <dc:date>2006-08-09T23:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840218#M273191</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Okay guys, if you refer to the SEP script, please give a location.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The script is useful from two standpoints:&lt;BR /&gt;1) It has less impact on the system than glance, thus less distortion in the reports.&lt;BR /&gt;2) It can umtimately be modified and enhanced.&lt;BR /&gt;&lt;BR /&gt;Note: The script was originally given to me by HP in response to a performance question. I've made several minor enhancements to it and a few bug fixes.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 10 Aug 2006 00:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840218#M273191</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-10T00:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840219#M273192</link>
      <description>Well, the first area of concern is swap utilization and pageout/deactivations. PRI as a wait state is completely normal. You c an use uptime or top to see the global runqueue. Since you have 2 CPUs, the runqueue is full when the it reads 2, but if uptime reports 3 or more for extended periods, your applications require more CPUs to run at full speed. The context swicth rate will confirm this. When 5 processes are ready to run, they will be run in the available CPUs, but 3 of the processes will be waiting on a time slice (100ms) or a program that calls the kernel for I/O or system call.&lt;BR /&gt; &lt;BR /&gt;Now if your applications use memory mapped files extensively, the swap usage may be normal but I would look at the pageout and deactivation rate again. It indicates a lack of memory. The vmstat command will report the current po rate.</description>
      <pubDate>Thu, 10 Aug 2006 08:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840219#M273192</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-10T08:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Resource bottlenecks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840220#M273193</link>
      <description>Sumanth,&lt;BR /&gt;&lt;BR /&gt;For getting the Global_PRI_queue u can get that from perfview.Need to install MWA agent on ur box and can then collect data and see historic data&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Vikram</description>
      <pubDate>Wed, 23 Aug 2006 05:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-resource-bottlenecks/m-p/3840220#M273193</guid>
      <dc:creator>marvik</dc:creator>
      <dc:date>2006-08-23T05:59:20Z</dc:date>
    </item>
  </channel>
</rss>

