<?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: simulation server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946519#M289596</link>
    <description>Hello Gustuic.&lt;BR /&gt;What OS are u using (version)?&lt;BR /&gt;&lt;BR /&gt;How did you arrive at the conclusion that the server is overloaded. ?&lt;BR /&gt;&lt;BR /&gt;Since when is it running low ?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 17 Feb 2007 05:39:02 GMT</pubDate>
    <dc:creator>Fabian Briseño</dc:creator>
    <dc:date>2007-02-17T05:39:02Z</dc:date>
    <item>
      <title>simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946518#M289595</link>
      <description>Hello, I am a PhD student and I run a CFD (computational fluid dynamics) code on a HP server with six processors (0-5).&lt;BR /&gt;&lt;BR /&gt;The top command gives me:&lt;BR /&gt;Load averages: 1.68, 1.70 1.75&lt;BR /&gt;&lt;BR /&gt;CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS&lt;BR /&gt;0 1.77 …       &lt;BR /&gt;1 1.86        &lt;BR /&gt;2 1.66        &lt;BR /&gt;3 1.74        &lt;BR /&gt;4 1.83        &lt;BR /&gt;5 1.22        &lt;BR /&gt;Avg 1.68 1.0% 98.1% 1% 0.0% 0.0% 0.0% 0.0% 0.0%&lt;BR /&gt;&lt;BR /&gt;Is the server overloaded? I reduced the number of simulations that are running and the time for one simulation to be completed rest the same.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Mihai&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Feb 2007 05:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946518#M289595</guid>
      <dc:creator>Gustiuc</dc:creator>
      <dc:date>2007-02-17T05:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946519#M289596</link>
      <description>Hello Gustuic.&lt;BR /&gt;What OS are u using (version)?&lt;BR /&gt;&lt;BR /&gt;How did you arrive at the conclusion that the server is overloaded. ?&lt;BR /&gt;&lt;BR /&gt;Since when is it running low ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Feb 2007 05:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946519#M289596</guid>
      <dc:creator>Fabian Briseño</dc:creator>
      <dc:date>2007-02-17T05:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946520#M289597</link>
      <description>&amp;gt;I reduced the number of simulations that are running and the time for one simulation to be completed rest the same.&lt;BR /&gt;&lt;BR /&gt;This implies either you aren't overloaded, or you are very overloaded.  What about the Cpu states lines??&lt;BR /&gt;Ah, your average is 98.1 % nice.  You have the machine pegged.&lt;BR /&gt;&lt;BR /&gt;What is your machine model?</description>
      <pubDate>Sat, 17 Feb 2007 05:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946520#M289597</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-17T05:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946521#M289598</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you also post your OS version along with output of&lt;BR /&gt;sar -u 5 10&lt;BR /&gt;sar -q 5 10&lt;BR /&gt;vmstat 5 10&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Sat, 17 Feb 2007 05:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946521#M289598</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2007-02-17T05:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946522#M289599</link>
      <description>&lt;!--!*#--&gt;We are four (sometimes more) PhD students that use the same type of code and we would like to know if the use of the server is optimal. &lt;BR /&gt;&lt;BR /&gt;The hp server is (I hope I understood correctly) hpux64&lt;BR /&gt;&lt;BR /&gt;The outputs look like:&lt;BR /&gt;&lt;BR /&gt;% sar -u 5 10                           &lt;BR /&gt;&lt;BR /&gt;HP-UX n4k1 B.11.11 U 9000/800    02/17/07&lt;BR /&gt;&lt;BR /&gt;13:00:02    %usr    %sys    %wio   %idle&lt;BR /&gt;13:00:07      99       1       0       0&lt;BR /&gt;13:00:12     100       0       0       0&lt;BR /&gt;13:00:17     100       0       0       0&lt;BR /&gt;13:00:22     100       0       0       0&lt;BR /&gt;13:00:27     100       0       0       0&lt;BR /&gt;13:00:32     100       0       0       0&lt;BR /&gt;13:00:37     100       0       0       0&lt;BR /&gt;13:00:42      98       2       0       0&lt;BR /&gt;13:00:47     100       0       0       0&lt;BR /&gt;13:00:52     100       0       0       0&lt;BR /&gt;&lt;BR /&gt;Average      100       0       0       0&lt;BR /&gt;% sar -q 5 10&lt;BR /&gt;&lt;BR /&gt;HP-UX n4k1 B.11.11 U 9000/800    02/17/07&lt;BR /&gt;&lt;BR /&gt;13:06:58 runq-sz %runocc swpq-sz %swpocc&lt;BR /&gt;13:07:03     1,2      67     0,0       0&lt;BR /&gt;13:07:08     1,2      67     0,0       0&lt;BR /&gt;13:07:13     1,2      67     0,0       0&lt;BR /&gt;13:07:18     1,1      73     0,0       0&lt;BR /&gt;13:07:23     1,0      83     0,0       0&lt;BR /&gt;13:07:28     1,2      70     0,0       0&lt;BR /&gt;13:07:33     1,3      67     0,0       0&lt;BR /&gt;13:07:38     1,2      67     0,0       0&lt;BR /&gt;13:07:43     1,2      67     0,0       0&lt;BR /&gt;13:07:48     1,2      67     0,0       0&lt;BR /&gt;&lt;BR /&gt;Average      1,2      69     0,0       0&lt;BR /&gt;&lt;BR /&gt;% vmstat 5 10&lt;BR /&gt;         procs           memory                   page                              faults       cpu&lt;BR /&gt;    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id&lt;BR /&gt;   11     0     0  1502813   51383    9    3     1    0     0    0    29   1331    845   334  86  1 13&lt;BR /&gt;   11     0     0  1502813   51312   10    2     0    0     0    0     0   1169    517   260  100  0  0&lt;BR /&gt;   11     0     0  1504760   51307    3    0     0    0     0    0     0   1168    372   244  100  0  0&lt;BR /&gt;   11     0     0  1504760   50683    0    0     0    0     0    0     0   1208    457   382  98  2  0&lt;BR /&gt;   11     0     0  1503562   50707    1    0     1    0     0    0     0   1201   2849   331  99  1  0&lt;BR /&gt;   11     0     0  1503562   50707    0    0     0    0     0    0     0   1187   1077   258  100  0  0&lt;BR /&gt;   11     0     0  1501629   50707    0    0     0    0     0    0     0   1172    550   237  100  0  0&lt;BR /&gt;   11     0     0  1501629   50691   78   25     3    0     0    0     0   1176   1762   281  98  2  0&lt;BR /&gt;   11     0     0  1503624   50691   25    7     1    0     0    0     0   1184    717   238  100  0  0&lt;BR /&gt;   11     0     0  1503624   50691    8    1     0    0     0    0     0   1180    382   233  100  0  0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Feb 2007 07:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946522#M289599</guid>
      <dc:creator>Gustiuc</dc:creator>
      <dc:date>2007-02-17T07:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946523#M289600</link>
      <description>There is no way to overload the computer. Your processes are all running as fast as they can. Since these processes are compute-intensive, you can run as many at the same time as you have CPUs in the system. Eacg process will complete independently at virtually the same time as if just one process is running. Like all timesharing systems, if you run more processes than you have CPUs, then compute time will be distributed among the processes.&lt;BR /&gt; &lt;BR /&gt;Like all compute-bound processes, the best way to increase performance is to profile your program code to see where most of the time is being spent. If you are solving differential equations, look very carefully at the loops that are approximating the solution and also at the closing value. Setting the error limit too low can massively increase run times. Look also at computations in those loops -- avoid division at all costs by changing to multiplication, and make sure cute tricks such as ERR=ERR*ERR are not being used in place of ERR=ABS(ERR). Remove any constant assignments within loops. There are many other techniques to dramatically improve performance using numerical techniques designed for computers rather than pure math. A guy named Donald Knuth written some books and papers on the subject.</description>
      <pubDate>Sat, 17 Feb 2007 08:26:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946523#M289600</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-17T08:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946524#M289601</link>
      <description>Sure looks like your server is totally overloaded, or maybe 'optimally used' depending on your perspective.&lt;BR /&gt;&lt;BR /&gt;But that line about reducing work and the time for a job staying the same worries me.&lt;BR /&gt;That could be explained by a poorrly executed experiment, or by a 'busy wait' user polling loop in the code.&lt;BR /&gt;loop:&lt;BR /&gt;if &lt;ANYTHING new="" to="" work="" on=""&gt;?&lt;BR /&gt;then &lt;DO the="" work=""&gt;&lt;BR /&gt;else &lt;GO to="" loop=""&gt;&lt;BR /&gt;&lt;BR /&gt;Given 99% user mode, there is really no system tuning you can do. maybe a chatr for the executable to give it large pages for code and data?&lt;BR /&gt;`&lt;BR /&gt;Getting more CPUs, would most likely nicely allow you to get more work done, if that is a requirement.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein van den heuvel&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;/GO&gt;&lt;/DO&gt;&lt;/ANYTHING&gt;</description>
      <pubDate>Sat, 17 Feb 2007 08:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946524#M289601</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-02-17T08:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946525#M289602</link>
      <description>&amp;gt;Bill: There is no way to overload the computer.&lt;BR /&gt;&lt;BR /&gt;I would have to disagree with this.  While it is true it won't go up in smoke, it may get slower than expected, when the processes compete for resources and you spend more and more time switching than doing useful work.&lt;BR /&gt;&lt;BR /&gt;For a simple example of N CPUs and M jobs and the other resources infinite.&lt;BR /&gt;&lt;BR /&gt;If you run 1 job at a time, (without threading) it will take M * R time.  If you do N at a time (M==N), it will take M * R / N time.  If you do N + 1 jobs, it may take (N + 1) * R / N, or it make take N * R / N + R.  The former is with no swapping cost.  The latter has the last job waiting.  With M == 2*N, the latter is 2* N * R / N &lt;BR /&gt;&lt;BR /&gt;And if the swapping cost gets so high, it can be worst than either formula.</description>
      <pubDate>Tue, 20 Feb 2007 23:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946525#M289602</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-20T23:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: simulation server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946526#M289603</link>
      <description>Dennis is correct...when a program does anything besides pure computing, then overhead functions become part of the total runtime. This is why system CPU percentage is useful -- high system overhead means less time for processes. When you hit 100% on all CPUs, it is a combination of user and system time. Now for computationally intensive tasks (fluid dynamics), the process spends most of its CPU time and in this case, each additional process that is similarly compute bound, an additional CPU is needed to prevent timesharing delays.&lt;BR /&gt; &lt;BR /&gt;You are probably concerned most about wall clock time (time to complete) each process so there will be a point where all CPUs are busy and any additional processes will starting slowing completion time. The system is running full speed but it can't devote all CPU time to every process so timesharing overhead becomes noticeable.&lt;BR /&gt; &lt;BR /&gt;As mentioned, the biggest reduction in completion time will come from profiling the code. Typical compute-bound programs spend about 80% of their time in just 20% of the code. Optimizing this code will greatly improve application performance.</description>
      <pubDate>Wed, 21 Feb 2007 10:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simulation-server/m-p/3946526#M289603</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-21T10:28:02Z</dc:date>
    </item>
  </channel>
</rss>

