<?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: Performance Problem (cont) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836486#M90274</link>
    <description>Clay; I don't know how I missed the *buf* parameters. I will definately fix that oversight when they let me reboot. I'm not very hopeful that it will fix the issue I am seeing. &lt;BR /&gt;&lt;BR /&gt;Ian; I will look into having the applications looked at and optimized for use with this new memory. Right now I am trying to track down the process(es) that are performing the majority of the open/close/pipes as these are the calls that the CPU is spending the most time on.&lt;BR /&gt;&lt;BR /&gt;Yesterday I 'reniced' a subset of processes so that other jobs might get more CPU time. The system was soon running "okay". By okay I mean that the CPU utilization jumped to 100%, but it was primarily (~85%) user mode. This was encouraging and I had hoped that the run queue would start clearing out. The problem reappeared a few hours later. I have looked at processes that were running when it "okay" and compared them to processes running now and nothing has jumped out as a culprit.&lt;BR /&gt;&lt;BR /&gt;I will keep looking around to see if I can find the process(es).&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;David</description>
    <pubDate>Fri, 01 Nov 2002 18:38:33 GMT</pubDate>
    <dc:creator>David Child_1</dc:creator>
    <dc:date>2002-11-01T18:38:33Z</dc:date>
    <item>
      <title>Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836479#M90267</link>
      <description>I am having a performance problem on one of my V-class 2250s (16 CPUs/16GB phy mem). &lt;BR /&gt;&lt;BR /&gt;What I am having the most trouble understanding/explaining is that the the CPUs are ~50-60% idle. System time is high (~35%) compared to user time (%3). The server is very unresponsive (obviously). There is a very high run-queue as well. I am just trying to find out what else I might look at as to why the run queue is so full and the high system time. The server doesn't appear to be swapping or waiting on I/O. See attached for some system print outs.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Here are some kernel params: &lt;BR /&gt;dbc_min_pct = 5 &lt;BR /&gt;dbc_max_pct = 10 &lt;BR /&gt;minfree, lotsfree, desfree = 0 &lt;BR /&gt;maxdsiz, maxdsiz_64bit = 0x040000000 &lt;BR /&gt;maxssiz, maxssiz_64bit = 0x01000000 &lt;BR /&gt;maxtsiz, maxtsiz_64bit = 0x010000000 &lt;BR /&gt;&lt;BR /&gt;The system was patched about 8 months ago so I'm a little behind there.&lt;BR /&gt;&lt;BR /&gt;Running HP-UX 11.00&lt;BR /&gt;Thanks, &lt;BR /&gt;David</description>
      <pubDate>Wed, 30 Oct 2002 23:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836479#M90267</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2002-10-30T23:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836480#M90268</link>
      <description>Hi David:&lt;BR /&gt;&lt;BR /&gt;One kernel parameter that would give high run-queue with low processor would be a bad 'timeslice' value.  It should be set at &amp;lt;10&amp;gt; for almost all applications.  The lower the value the more forced context-switching occurs leading to a deepening run-queue and little real work.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 30 Oct 2002 23:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836480#M90268</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-10-30T23:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836481#M90269</link>
      <description>If my poor brain is functioning, I seem to remember that I suggested that you look at timeslice months ago. That could be your culprit. It would probably be helpful if you posted a few things:&lt;BR /&gt;&lt;BR /&gt;1. kmtune output&lt;BR /&gt;&lt;BR /&gt;B. sysdef output&lt;BR /&gt;&lt;BR /&gt;III. A Glance output showing the system calls activity&lt;BR /&gt;&lt;BR /&gt;If we can see what system calls are eating the CPU then we may get a handle on your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Oct 2002 23:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836481#M90269</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-30T23:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836482#M90270</link>
      <description>Was your previous performance issue &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb829eea29889d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb829eea29889d611abdb0090277a778c,00.html&lt;/A&gt; have to do with the same server??&lt;BR /&gt;&lt;BR /&gt;10% of 16GB is 1.6GB of cache. Usually thats about 4 times more than necessary. What's cache your hit rates?&lt;BR /&gt;&lt;BR /&gt;How many processes are running?&lt;BR /&gt;&lt;BR /&gt;Do you have ems activated?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 31 Oct 2002 00:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836482#M90270</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-10-31T00:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836483#M90271</link>
      <description>Thanks for the replies. &lt;BR /&gt;&lt;BR /&gt;James and Clay, the timeslice is set for '10'.&lt;BR /&gt;&lt;BR /&gt;Clay and Harry, yes you are correct. I was having this issue on this server a while back. There were a few changes suggested at that time that implemented, unfortunately they did not have much affect. I ended up having to renice some of the processes so that others could finish up. This seemed to clear it up okay. Its happened twice since then. I have not been able to identify any processes that only run at those times, but I did notice that there appear to be more of them (various processes). I have attached the output from kmtune and sysdef and glance. It looks like a lot of time is being spent on open/close calls.&lt;BR /&gt;&lt;BR /&gt;Harry, currently there are 892 processes running. I have attached the output from 'sar -d' as well as kmtune and sysdef. Yes 'ems' is activated. This server use to have 8GB of memory, but we decommisioned another V-class server a couple of weeks back and took 8GB from that server and added it to this. I haven't gone back in to lower dbc_max_pct.&lt;BR /&gt;&lt;BR /&gt;Once again thanks.&lt;BR /&gt;&lt;BR /&gt;David&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Oct 2002 15:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836483#M90271</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2002-10-31T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836484#M90272</link>
      <description>Okay David, &lt;BR /&gt;&lt;BR /&gt;You can lower dbc_max_pct but that won't help because you have bufpages set to a non-zero value (nbuf * 2) and nbuf = 248269. This means that you have 248269 * 2 4K pages allocated as buffer cache (just under 2GB). 11.0 systems very seldom benefit from anything over about 800MB of cache and probably 400-500 is better. You should set bufpages to something around 102400 (400MB) and see what that does for you. &lt;BR /&gt;&lt;BR /&gt;You applications do seem to be doing many opens and closes in additions to reads and writes. There is also quite a bit of forks()m, execs(), and pipes() indicating that this machine is spending a lot of time spawn many processes.</description>
      <pubDate>Thu, 31 Oct 2002 16:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836484#M90272</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-31T16:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836485#M90273</link>
      <description>My 2 cents worth,...&lt;BR /&gt;&lt;BR /&gt;Looking at the System CPU utilisation (35%) and the high Run Queue (100+) says to me that the System is spending too much time managing the System and not enough time running the Application.&lt;BR /&gt;&lt;BR /&gt;Have you made any changes to the Application once the new memory was added? If the Application is multi-processed (like Oracle or SAP) I would look how busy /idle each Application process it, and look at reducing the number of UNIX processes it spawns (Instead of 100 UNIX processes working at 15%, why not 50 UNIX processes working at 30%?) Means less swapping at the OS level, puts the pressure onto the Application to manage its resource. Discussion?&lt;BR /&gt;&lt;BR /&gt;Have looked at the Performance Bible (Sauers and Weygant) and they suggested that semaphore operations were System CPU intensive (sar -m). Unfortunately SAR only documents rate of Semaphore usage, not utilisation.&lt;BR /&gt;&lt;BR /&gt;Overall, I would ask if the system is trying to do too much when in fact quite a lot less is needed (memory, CPUs, etc)?&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 31 Oct 2002 16:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836485#M90273</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-10-31T16:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Problem (cont)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836486#M90274</link>
      <description>Clay; I don't know how I missed the *buf* parameters. I will definately fix that oversight when they let me reboot. I'm not very hopeful that it will fix the issue I am seeing. &lt;BR /&gt;&lt;BR /&gt;Ian; I will look into having the applications looked at and optimized for use with this new memory. Right now I am trying to track down the process(es) that are performing the majority of the open/close/pipes as these are the calls that the CPU is spending the most time on.&lt;BR /&gt;&lt;BR /&gt;Yesterday I 'reniced' a subset of processes so that other jobs might get more CPU time. The system was soon running "okay". By okay I mean that the CPU utilization jumped to 100%, but it was primarily (~85%) user mode. This was encouraging and I had hoped that the run queue would start clearing out. The problem reappeared a few hours later. I have looked at processes that were running when it "okay" and compared them to processes running now and nothing has jumped out as a culprit.&lt;BR /&gt;&lt;BR /&gt;I will keep looking around to see if I can find the process(es).&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;David</description>
      <pubDate>Fri, 01 Nov 2002 18:38:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-problem-cont/m-p/2836486#M90274</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2002-11-01T18:38:33Z</dc:date>
    </item>
  </channel>
</rss>

