<?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: Kernel tuning. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672195#M842265</link>
    <description>Interesting issue.  I would be curious to see what the current utilized values are for your ninodes, nflocks, shared memory tables, etc.  Could you go into glance on each system and press 't' and then put the contents into a text file for viewing.  Check to see if any of these parameters are being maxed out.  Thanks for your time.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jason V.</description>
    <pubDate>Fri, 22 Mar 2002 15:51:57 GMT</pubDate>
    <dc:creator>Jason VanDerMark</dc:creator>
    <dc:date>2002-03-22T15:51:57Z</dc:date>
    <item>
      <title>Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672183#M842253</link>
      <description>Hi all experts,&lt;BR /&gt;&lt;BR /&gt;I had 2 servers, L2000 and N4000, both running HP-UX 11.0. I tried to run some jobs on both the servers but got different run time. The N4000 used about 6 hours but the L2000 took only 3.5 hours. Both using the same databases and same programs. Why the time differnece quite large? &lt;BR /&gt;&lt;BR /&gt;I had checked the kernel parameters and only find out that 2 kernel parameters in L2000 are larger than N4000 and the others are less or same. These 2 kernel parameters are "nkthread" and "semmns". Will this the main reason why the jobs that running on the L2000 is faster than N4000? If so, how to tune these 2 parameters? Any formulas?&lt;BR /&gt;&lt;BR /&gt;ps. the databases are about 6GB in total and 17 jobs running parallel, only 1 job takes longer time to finish.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Kenny.</description>
      <pubDate>Wed, 27 Feb 2002 03:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672183#M842253</guid>
      <dc:creator>Kenny Chau</dc:creator>
      <dc:date>2002-02-27T03:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672184#M842254</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Also consider the hardware configuration of your system ie.&lt;BR /&gt;1) no. of CPUs, CPU speed&lt;BR /&gt;2) size of memory and swap (if in use)&lt;BR /&gt;3) disks (raid? mirror? stripe?)&lt;BR /&gt;4) controllers?&lt;BR /&gt;5) patch level of OSes&lt;BR /&gt;6) any other applications running on the system, etc&lt;BR /&gt;&lt;BR /&gt;Try using glance to monitor the performance of your jobs.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Wed, 27 Feb 2002 03:48:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672184#M842254</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-02-27T03:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672185#M842255</link>
      <description>This attachment should help - I tend to use it a lot when changing parameters.</description>
      <pubDate>Wed, 27 Feb 2002 03:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672185#M842255</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-02-27T03:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672186#M842256</link>
      <description>Kenny &lt;BR /&gt;&lt;BR /&gt;Check out the following doc&lt;BR /&gt;&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;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 27 Feb 2002 03:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672186#M842256</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-02-27T03:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672187#M842257</link>
      <description>Hi all, &lt;BR /&gt;&lt;BR /&gt;My L2000 has 1 CPU (440Hz), 1GB RAM, 3 HDs (internal, non-mirror, same HD while running jobs). While I was doing the test, there are many applications running at the same time. My N4000 had 4 CPUs (440Hz each), 1GB RAM, 2 SC10 Disk array(HD using for that application is 12HD, mirrored, different HD while running jobs). While I am running the jobs, no other application is running in this server.&lt;BR /&gt;&lt;BR /&gt;I know that mirror disk cause slower performance and I already make the application using different HDs (multi volume for Databases).&lt;BR /&gt;&lt;BR /&gt;I had used glance to capture the performance for the whole night but still have no clue why the N4000 takes longer time to run jobs. So I think it is the kernel parameters tuning problem. Is that true?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Kenny.</description>
      <pubDate>Wed, 27 Feb 2002 04:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672187#M842257</guid>
      <dc:creator>Kenny Chau</dc:creator>
      <dc:date>2002-02-27T04:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672188#M842258</link>
      <description>Are you saying that the single CPU server processed FASTER than the 4 CPU server?&lt;BR /&gt;If that is the case, then almost certainly your problem is I/O. Glance should show which disk/s are being hammered, and you should be able to drill down to lvol/filesystem level to see where the contention is.</description>
      <pubDate>Wed, 27 Feb 2002 14:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672188#M842258</guid>
      <dc:creator>Jakes Louw_1</dc:creator>
      <dc:date>2002-02-27T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672189#M842259</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have you checked if the slow system is swapping? If the buffer cache is too big this can happen.One way to increase the performance is set the fs_async parameter to 1(if the problem is in the I/O subsystem). Altough this is dangerous and can corrupt the HFS file systems if happens a powerdown or a panic. Why don??t post your kernel parameters here?&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Wed, 27 Feb 2002 14:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672189#M842259</guid>
      <dc:creator>oiram</dc:creator>
      <dc:date>2002-02-27T14:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672190#M842260</link>
      <description>Thanks Jakes and Oiram.&lt;BR /&gt;&lt;BR /&gt;Jakes, you are right, the 1 cpu server run jobs faster than the 4 cpu server. But I can tell you that the 1 cpu server is using 3 internal HD, 1 HD store the 6GB DB. The 4 cpu server is using the SC10 disk array and the 6GB DB is distributed into 3 HDs and from the DB manual, it said the 6GB DB distributed into different HDs will faster the Disk I/O. But when I run the same jobs in these 2 servers, the 1 cpu server is running faster than the 4 cpu server. But the main different is the 1 cpu server did not have mirror disk and the 4 cpu server had. I already ignore this because I know that mirror disk will make jobs run longer time. So do you think it is the kernel parameter setting problem? &lt;BR /&gt;&lt;BR /&gt;Oiram, here are part of the kernel setting in these 2 servers:&lt;BR /&gt;&lt;BR /&gt;1 CPU server:&lt;BR /&gt;max_thread_proc                64           64   Static    N/A    &lt;BR /&gt;nkthread                     3635         3635   Static    N/A    &lt;BR /&gt;nproc                        2068         2068   Static    N/A    &lt;BR /&gt;semmni                        128          128   Static    N/A          &lt;BR /&gt;semmns                       3072         3072   Static    N/A &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;4 cpu server:&lt;BR /&gt;&lt;BR /&gt;max_thread_proc               256          256   Static    N/A     &lt;BR /&gt;nkthread                     2048         2048   Static    N/A     &lt;BR /&gt;nproc                        3220         3220   Static    N/A   &lt;BR /&gt;semmni                        256          256   Static   N/A                                            semmns                       2048         2048   Static    N/A&lt;BR /&gt;   &lt;BR /&gt;Do you think I should need to increase the nkthread to improve the performance of the 4 cpu server?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Kenny.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Feb 2002 01:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672190#M842260</guid>
      <dc:creator>Kenny Chau</dc:creator>
      <dc:date>2002-02-28T01:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672191#M842261</link>
      <description>Hi Kenny,&lt;BR /&gt;&lt;BR /&gt;I suggest you look hard at your kernel parameters on the N class. I've two and they run like theres no tomorrow. There are two things I would like to point out if not already.&lt;BR /&gt;&lt;BR /&gt;Buffer cache. Make sure that this is no more than 300Mb. Also you may need to increase your shared memory and semaphore areas. Have a look at these:&lt;BR /&gt;&lt;BR /&gt;semmap          15002&lt;BR /&gt;semmni          8192&lt;BR /&gt;semmns          16384&lt;BR /&gt;semmnu          4096&lt;BR /&gt;semume          128&lt;BR /&gt;semvmx          65535&lt;BR /&gt;shmmax          1073741824&lt;BR /&gt;shmmni          1024&lt;BR /&gt;shmseg          1024&lt;BR /&gt;&lt;BR /&gt;Without knowing what application your running it is a little difficult to give direct recommendations.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 28 Feb 2002 02:08:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672191#M842261</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-02-28T02:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672192#M842262</link>
      <description>Thanks Michael, my company is running some Progress DB. Quite an uncommon database. So I can not get any information from here except consult my HP consultant. Your suggestion is quite strong to my server. I think it will solve the problem but not so sure my server can support this setting. Maybe I will try to setup a bit lower than your settings to see if it can solve my problem.&lt;BR /&gt;&lt;BR /&gt;Thanks very much.&lt;BR /&gt;Kenny.</description>
      <pubDate>Thu, 28 Feb 2002 02:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672192#M842262</guid>
      <dc:creator>Kenny Chau</dc:creator>
      <dc:date>2002-02-28T02:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672193#M842263</link>
      <description>Also compare the patch levels of the two systems - is it possible that the L class is more recently patched?&lt;BR /&gt;&lt;BR /&gt;The max_thread_proc and nkthread parameters are unlikely to be the cause of the performance problems, but it is an issue that you have nproc &amp;gt; nkthread on the N.  I recommend you correct this.  As others have suggested, also check the buffer cache and IPC related parameters (shm* / sem*).&lt;BR /&gt;&lt;BR /&gt;The other area to focus on is the database - is it configured identically on each system?  I would go over this very carefully.&lt;BR /&gt;&lt;BR /&gt;Finally - measure.  Check the measureware data, and collect glance / sar / vmstat data while the jobs are running.  This will help you determine where the bottleneck might be.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 28 Feb 2002 09:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672193#M842263</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-02-28T09:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672194#M842264</link>
      <description>I am assuming that you have a multithreaded application or a multiprocess application. If your application is single threaded and running in a single process, then that application can only make use of 1 CPU. The extra 3 CPUs in the N-class server will not be of any help. So, you may actually be comparing the performance of 1 CPU on the L with 1 CPU on the N.</description>
      <pubDate>Tue, 12 Mar 2002 15:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672194#M842264</guid>
      <dc:creator>Todd Larchuk</dc:creator>
      <dc:date>2002-03-12T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672195#M842265</link>
      <description>Interesting issue.  I would be curious to see what the current utilized values are for your ninodes, nflocks, shared memory tables, etc.  Could you go into glance on each system and press 't' and then put the contents into a text file for viewing.  Check to see if any of these parameters are being maxed out.  Thanks for your time.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jason V.</description>
      <pubDate>Fri, 22 Mar 2002 15:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672195#M842265</guid>
      <dc:creator>Jason VanDerMark</dc:creator>
      <dc:date>2002-03-22T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672196#M842266</link>
      <description>Have you got any message in dmesg or syslog.log regarding the kthread:table is full.&lt;BR /&gt;Anyway you can increase both the parameters and see what is the result. Those parameters doesn't have any diverse effect on the system if it increased.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 22 Mar 2002 17:16:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672196#M842266</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-03-22T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel tuning.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672197#M842267</link>
      <description>Hi,&lt;BR /&gt;1. It depends on what kind of cron jobs are runing.&lt;BR /&gt;2.The other thing to consider is that if both the machines are running on same network, becasue if they are on different network then network jobs will take the different time due to different network traffic conditions.&lt;BR /&gt;&lt;BR /&gt;3. What are the SCSI controllers used in both types of machines. That also matters Disk I/O rates if the cron job has to do something with disk operations.&lt;BR /&gt;&lt;BR /&gt;4. The swap momory size in both machines are same? If not that also matters the different in time while executing th same job.&lt;BR /&gt;&lt;BR /&gt;Hope this poits will bring you something might to look at while anylising your constraint.&lt;BR /&gt;&lt;BR /&gt;-pap&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Mar 2002 17:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-tuning/m-p/2672197#M842267</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-03-22T17:38:45Z</dc:date>
    </item>
  </channel>
</rss>

