<?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: High IPC/Sem Wait % in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637654#M851613</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I just noticed that Frank has obvoiusly used one of the stupid tuned parameter sets for databases. While most of those are at least ok, the timeslice value of 1 rather than 10 almost certainly is a performance killer. Set it to 10 and leave it there.</description>
    <pubDate>Wed, 02 Jan 2002 19:58:06 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2002-01-02T19:58:06Z</dc:date>
    <item>
      <title>High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637650#M851609</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a system with processes with high IPC &amp;amp; Sem Wait %, PROC_[IPC|SEM]_WAIT_PCT in MeasureWare/glance.  My first reaction was to check semephores.  &amp;amp; indeed I think semmnu &amp;amp; semume are too low (30 &amp;amp; 10)&lt;BR /&gt;&lt;BR /&gt; o Does anyone have anything else I should check?&lt;BR /&gt; o Any suggested values for the two above (I have 120 &amp;amp; 50 up to 4096 &amp;amp; 128!)&lt;BR /&gt; o Any other suggestions?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 02 Jan 2002 17:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637650#M851609</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-01-02T17:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637651#M851610</link>
      <description>Well your value is set at the default value.  &lt;BR /&gt;Instead of saying what I suggest..you need to decide what is best for your shop.&lt;BR /&gt;May I suggest checking all your semm* parms and going over what your ~init.ora is set for processes.&lt;BR /&gt;You can check out these couple of threads that may help you to ensure all your semmaphore parms are set properly and of course that you have the memory to run at those settings:&lt;BR /&gt;Doc on all parms:&lt;BR /&gt;&lt;A href="http://docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;Thread on calc/semmaphores:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x10ca6af52b04d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x10ca6af52b04d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Rit</description>
      <pubDate>Wed, 02 Jan 2002 17:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637651#M851610</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-01-02T17:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637652#M851611</link>
      <description>&lt;BR /&gt;Without knowing how your processes work, its a little difficult to calculate the proper semaphore requirements. Here is an example I have of one of my systems:&lt;BR /&gt;&lt;BR /&gt;sema    1&lt;BR /&gt;semaem  16384&lt;BR /&gt;semmap  5200&lt;BR /&gt;semmni  2600&lt;BR /&gt;semmns  5200&lt;BR /&gt;semmsl  2048&lt;BR /&gt;semmnu  1300&lt;BR /&gt;semume  64&lt;BR /&gt;semvmx  32767&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 02 Jan 2002 17:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637652#M851611</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-02T17:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637653#M851612</link>
      <description>Tim&lt;BR /&gt;&lt;BR /&gt;Here is a kernel example from one of my systems running 11.00/64bit on an L3000. This server runs our ob2 application only.&lt;BR /&gt;&lt;BR /&gt;Tunable parameters&lt;BR /&gt;&lt;BR /&gt;STRMSGSZ        65535&lt;BR /&gt;bufpages        0&lt;BR /&gt;create_fastlinks 1&lt;BR /&gt;dbc_max_pct     15&lt;BR /&gt;dbc_min_pct     15&lt;BR /&gt;max_thread_proc 256&lt;BR /&gt;maxfiles        2048&lt;BR /&gt;maxfiles_lim    2048&lt;BR /&gt;maxswapchunks   4096&lt;BR /&gt;maxuprc         ((NPROC*9)/10)&lt;BR /&gt;maxusers        250&lt;BR /&gt;maxvgs          80&lt;BR /&gt;msgmap          (MSGTQL+2)&lt;BR /&gt;msgmax          32768&lt;BR /&gt;msgmnb          65535&lt;BR /&gt;msgmni          (NPROC)&lt;BR /&gt;msgseg          (MSGTQL*4)&lt;BR /&gt;msgssz          128&lt;BR /&gt;msgtql          (NPROC*10)&lt;BR /&gt;ncallout        2064&lt;BR /&gt;nfile           (15*NPROC+2048)&lt;BR /&gt;nflocks         (NPROC)&lt;BR /&gt;ninode          (8*NPROC+2048)&lt;BR /&gt;nkthread        2048&lt;BR /&gt;nproc           ((MAXUSERS*3)+64)&lt;BR /&gt;nstrpty         60&lt;BR /&gt;nstrtel         (MAXUSERS)&lt;BR /&gt;nswapdev        25&lt;BR /&gt;semmni          (NPROC*5)&lt;BR /&gt;semmns          (SEMMNI*2)&lt;BR /&gt;semmnu          (NPROC-4)&lt;BR /&gt;semume          64&lt;BR /&gt;semvmx          32768&lt;BR /&gt;shmmax          0X40000000&lt;BR /&gt;shmmni          512&lt;BR /&gt;shmseg          32&lt;BR /&gt;timeslice       1&lt;BR /&gt;unlockable_mem  (MAXUSERS*10)&lt;BR /&gt;&lt;BR /&gt;Just a guide, not a rule of thumb. The link that rita put out there is excellent for explaining each parameter in detail and the relevance to each other.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jan 2002 19:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637653#M851612</guid>
      <dc:creator>fg_1</dc:creator>
      <dc:date>2002-01-02T19:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637654#M851613</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I just noticed that Frank has obvoiusly used one of the stupid tuned parameter sets for databases. While most of those are at least ok, the timeslice value of 1 rather than 10 almost certainly is a performance killer. Set it to 10 and leave it there.</description>
      <pubDate>Wed, 02 Jan 2002 19:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637654#M851613</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-02T19:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637655#M851614</link>
      <description>Tim&lt;BR /&gt;&lt;BR /&gt;I have been smitten but ann is absolutely correct in her assessment.&lt;BR /&gt;&lt;BR /&gt;Thank you ann for the correction of that, these were systems that I just inherited not too long ago.</description>
      <pubDate>Wed, 02 Jan 2002 20:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637655#M851614</guid>
      <dc:creator>fg_1</dc:creator>
      <dc:date>2002-01-02T20:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637656#M851615</link>
      <description>Many thanks for the above.&lt;BR /&gt;Rita - I actually use informix, but point taken &amp;amp; thanks for the kernel param link&lt;BR /&gt;Harry - Thanks, these values are (with Rita's stuff) too high but a nice starting point&lt;BR /&gt;Frank - I'm not going to use all your values but this is great as it puts in some equations &amp;amp; relative values&lt;BR /&gt;Ann - Thank you, I read Doug Gruman's Performance Tuning cookbook &amp;amp; he recons it is a bad idea to fiddle with the timeslice too.&lt;BR /&gt;&lt;BR /&gt;Just out of interest&lt;BR /&gt;nproc   2048&lt;BR /&gt;semmns  4096&lt;BR /&gt;semmni (SEMMNS)   [==&amp;gt; 4096]&lt;BR /&gt;semmap (SEMMNI+2) [==&amp;gt; 4098]&lt;BR /&gt;semmnu (NPROC-4)  [==&amp;gt; 2044]&lt;BR /&gt;semume  128&lt;BR /&gt;semaem  32768&lt;BR /&gt;semvmx (SEMAEM)   [==&amp;gt; 32768]&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2002 15:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637656#M851615</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-01-03T15:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: High IPC/Sem Wait %</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637657#M851616</link>
      <description>An interesting development. I stumbled upon the same contradiction, that HP suggests through template tuned system settings that a much smaller timeslice is good for heavily loaded servers.&lt;BR /&gt;&lt;BR /&gt;It even made some sense to me. Being able to cchedule jobs 100 times instead of only 10 times a second, as these values seem to suggest, should advance finer more equitable CPU sharing, unless of course the scheduling itself involves high overhead, which didn't seem likely 'cause in 1/100th of a second a good processor can execute 4-5 million instructions. Does significant part of it go on the very operation of scheduling?&lt;BR /&gt;&lt;BR /&gt;I hope someone from HP comes forward and clears the mass. Where I implemented it, nobody seemed to notice any appreciable difference. And then Ann comes and absolutely deprecates the practice. What's the clue, Ann?&lt;BR /&gt;Why is 100/100 performance killer?</description>
      <pubDate>Fri, 04 Jan 2002 14:32:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-ipc-sem-wait/m-p/2637657#M851616</guid>
      <dc:creator>Dragan Krnic</dc:creator>
      <dc:date>2002-01-04T14:32:19Z</dc:date>
    </item>
  </channel>
</rss>

