<?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 kernel params set too large in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902697#M105293</link>
    <description>OK, clever guys.... &lt;BR /&gt;I need details on the negative impact of tuning certain kernel params too LARGE, especially the impact on syscalls that need to scan all these frigging kernel tables. The params I'm specifically looking at reducing are: &lt;BR /&gt;NPROC &lt;BR /&gt;NFILE &lt;BR /&gt;SHMMNI &lt;BR /&gt;MSGMNI &lt;BR /&gt;SEMMNI &lt;BR /&gt;NFLOCKS &lt;BR /&gt;NPTY/NSTRPTY &lt;BR /&gt;NINODE &lt;BR /&gt;MSGMAP &lt;BR /&gt;SEMMAP &lt;BR /&gt;&lt;BR /&gt;The current settings were "thumb-sucked" by a local HP SE that might have been a little intimidated by the SuperDome. My theory is that certain syscalls like READ, WRITE, OPEN, etc, are spending cumulative time racking through these tables. At several gazillion I/Os per day, this all adds up....</description>
    <pubDate>Wed, 12 Feb 2003 12:57:47 GMT</pubDate>
    <dc:creator>Jakes Louw_1</dc:creator>
    <dc:date>2003-02-12T12:57:47Z</dc:date>
    <item>
      <title>kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902697#M105293</link>
      <description>OK, clever guys.... &lt;BR /&gt;I need details on the negative impact of tuning certain kernel params too LARGE, especially the impact on syscalls that need to scan all these frigging kernel tables. The params I'm specifically looking at reducing are: &lt;BR /&gt;NPROC &lt;BR /&gt;NFILE &lt;BR /&gt;SHMMNI &lt;BR /&gt;MSGMNI &lt;BR /&gt;SEMMNI &lt;BR /&gt;NFLOCKS &lt;BR /&gt;NPTY/NSTRPTY &lt;BR /&gt;NINODE &lt;BR /&gt;MSGMAP &lt;BR /&gt;SEMMAP &lt;BR /&gt;&lt;BR /&gt;The current settings were "thumb-sucked" by a local HP SE that might have been a little intimidated by the SuperDome. My theory is that certain syscalls like READ, WRITE, OPEN, etc, are spending cumulative time racking through these tables. At several gazillion I/Os per day, this all adds up....</description>
      <pubDate>Wed, 12 Feb 2003 12:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902697#M105293</guid>
      <dc:creator>Jakes Louw_1</dc:creator>
      <dc:date>2003-02-12T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902698#M105294</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I'd have a look at the Tunable Kernel Paramters for 11i documentation.  This gives one of the best guidelines I've seen for values as well as guidelines.  Specifically, see the Tunable Reference Manpages section:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Feb 2003 13:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902698#M105294</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-12T13:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902699#M105295</link>
      <description>Thanks, James. You deserve a coupla points for the link!</description>
      <pubDate>Mon, 17 Feb 2003 13:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902699#M105295</guid>
      <dc:creator>Jakes Louw_1</dc:creator>
      <dc:date>2003-02-17T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902700#M105296</link>
      <description>Most of the tables you are referring to are either directly addresses or accessed using some kind of hashing. So don't expect too much from your tuning... OK, you save memory.&lt;BR /&gt;&lt;BR /&gt;Two prominent exceptions are ninode (unless you restrict the DNLC uing the ncsize tunable) and  dbc_max_pct (important, although not listed by you).&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 17 Feb 2003 14:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902700#M105296</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-02-17T14:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902701#M105297</link>
      <description>Your theory that these items generate I/O is false.  The kernel tables sit in memory, and are not used unless they are referenced.  While some kernel params can have a negative impact, most do nothig but make the kernel a little larger.&lt;BR /&gt;&lt;BR /&gt;Think about your logic for a minute or 2.  How can increasing the ninode param create open(), read(), and write() syscalls?  This just means that when a file is created, ninode is looked at to ensure the max is not reached.  &lt;BR /&gt;&lt;BR /&gt;If the ninode param is not reached, I/O will then occur to make the inode(and other activity).  This occurs whether or not you have a large or small ninode parameter set.&lt;BR /&gt;&lt;BR /&gt;NTPY is another easy excmple.  This controls how many open connections you could possibly have.  As long as the limit is not reached connections can be established.  The I/O for each session will occur regardless of what your NTPY param is set too.&lt;BR /&gt;&lt;BR /&gt;Remember that alot (or most) of the kernel parameters are there as safety precautions.   Example: ninode controls how many files you can have in a directory, hopefully catching a bug in code looping and blowing out file systems. Do you really think HP-UX really cares if you have a million files or 1? Not really.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Feb 2003 17:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902701#M105297</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-17T17:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902702#M105298</link>
      <description>Shannon,&lt;BR /&gt;&lt;BR /&gt;reading the original question, I think we are not talking about additional I/Os? I think Jakes is talking about additional kernel overhead while processing syscalls.&lt;BR /&gt;&lt;BR /&gt;BTW, ninode tunes the size of the HFS(!) inode cache (and inirectly the size of the DNLC, the directoy name lookup cache). It does not limit the number of files in a directory or similar.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 17 Feb 2003 17:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902702#M105298</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-02-17T17:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902703#M105299</link>
      <description>As mentioned, most of these parameters are table sizes and the tables are not searched serially. In fact, setting nfile to 5million does not affect the system's throughput! All it does is to reserve space for 5million entries. And if 4million files are opened at the same time, the file table still performs it's job at full speed. Only tools like lsof may run slowly since it is looking for specific files associated with various processes.&lt;BR /&gt;&lt;BR /&gt;And once a file is open, the file control block is kept local to the application so that read/write tasks do not need the kernel structures.&lt;BR /&gt;&lt;BR /&gt;You'll need to look further for resons that the system seems to be running slowly. Start with the load: is the system overhead in the 5-15% range or is it in the 50-75% range? High system overhead is a sign that applications are asking opsystem to do things inefficiently.&lt;BR /&gt;&lt;BR /&gt;Is the compute time excessive (80-100%) on just ine processor? In that case, a simple (but bad) shell script can saturate one processor. Or an application can do the same thing because it is not threaded (or configured for multi-processors).&lt;BR /&gt;&lt;BR /&gt;Improving performance requires an understanding of what the applications are doing and whether you have any control over these tasks. Rarely can you you see a dramatic improvement in performance by tweaking the kernel. It's better to look at the apps and the calls that they make to the opsystem first.</description>
      <pubDate>Mon, 17 Feb 2003 17:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902703#M105299</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-02-17T17:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params set too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902704#M105300</link>
      <description>Deitmer,&lt;BR /&gt;&lt;BR /&gt;I probably did not do a good job explaining but in essense most of the kernel params listed are hard limits which do not have impact on performance nor kernel size.&lt;BR /&gt;&lt;BR /&gt;The I/O does not occur by checking the limits, but by the processes past the point of the limit succeeding.  &lt;BR /&gt;&lt;BR /&gt;Does that make better sense?&lt;BR /&gt;&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 17 Feb 2003 18:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params-set-too-large/m-p/2902704#M105300</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-17T18:27:18Z</dc:date>
    </item>
  </channel>
</rss>

