<?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 Questions. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746183#M68944</link>
    <description>Hi There:&lt;BR /&gt;&lt;BR /&gt;  We had a LOAD/SOAK test and the following were the findings.&lt;BR /&gt;Environment:11.0 N-class. with march '02 patch level and 20 Gig memory.&lt;BR /&gt;&lt;BR /&gt;when we hit 297 users the filetable was full and we had to change&lt;BR /&gt;nfile    from 20000   to    40000&lt;BR /&gt;nproc    from  4420   to     7220&lt;BR /&gt;ncallout from  4436   to     7236&lt;BR /&gt;maxusers from   550   to      900&lt;BR /&gt;&lt;BR /&gt;I did not change ninode 'coz it was already at 9114. When we continued LOAD/SOAK testing, we hit 360 users before the following message&lt;BR /&gt; came up&lt;BR /&gt;&lt;BR /&gt;sh:The fork function failed. Too many processes already exist.&lt;BR /&gt;&lt;BR /&gt;my dmesg reported  kthread: table is full.&lt;BR /&gt;&lt;BR /&gt;However my sar -v reported only 3501/7220 on proc-sz.(nproc)&lt;BR /&gt;I am attaching the kmtune output. I think i should increase nkthread&lt;BR /&gt;and max_thread_proc. &lt;BR /&gt;what would be a good value in these circumstances? Also please&lt;BR /&gt; let me know how can i monitor the value of these two parameters?&lt;BR /&gt; The load average on the machine with&lt;BR /&gt;360 users was 22.00(output of w command).&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ian.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Jun 2002 14:54:19 GMT</pubDate>
    <dc:creator>Ian Green</dc:creator>
    <dc:date>2002-06-17T14:54:19Z</dc:date>
    <item>
      <title>Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746183#M68944</link>
      <description>Hi There:&lt;BR /&gt;&lt;BR /&gt;  We had a LOAD/SOAK test and the following were the findings.&lt;BR /&gt;Environment:11.0 N-class. with march '02 patch level and 20 Gig memory.&lt;BR /&gt;&lt;BR /&gt;when we hit 297 users the filetable was full and we had to change&lt;BR /&gt;nfile    from 20000   to    40000&lt;BR /&gt;nproc    from  4420   to     7220&lt;BR /&gt;ncallout from  4436   to     7236&lt;BR /&gt;maxusers from   550   to      900&lt;BR /&gt;&lt;BR /&gt;I did not change ninode 'coz it was already at 9114. When we continued LOAD/SOAK testing, we hit 360 users before the following message&lt;BR /&gt; came up&lt;BR /&gt;&lt;BR /&gt;sh:The fork function failed. Too many processes already exist.&lt;BR /&gt;&lt;BR /&gt;my dmesg reported  kthread: table is full.&lt;BR /&gt;&lt;BR /&gt;However my sar -v reported only 3501/7220 on proc-sz.(nproc)&lt;BR /&gt;I am attaching the kmtune output. I think i should increase nkthread&lt;BR /&gt;and max_thread_proc. &lt;BR /&gt;what would be a good value in these circumstances? Also please&lt;BR /&gt; let me know how can i monitor the value of these two parameters?&lt;BR /&gt; The load average on the machine with&lt;BR /&gt;360 users was 22.00(output of w command).&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ian.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 14:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746183#M68944</guid>
      <dc:creator>Ian Green</dc:creator>
      <dc:date>2002-06-17T14:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746184#M68945</link>
      <description>Your ninode setting could probably be reduced further as it only applies to HFS filesystems and I suspect that your only HFS filesyste is stand. It could actually be reduced to under 200. &lt;BR /&gt;&lt;BR /&gt;There should be no need to increase max_thread_proc; that simply limits the number of threads that a single process is allowed to spawn. With nproc set at 7720, it only a few of these are multi-threaded, you could exceed your present setting of nkthread. The default setting sould be 15456 (nproc * 2) + 16 to a maximum of 30000. I might use the formula nkthread = (nproc * 1.5) + 16 = 11596. That should be a reasonable value that still serves as a reasonable 'fence' but allows a good number of multithreaded processes.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 15:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746184#M68945</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-17T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746185#M68946</link>
      <description>Hi,&lt;BR /&gt;I compared your params with our N4000 I use to test big configs exept you number of users we are quite the same except for :&lt;BR /&gt;ksi_alloc_max           33792  -  (NPROC*8) &lt;BR /&gt;max_thread_proc          3000                  &lt;BR /&gt;maxdsiz            0x40000000                 &lt;BR /&gt;maxdsiz_64bit      0x40000000                 &lt;BR /&gt;maxfiles                 2048                  &lt;BR /&gt;maxfiles_lim             2200                  &lt;BR /&gt;maxssiz             0x8000000                  &lt;BR /&gt;maxssiz_64bit      0x40000000                 &lt;BR /&gt;maxswapchunks       4251                       &lt;BR /&gt;maxtsiz            0x40000000                  &lt;BR /&gt;maxtsiz_64bit      0x40000000              &lt;BR /&gt;maxuprc             300                        &lt;BR /&gt;maxusers            512     &lt;BR /&gt;shmmax             0x40000000&lt;BR /&gt;ncallout                 7920  -  (16+NKTHREAD) &lt;BR /&gt;nclist                   8292  -  (100+16*MAXUSERS)          &lt;BR /&gt;ncsize                  10104  -  (NINODE+VX_NCSIZE)+(8*DNLC_HASH_LOCKS) &lt;BR /&gt;nkthread                 7904  -  (((NPROC*7)/4)+512) &lt;BR /&gt;&lt;BR /&gt;These ajustments were made in order to run rdbms (oracle 8i), controlm server and BAS with JDK1.3.1&lt;BR /&gt;&lt;BR /&gt;I agree with Clay for the rest...&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 16:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746185#M68946</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-17T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746186#M68947</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;  Thanks. so you think the following changes would be fine&lt;BR /&gt;&lt;BR /&gt;nkthread: 12000 (from 7751)&lt;BR /&gt;ninode  :  2000  (from 9114)(although my sar -v indicated 9114/9114 for ninode.&lt;BR /&gt;&lt;BR /&gt;Also my sar -v output indicated that my file-sz&lt;BR /&gt;was 25280/40010 with 360 users. so i might as well change that also&lt;BR /&gt;nfile : 32000 (from 40000)&lt;BR /&gt;&lt;BR /&gt;Any comments about the load average as reported in top and "w" command. the load average was around 22.50. &lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Ian.</description>
      <pubDate>Mon, 17 Jun 2002 17:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746186#M68947</guid>
      <dc:creator>Ian Green</dc:creator>
      <dc:date>2002-06-17T17:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746187#M68948</link>
      <description>Hi,&lt;BR /&gt;As Clay mentionned ninode is for HFS, so unless you are using some HFS files system except /stand, 2000-3000 should do fine, you havent said how many processors you have nor what you are trying to run so its difficult to say, the boxes Im responsible when they reach a load of 15 (uptime or top) are in a bad state...&lt;BR /&gt;  For java apps:&lt;BR /&gt;max_thread_proc &amp;gt;3000 &lt;BR /&gt;maxdsiz 0x40000000  - You have 10 times less...&lt;BR /&gt;maxdsiz_64bit 0x40000000 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 17:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746187#M68948</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-17T17:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746188#M68949</link>
      <description>I also noticed:&lt;BR /&gt;dbc_max_pct          3&lt;BR /&gt;dbc_min_pct          1&lt;BR /&gt;&lt;BR /&gt;swapmem_on           1&lt;BR /&gt;&lt;BR /&gt;You seem to have 4 GB of swap which explains the swapmem option but with 20 GB RAM I would increase dbc_max_pct to 10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;all the best&lt;BR /&gt;&lt;BR /&gt;Victor</description>
      <pubDate>Mon, 17 Jun 2002 17:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746188#M68949</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-17T17:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746189#M68950</link>
      <description>The ninode parameter is used for a couple of other things besides just HFS. It indirectly sizes the DNLC, an NFS client's rnode table, and the 'maxcnodes' kernal variable for CacheFS. While it's doubtful that it's an issue in this case, reducing the ninode parameter can have side effects on other systems that aren't that obvious. It's probably safer to set it way too big than way too small.</description>
      <pubDate>Mon, 17 Jun 2002 20:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746189#M68950</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2002-06-17T20:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746190#M68951</link>
      <description>Hi Mark,&lt;BR /&gt;True!&lt;BR /&gt;But then if you dont know What is been expected nor the configuration you would suggest on a "general purpose/rule"...&lt;BR /&gt;&lt;BR /&gt;which would be for performance stay between 2000/4000 knowing that exceeding 3000 if unnecessary is just waiste of resource...&lt;BR /&gt;but 'ncsize' which controls the dynamic Name lookup Cache (DNLC) for all file system types uses ninode, we agree it depends on what you tasks you dedicate you box (sorry for my english - Im suffering of the heat and have abused of rose and grappa... In fact I should be in bed...).&lt;BR /&gt;&lt;BR /&gt;Until we have more precisions, its difficult to evaluate on how to optimize such a box...&lt;BR /&gt;I am very proud (and having tuned) of a K360 2 procs-2GB running 7 oracle bases one never being stopped (24/24 web...) + 1 sybase and beeing a ftp server, with in peek more than 600 concurrent users in production without any failure for more than 3 years...&lt;BR /&gt;&lt;BR /&gt;Its all a question of finding the good compromize and Im a bit sad that the gurus in performance/tuning have not yet snt any comments...&lt;BR /&gt;Although I agree with you Mark I remember having configured a box with parameters in excess "probably safer to set it way too big than way too small" that ever wanted to boot on such a kernel...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 20:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746190#M68951</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-17T20:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746191#M68952</link>
      <description>Hi Victor:&lt;BR /&gt;&lt;BR /&gt;   Thanks for your time. However i am not able to come to a solution. I am sorry i did not mention about the cpu's. We have 6 cpu @ 750 mhz. and 20 gig ram hosting mostly xmotif applications. I am not too sure about your recommendation on dbc params as the gurus have always maintained them around 300-400 megs. I am still waiting for some concrete answers about the parameters i mentioned(nkthread, ninode, nfile). May be the gurus will answer today. Let us hope.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ian.</description>
      <pubDate>Tue, 18 Jun 2002 11:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746191#M68952</guid>
      <dc:creator>Ian Green</dc:creator>
      <dc:date>2002-06-18T11:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746192#M68953</link>
      <description>Hi Ian,&lt;BR /&gt;I would go and look if glance/gpm is installed on the box, if not - install a time-limited trial version, that you should find on your apps cds, or download from HP&lt;BR /&gt;&lt;BR /&gt;You will be able to see far more what's going on, if you have bottlenecks etc...&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 18 Jun 2002 11:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746192#M68953</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2002-06-18T11:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Questions.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746193#M68954</link>
      <description>Another performance tool for HP 9000's is SOS/9000 from Lund Performance (&lt;A href="http://www.lund.com)." target="_blank"&gt;www.lund.com).&lt;/A&gt; It's a bit less expensive than Glance, I think, has an Oracle performance module (not sure how complete it is, though), and keeps performance logs and can plot historical trends. They also have a charting package for management charts, etc. You also get one free performance audit-and-advice per year on your support contract. Lund is very good to work with ... I've been a customer for 8 years now. Tell them I referred you. :)</description>
      <pubDate>Tue, 18 Jun 2002 12:04:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-questions/m-p/2746193#M68954</guid>
      <dc:creator>Mark Landin</dc:creator>
      <dc:date>2002-06-18T12:04:43Z</dc:date>
    </item>
  </channel>
</rss>

