<?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: Why not kernel parameters at their highest level? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946024#M412707</link>
    <description>That depends - do you have a server with oodles of ram and cpu?  :)&lt;BR /&gt;&lt;BR /&gt;Ontop of the above link, also peruse "HP-UX Kernel Tuning and Performance Guide":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1219/tuningwp.html" target="_blank"&gt;http://docs.hp.com/en/1219/tuningwp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Main reason you have tight kernel parameters is to optimize performance.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Dec 2005 15:28:06 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-12-09T15:28:06Z</dc:date>
    <item>
      <title>Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946021#M412704</link>
      <description>I have been wondering why tuning a system involves setting tight kernel parameters instead of loosen ones. &lt;BR /&gt;&lt;BR /&gt;Shouldn't be better to have, say, inodes at 64000 when just 10000 are being used? That way you never have to worry if the inode limit will sometime be reached.&lt;BR /&gt;&lt;BR /&gt;How costly is in system resources to have maxusers at its maximum (or ninode, pty, and so on)?</description>
      <pubDate>Fri, 09 Dec 2005 14:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946021#M412704</guid>
      <dc:creator>Richard Perez</dc:creator>
      <dc:date>2005-12-09T14:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946022#M412705</link>
      <description>Hi Richard,&lt;BR /&gt;Increasing  kernel parameter to a high value can cause problem. As it needs to reserve swap and to occupy Physical memory. &lt;BR /&gt;&lt;BR /&gt;Hence kernel parameters needs to understand as per current usuage and need to configure accordingly if required to increase. For system table usuage glance -t , can be use.&lt;BR /&gt;&lt;BR /&gt;for maxusers : A good value for most systems to start with 200 , this is used to size many other tunables , so dont go overboard.&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Dec 2005 14:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946022#M412705</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-09T14:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946023#M412706</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;Some kernel parameters are "fences" that provide boundries to prevent one user or process from monopolising or consuming too much of a resource, such as memory or procesor; or the number of open files; or the number of processes that can be spawned.  As such, "fences make good neighbors".&lt;BR /&gt;&lt;BR /&gt;Other kenrel parameters allocate table slots and as such, the more allocated, the more overhead (usually memory) needed to support the larger allocation.  Thus, why waste a resource like memory to reserve slots that you aren't going to use.&lt;BR /&gt;&lt;BR /&gt;The tunable kernel manpages do an excellent job, on a tunable by tunable basis, of describing the effects of inflating or deflating various values.  Have a look on a per-tunable basis:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/TKP-90202/index.html" target="_blank"&gt;http://docs.hp.com/en/TKP-90202/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 09 Dec 2005 14:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946023#M412706</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-09T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946024#M412707</link>
      <description>That depends - do you have a server with oodles of ram and cpu?  :)&lt;BR /&gt;&lt;BR /&gt;Ontop of the above link, also peruse "HP-UX Kernel Tuning and Performance Guide":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1219/tuningwp.html" target="_blank"&gt;http://docs.hp.com/en/1219/tuningwp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Main reason you have tight kernel parameters is to optimize performance.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Dec 2005 15:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946024#M412707</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-09T15:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946025#M412708</link>
      <description>If you are using vPars (Virtual Partitions) it is a requirement that "the sum of the sizes of the kernels running in memory within a hard partition must be less than 2 GB." Having all the kernel parameters at their highest value could limit how many vPars you could create.&lt;BR /&gt;&lt;BR /&gt;Marlou</description>
      <pubDate>Fri, 09 Dec 2005 16:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946025#M412708</guid>
      <dc:creator>Marlou Everson</dc:creator>
      <dc:date>2005-12-09T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946026#M412709</link>
      <description>As mentioned, many parameters actually reserve table space and make the kernel significantly larger. Your example for ninode is a problem in that the default formula is obsolete and reserves an immense amount of kernel RAM space that is not necessary. ninode reserves space for HFS filesystems and needs only 500 to 2000 slots. Ignore what Glance and sar report as the kernel cannot report on reusable slots and thus always appears full.&lt;BR /&gt; &lt;BR /&gt;A more reasonable parameter might be nfile. If 5000 is good, why not make it 50,000 or even 5,000,000? The reason is that a huge amount of kernel space will be needed, spac e that cannot be used for anything except open file descriptors. If your typical busy system uses 5000 open files, then setting nfile to 8000 or even 10,000 is reasonable, but 100,000 would be a big waste.&lt;BR /&gt; &lt;BR /&gt;And for 32bit kernels like 10.20, the kernel cannot exceed about 12 megs in size or the kernel won't boot. So it makes sense to adjust the values as needed. The fence limits (like maxdsiz or maxuprc or maxfiles) can be set to very high values without problems as they do not allocate space. Fences are used primarily in development systems where programming errors might consume massive system resources.</description>
      <pubDate>Fri, 09 Dec 2005 16:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946026#M412709</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-12-09T16:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946027#M412710</link>
      <description>Thanks for your answers. &lt;BR /&gt;&lt;BR /&gt;Do you know how many kernel Bytes/kBytes are used by each:&lt;BR /&gt;-inode&lt;BR /&gt;-file (from maxfiles)&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 09 Dec 2005 19:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946027#M412710</guid>
      <dc:creator>Richard Perez</dc:creator>
      <dc:date>2005-12-09T19:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946028#M412711</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;The paper entitled "Common Misconfigured HP-UX Resources" ( &lt;A href="http://www.docs.hp.com/en/5580/Misconfigured_Resources.pdf" target="_blank"&gt;http://www.docs.hp.com/en/5580/Misconfigured_Resources.pdf&lt;/A&gt;&lt;BR /&gt; ) addresses your questions about inode size, memory consumption for open inodes, and the 'ninode' table.  &lt;BR /&gt;&lt;BR /&gt;Your second question about the overhead of the 'nfile' table and its relationship to 'maxfiles' brings to light another lesson.&lt;BR /&gt;&lt;BR /&gt;Increasing the 'nfile' table (for the number of open files on a system) is a common need with database and web servers.  The "Tunable Kernel Parameters" guide ( &lt;A href="http://www.docs.hp.com/en/TKP-90202/TKP-90202.pdf" target="_blank"&gt;http://www.docs.hp.com/en/TKP-90202/TKP-90202.pdf&lt;/A&gt; ) notes that on a per-slot basis the amount of memory needed for 'nfile' entries is small and one should be generous in assigning values to 'nfile'.&lt;BR /&gt;&lt;BR /&gt;By default, 'nfile' is calculated based partly on 'maxusers'.&lt;BR /&gt;&lt;BR /&gt;The 'maxusers' define (constant) is intended to represent the number of users you expect to have on your system at any one time.  Yet, if you use its value to calculate an inflated value for 'nfile' you also increase the default value of 'ninode' (which represents the number of in-memory open inodes allowed).&lt;BR /&gt;&lt;BR /&gt;Thus, perhaps without realizing it, using 'maxusers' to inflate 'nfile' which uses relatively small amounts of memory, can lead to using large amounts of memory for 'ninode'.&lt;BR /&gt;&lt;BR /&gt;This is another reason why you don't capraciously want to set kernel parameters and constants to their maximum values without understanding the cascading effects.&lt;BR /&gt;&lt;BR /&gt;Rather, in cases where larger values of 'nfile' are needed, dispose of the formula and hard-set 'nfile' to a value that satisties your requirements.  Ditto for 'ninode'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 09 Dec 2005 20:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946028#M412711</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-09T20:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946029#M412712</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Changing kernel parameters to improper or inappropriate values or combinations of values can cause data loss, system panics, and other (possibly very obscure and/or difficult to diagnose) operating anomalies.&lt;BR /&gt;&lt;BR /&gt;Before altering the value of any configurable kernel parameter, be sure you know the implications of making the change.&lt;BR /&gt;&lt;BR /&gt;Dont set any system parameter to a value outside the allowable range for the parameter. (SAM refuses to store values outside the allowable range.)&lt;BR /&gt;&lt;BR /&gt;Many parameters interact, and their values must be selected in a balanced way.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Sat, 10 Dec 2005 02:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946029#M412712</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2005-12-10T02:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why not kernel parameters at their highest level?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946030#M412713</link>
      <description>many thanks</description>
      <pubDate>Sat, 10 Dec 2005 20:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/why-not-kernel-parameters-at-their-highest-level/m-p/4946030#M412713</guid>
      <dc:creator>Richard Perez</dc:creator>
      <dc:date>2005-12-10T20:01:06Z</dc:date>
    </item>
  </channel>
</rss>

