<?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: multiprocessing load balance in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723515#M63671</link>
    <description>I forgot to say that the system is running HPUX 11i</description>
    <pubDate>Tue, 14 May 2002 13:55:53 GMT</pubDate>
    <dc:creator>Pedro Sousa</dc:creator>
    <dc:date>2002-05-14T13:55:53Z</dc:date>
    <item>
      <title>multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723514#M63670</link>
      <description>Hi people.&lt;BR /&gt;&lt;BR /&gt;I have a system L2000, running java 1.3.1, with 2 CPUs.&lt;BR /&gt;CPU 0 has always between 2 and 4 times the load of CPU 1.&lt;BR /&gt;&lt;BR /&gt;Do you have any idea that can help me to do some load balancing?&lt;BR /&gt;&lt;BR /&gt;below is the output of top:&lt;BR /&gt;System: poru9011                                      Tue May 14 15:22:42 2002&lt;BR /&gt;Load averages: 2.11, 1.80, 2.02&lt;BR /&gt;127 processes: 96 sleeping, 31 running&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    4.17   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.04   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   2.11   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 1391088K (1352704K) real, 5232496K (5171652K) virtual, 239236K free  Page# 1/4&lt;BR /&gt;&lt;BR /&gt;CPU TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 0   ?    3692 root     152 20 30780K 52224K run      4:43  0.73  0.73 java&lt;BR /&gt; 1   ?    2928 root     152 20 30780K 49832K run      5:26  0.53  0.53 java&lt;BR /&gt; 0   ?    4061 root     152 20 43068K 59192K run      0:48  0.51  0.51 java&lt;BR /&gt; 0   ?    3613 root     152 20 43068K 65568K run      4:53  0.47  0.47 java&lt;BR /&gt; 0   ?    3748 root     152 20 43068K 62444K run      4:28  0.46  0.46 java&lt;BR /&gt; 0   ?    6505 root     152 20 43068K 61896K run      2:25  0.45  0.45 java&lt;BR /&gt; 1   ?   13758 root     152 20 43068K 62140K run      2:20  0.44  0.44 java&lt;BR /&gt; 0   ?    1235 root     152 20 30780K 49052K run      4:40  0.44  0.44 java&lt;BR /&gt; 0   ?    3720 root     152 20 30780K 50248K run      5:27  0.43  0.43 java&lt;BR /&gt;&lt;BR /&gt;tia,&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 14 May 2002 13:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723514#M63670</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2002-05-14T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723515#M63671</link>
      <description>I forgot to say that the system is running HPUX 11i</description>
      <pubDate>Tue, 14 May 2002 13:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723515#M63671</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2002-05-14T13:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723516#M63672</link>
      <description>Have you checked with Glance? I think the application has not been written properly for multi-threading. If it has benn written as mut-threaded operation , it would have shared the load between 2 CPU.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Tue, 14 May 2002 14:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723516#M63672</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-05-14T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723517#M63673</link>
      <description>&lt;BR /&gt;You don't appear to be using threads for your java, is there a reason for this?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 14 May 2002 14:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723517#M63673</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-05-14T14:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723518#M63674</link>
      <description>this system doesn't have a license for glance. And the trial one, has already expired.</description>
      <pubDate>Tue, 14 May 2002 14:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723518#M63674</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2002-05-14T14:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723519#M63675</link>
      <description>Curious, looks pretty balanced with no load.&lt;BR /&gt;&lt;BR /&gt;Both processors are 100% idle.&lt;BR /&gt;&lt;BR /&gt;It takes busy processors before HPUX will do anything with moving processes between processors.&lt;BR /&gt;&lt;BR /&gt;If you are not having any performance problems, there is nothing to balance.</description>
      <pubDate>Tue, 14 May 2002 14:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723519#M63675</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2002-05-14T14:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723520#M63676</link>
      <description>HP-UX will assign processes to different processors when there is something to do.  Since you have a lot of java programs, this will occur automatically. If the java code is in response to web queries, most likely none of the code will run for more than a few seconds so it will be hard to see two processes running at the same time on different processors.&lt;BR /&gt;&lt;BR /&gt;To prove that HP-UX can indeed assign a busy process to the next available processor, try typing this in two different sessions:&lt;BR /&gt;&lt;BR /&gt;while :&lt;BR /&gt;do&lt;BR /&gt;:&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This is an endless loop which will use 100% of one CPU. Start another copy and it will run on the second processor. Use CTRL-C to terminate the shell loop.</description>
      <pubDate>Tue, 14 May 2002 15:26:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723520#M63676</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-05-14T15:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723521#M63677</link>
      <description>Sorry guys, I've been out for a while...&lt;BR /&gt;&lt;BR /&gt;Can you still help me ;)?&lt;BR /&gt;&lt;BR /&gt;Harry, I can't tell you the the app is configured to use threads. But it seems to me it does.&lt;BR /&gt;&lt;BR /&gt;John, I'm not having performance problems. though I would like to understand the LOAD diference between the processors.&lt;BR /&gt;&lt;BR /&gt;Bill, good test. it worked fine. so, I assume the balancing is OK.&lt;BR /&gt;&lt;BR /&gt;The main question is:&lt;BR /&gt;both CPUs show  different LOADs, why?&lt;BR /&gt;&lt;BR /&gt;many thanks for the previous answers.</description>
      <pubDate>Tue, 10 Sep 2002 11:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723521#M63677</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2002-09-10T11:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: multiprocessing load balance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723522#M63678</link>
      <description>&lt;BR /&gt;They will always show different loads unless you have two identical applications running, that start at the same time, and perform the same things at the same time.&lt;BR /&gt;&lt;BR /&gt;Now, bing that you originally posted this in MAY, I'd suggest you first bring your system up to date with the latest patch bundles, then let us know what's going on.&lt;BR /&gt;&lt;BR /&gt;BTW, you are not running a threaded java application. If you where, you wouldn't have a gillion java processes running.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 10 Sep 2002 11:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiprocessing-load-balance/m-p/2723522#M63678</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-09-10T11:11:29Z</dc:date>
    </item>
  </channel>
</rss>

