<?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>Operating System - HP-UX의 주제 Re: HPUX 11.22 Process switching CPU problem</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934473#M112341</link>
    <description>60000 CPU switches in three hours is epsilon - small enough as not likely to matter.  However, if you want to lock the process to a given CPU, you can use the mpsched command - either  by launching the process from mpsched, or after the process is running.&lt;BR /&gt;&lt;BR /&gt;I think that Doug's suggestion to try to get a native IPF version of the binary is a very good one.  There may also be some useful intformation to be had from Caliper or perhaps prospect.  &lt;A href="http://www.hp.com/go/prospect" target="_blank"&gt;http://www.hp.com/go/prospect&lt;/A&gt; and &lt;A href="http://www.hp.com/go/caliper." target="_blank"&gt;http://www.hp.com/go/caliper.&lt;/A&gt;  If not now, certianly once you have a native IPF binary.</description>
    <pubDate>Wed, 26 Mar 2003 19:03:43 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2003-03-26T19:03:43Z</dc:date>
    <item>
      <title>HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934465#M112333</link>
      <description>We just installed a new analysis server, running dual Itanium 900MHz CPUs and HPUX 11.22. When we benchmark it, we found that a job that took 2.5 hours on a C3600 (one CPU, 1gig RAM) took 7.5 hours on the dual 900MHz Itanium with 4gig RAM.&lt;BR /&gt;&lt;BR /&gt;We notice that as the process runs, it continuously switcehs back and forth from CPU 0 to CPU 1. In the course of about 3 hours, we have over 60,000 switches! Is this an attempt to load-balance the dual CPUs? On our old system (running 2 PA-RISC CPUs) the process stayed on 1 CPU until completion.&lt;BR /&gt;&lt;BR /&gt;Any help on this is greatly appreciated.</description>
      <pubDate>Mon, 24 Mar 2003 20:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934465#M112333</guid>
      <dc:creator>HP-UX SYSTEM MANAGER</dc:creator>
      <dc:date>2003-03-24T20:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934466#M112334</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What is the kernel parameter &lt;BR /&gt;timeslice&lt;BR /&gt;set to?&lt;BR /&gt;If it's 1 CHANGE IT 10.&lt;BR /&gt;That alone could cause massive context switching.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 24 Mar 2003 21:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934466#M112334</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-24T21:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934467#M112335</link>
      <description>There are many possible variables here.&lt;BR /&gt;If you think it is related to the presence&lt;BR /&gt;of the 2nd CPU, you can try a simple&lt;BR /&gt;experiment to disable the second processor&lt;BR /&gt;temporarily by booting with the '-P1' option.&lt;BR /&gt;&lt;BR /&gt;HP-UX Boot Loader for IA64  Revision 1.713&lt;BR /&gt;&lt;BR /&gt;Press Any Key to interrupt Autoboot &lt;BR /&gt;\EFI\HPUX\AUTO ==&amp;gt; boot vmunix&lt;BR /&gt;Seconds left till autoboot -  10   &lt;BR /&gt;   Type 'help' for help       &lt;BR /&gt;&lt;HIT a="" key="" here="" to="" interrupt="" the="" boot=""&gt;&lt;BR /&gt;HPUX&amp;gt; boot vmunix -P1&lt;BR /&gt;&lt;BR /&gt;Using the 'P1' option as shown above will&lt;BR /&gt;temporarily restrict the system to using&lt;BR /&gt;only one of the available processors. This&lt;BR /&gt;will get undone automatically on the next&lt;BR /&gt;reboot.&lt;BR /&gt;&lt;BR /&gt;This should help you tell whether the slowness&lt;BR /&gt;is related to (needless?) switching between&lt;BR /&gt;processors.  Keep in mind that the IPF&lt;BR /&gt;systems may save and restore much more state&lt;BR /&gt;than PA systems do when doing a context switch.&lt;BR /&gt;A future release of HP-UX will contain some&lt;BR /&gt;optimizations to that process.&lt;BR /&gt;&lt;BR /&gt;There are other possible explanations for&lt;BR /&gt;the extra time.  How was the application&lt;BR /&gt;compiled for the rx2600?  Are you running&lt;BR /&gt;a PA or an IPF version of the binary?&lt;BR /&gt;Although PA binaries will generally work&lt;BR /&gt;on IPF systems they will generally run&lt;BR /&gt;somewhat slower than native IPF code would.&lt;BR /&gt;It's best to recompile them native if you can.&lt;BR /&gt;&lt;BR /&gt;Can you describe the nature of the job in&lt;BR /&gt;question? (Does it do a lot of I/O ? Use a lot&lt;BR /&gt;of memory? Do a lot of system calls ?  A lot of floating point computations?)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/HIT&gt;</description>
      <pubDate>Tue, 25 Mar 2003 21:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934467#M112335</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-03-25T21:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934468#M112336</link>
      <description>I also noticed this behavior when doing benchmarking seti runs on a superdome.  With 15 processors idle and 1 at 100%, the load would switch processors about every 10 seconds.  It was like the idle ones were hungry and wanted something to do.&lt;BR /&gt;&lt;BR /&gt;It must be some kind of optimization that is done with 11.22 as it was not happening with 11.0 on the last multiprocessor system I tested.&lt;BR /&gt;&lt;BR /&gt;It is much more efficient to keep the process in the same cpu.&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 21:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934468#M112336</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2003-03-25T21:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934469#M112337</link>
      <description>Keep in mind that 11.22 is the IPF version of HP-UX.  The PA releases have had many years for tuning of the machine dependent parts of the system.  The IPF versions are still undergoing that tuning.  It still seems premature to assume that the problem is due solely to context switch overhead.  60,000 context switches should not take anywhere near several hours.  I strongly suspect something else is affecting the results, even if the context switching code isn't optimal. I'd be very interested to see answers to the previously asked questions about the nature&lt;BR /&gt;of the application.&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 22:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934469#M112337</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-03-25T22:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934470#M112338</link>
      <description>To anser all your questions:&lt;BR /&gt;Timeslice is set to "10" already; that's the first thing we checked. Our old system was set to 1, and we didn't have this problem.&lt;BR /&gt;&lt;BR /&gt;We cannot reboot the machine right now; it's in production. However, I can answer the questions about the actual program.&lt;BR /&gt;&lt;BR /&gt;The program in question is an engine analysis program, which was compiled on/for PA-RISC. It is mainly floating point ops, very CPU intensive but not particularly disk or i/o heavy. &lt;BR /&gt;&lt;BR /&gt;Also, I didn't mean to say that the cause of the slowdown was due to the switching; just that this is a new behavior that we didn't see in our old system. If possible we'd like to disable it without disabling the CPU. I was hoping for further insight into why the analysis application would run so much slower.&lt;BR /&gt;&lt;BR /&gt;I'll see if we can get a recompile on it.</description>
      <pubDate>Wed, 26 Mar 2003 12:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934470#M112338</guid>
      <dc:creator>HP-UX SYSTEM MANAGER</dc:creator>
      <dc:date>2003-03-26T12:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934471#M112339</link>
      <description>That's extremely interesting that the program is heavy on floating point - the IPF architecture is supposed to excel at floating point!!  Hmmm!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 26 Mar 2003 13:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934471#M112339</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-26T13:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934472#M112340</link>
      <description>I wonder if what you are seeing is overhead from aries.  You say you are running a PA binary on the IPF system.  While supported, and a great way to help in migration from PA to IPF, nobody claims that aries is the optimal way to run applications on IPF systems.  Is it possible to recompile the application native? It would not surprise me at all to see a very significant improvement in performance when you do.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Mar 2003 16:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934472#M112340</guid>
      <dc:creator>doug hosking</dc:creator>
      <dc:date>2003-03-26T16:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX 11.22 Process switching CPU problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934473#M112341</link>
      <description>60000 CPU switches in three hours is epsilon - small enough as not likely to matter.  However, if you want to lock the process to a given CPU, you can use the mpsched command - either  by launching the process from mpsched, or after the process is running.&lt;BR /&gt;&lt;BR /&gt;I think that Doug's suggestion to try to get a native IPF version of the binary is a very good one.  There may also be some useful intformation to be had from Caliper or perhaps prospect.  &lt;A href="http://www.hp.com/go/prospect" target="_blank"&gt;http://www.hp.com/go/prospect&lt;/A&gt; and &lt;A href="http://www.hp.com/go/caliper." target="_blank"&gt;http://www.hp.com/go/caliper.&lt;/A&gt;  If not now, certianly once you have a native IPF binary.</description>
      <pubDate>Wed, 26 Mar 2003 19:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-11-22-process-switching-cpu-problem/m-p/2934473#M112341</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2003-03-26T19:03:43Z</dc:date>
    </item>
  </channel>
</rss>

