<?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: CPU not switching in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709917#M60263</link>
    <description>Run the command:&lt;BR /&gt;&lt;BR /&gt;#sar -M 2 300&lt;BR /&gt;&lt;BR /&gt;while you know there is activity on the system to verify that your observation is correct.&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Apr 2002 12:44:38 GMT</pubDate>
    <dc:creator>Anthony deRito</dc:creator>
    <dc:date>2002-04-24T12:44:38Z</dc:date>
    <item>
      <title>CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709914#M60260</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;we have hp-ux 11.00 on L1000 machine. it has 2 processors.&lt;BR /&gt;&lt;BR /&gt;when i observe through glance plus, the processes which are running on TOPEND (middleware) are always using only one CPU. CPU switching is not happennig.&lt;BR /&gt;&lt;BR /&gt;what could be the reason?&lt;BR /&gt;&lt;BR /&gt;suggest me.&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;ravi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2002 11:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709914#M60260</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-04-24T11:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709915#M60261</link>
      <description>What does&lt;BR /&gt;sar -M 3 | cut -b9-80&lt;BR /&gt;tells you ?&lt;BR /&gt;--CJ</description>
      <pubDate>Wed, 24 Apr 2002 11:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709915#M60261</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-04-24T11:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709916#M60262</link>
      <description>hi CJ,&lt;BR /&gt;&lt;BR /&gt;this is the output of&lt;BR /&gt; sar -M 3 | cut -b9-80&lt;BR /&gt;&lt;BR /&gt;tst B.11.00 U 9000/800    04/24/02                                           &lt;BR /&gt;                                                                                &lt;BR /&gt;     cpu    %usr    %sys    %wio   %idle                                        &lt;BR /&gt;       0       0       0       2      98                                        &lt;BR /&gt;       1       0       0       3      96                                        &lt;BR /&gt;  system       0       0       3      97&lt;BR /&gt;---------&lt;BR /&gt;regds&lt;BR /&gt;ravi</description>
      <pubDate>Wed, 24 Apr 2002 12:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709916#M60262</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-04-24T12:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709917#M60263</link>
      <description>Run the command:&lt;BR /&gt;&lt;BR /&gt;#sar -M 2 300&lt;BR /&gt;&lt;BR /&gt;while you know there is activity on the system to verify that your observation is correct.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2002 12:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709917#M60263</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2002-04-24T12:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709918#M60264</link>
      <description>Hi Ravi Kumar&lt;BR /&gt;&lt;BR /&gt;Do a top , that will report the CPU activity , in all the porbability I think your application is a 32 BIT one and is  not multithreaded to use the multi CPU loading . So you would see only one cpu under load.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 24 Apr 2002 12:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709918#M60264</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-24T12:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709919#M60265</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;not all the processes are running on one CPU.&lt;BR /&gt;Only processes which uses a middleware (TOPEND) are running on one CPU&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;ravi</description>
      <pubDate>Wed, 24 Apr 2002 13:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709919#M60265</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-04-24T13:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709920#M60266</link>
      <description>The kernel does have a tendency to run a process on a single processor for the life of the process however, load balancing almost always overrides this so that throughput can be optimized.  There are ways to "force" processor affinity.  I do not know how to do this but this link offors some insight:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xad97663ce855d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xad97663ce855d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I wonder if TOPEND incorporates this "feature".  Have you called the vendor? &lt;BR /&gt;&lt;BR /&gt;Tony&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2002 13:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709920#M60266</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2002-04-24T13:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709921#M60267</link>
      <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;Is it that this process is always running on one particular CPU? like always on CPU 0?. If that is the case, your vendor may be using mpctl() calls to use processor affinity. Else, it may a single threaded process and no one can help it.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Apr 2002 14:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709921#M60267</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-24T14:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709922#M60268</link>
      <description>You can try to see if there are all your CPU activated:&lt;BR /&gt;Use GSP ( type control B ) to see your CPu situation.&lt;BR /&gt;There is an option to activate your CPU.&lt;BR /&gt;Maybe this is your problem...&lt;BR /&gt;&lt;BR /&gt;I hope this help you.&lt;BR /&gt;&lt;BR /&gt;Juanma.</description>
      <pubDate>Wed, 24 Apr 2002 14:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709922#M60268</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2002-04-24T14:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709923#M60269</link>
      <description>We've seen this issue with a different third-party product (8-way N-class, only one CPU doing all the work). It turns out it's caused by the way threading is handled... &lt;BR /&gt;&lt;BR /&gt;If your application uses DCE threads (enabled on HP-UX 11.0 by loading the package off the application CDs), all the threads are handled as a single process, and thus served by a single CPU. &lt;BR /&gt;&lt;BR /&gt;If your application uses Posix threads, threads are handled within the kernel and are thus able to be scheduled by the kernel scheduler, who can then distribute the threads among the CPUs.&lt;BR /&gt;&lt;BR /&gt;The DCE threads support was supposed to go away at 11.00, but there are so many applications written that still support them, so HP has the package to enable them. Unfortunately, the threads are handled as a subset of the parent user process and, thus, don't go through the kernel scheduler. Whatever CPU the parent process happens to be on is the CPU that gets the entire load of the application. &lt;BR /&gt;&lt;BR /&gt;Unfortunately, the only real fix is to rewrite the application...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 19:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709923#M60269</guid>
      <dc:creator>Steven Hargus</dc:creator>
      <dc:date>2002-04-25T19:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: CPU not switching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709924#M60270</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;This member has assigned points to 5 of 44 responses to his/her questions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 20:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-not-switching/m-p/2709924#M60270</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-25T20:24:27Z</dc:date>
    </item>
  </channel>
</rss>

