<?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 SMP Load Balancing in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874630#M79271</link>
    <description>GS1280 15 CPU  64GB&lt;BR /&gt;900 processes (VMS + application + Oracle 9i)&lt;BR /&gt;&lt;BR /&gt;Attached is an ECP report showing CPU usage&lt;BR /&gt;per CPU averaged over a 3 hour period (8-11am).&lt;BR /&gt;&lt;BR /&gt;Question: can someone explain why there is a&lt;BR /&gt;35% spread between the lowest CPU utilization&lt;BR /&gt;and the highest?  We are having response time&lt;BR /&gt;problems during spikes in application usage.&lt;BR /&gt;I'm guessing that if the CPU usage were more uniform, the spikes would be handled better&lt;BR /&gt;(though I may be wrong about this).&lt;BR /&gt;&lt;BR /&gt;We would rather not buy more (very expensive)&lt;BR /&gt;CPU modules if there is some way to tune the&lt;BR /&gt;system.  TIA</description>
    <pubDate>Wed, 04 Oct 2006 16:39:07 GMT</pubDate>
    <dc:creator>Jack Trachtman</dc:creator>
    <dc:date>2006-10-04T16:39:07Z</dc:date>
    <item>
      <title>SMP Load Balancing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874630#M79271</link>
      <description>GS1280 15 CPU  64GB&lt;BR /&gt;900 processes (VMS + application + Oracle 9i)&lt;BR /&gt;&lt;BR /&gt;Attached is an ECP report showing CPU usage&lt;BR /&gt;per CPU averaged over a 3 hour period (8-11am).&lt;BR /&gt;&lt;BR /&gt;Question: can someone explain why there is a&lt;BR /&gt;35% spread between the lowest CPU utilization&lt;BR /&gt;and the highest?  We are having response time&lt;BR /&gt;problems during spikes in application usage.&lt;BR /&gt;I'm guessing that if the CPU usage were more uniform, the spikes would be handled better&lt;BR /&gt;(though I may be wrong about this).&lt;BR /&gt;&lt;BR /&gt;We would rather not buy more (very expensive)&lt;BR /&gt;CPU modules if there is some way to tune the&lt;BR /&gt;system.  TIA</description>
      <pubDate>Wed, 04 Oct 2006 16:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874630#M79271</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2006-10-04T16:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: SMP Load Balancing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874631#M79272</link>
      <description>Simple. Openvms schedules a runnable user task with no established affinity on the first idle cpu starting from the high numbers.&lt;BR /&gt;&lt;BR /&gt;The thought/plan is that the lower cpus as (semi) reserved for interupt handling (Istk) and lock manager as needed.&lt;BR /&gt;&lt;BR /&gt;Looks like a nicely balanced, busy, system to me. With this as average it does not surprise me to hear that during peak soem response time problems happen, but I suspect that during those peaks all CPUs were gainfully employed, otherwise you'd never see user time on the low CPUs, and you do.&lt;BR /&gt;&lt;BR /&gt;A more fine-grained picture (time wise) might help here. T4&lt;BR /&gt;&lt;BR /&gt;The bulk of the CPU is spend in user mode, so any tuning would have to happen there to have an effect. Even if you magically could tune all kernel mode away, then you'd still only made a minor impact. Still, what is believed to be responsible for the kernel time? QIO, Scheduler, Locks, Logical names?&lt;BR /&gt;&lt;BR /&gt;How is the gut feel on the Oracle tuning?&lt;BR /&gt;How much (percentage) of the time goes there?&lt;BR /&gt;Have folks been looking at statspack, high-get queries and such? Excessive spinning? That coudl cause an IO or lock bottleneck to look like a cpu shortage.&lt;BR /&gt;&lt;BR /&gt;You might want to set some affinity to heavier hitting oracle processes to lower CPUs to keep those processes a little out of the scheduling picture (LGWR, DBWR, MON,...)&lt;BR /&gt;&lt;BR /&gt;Interesting!&lt;BR /&gt;&lt;BR /&gt;Hope this helps a little,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;HvdH Performance Consulting.</description>
      <pubDate>Wed, 04 Oct 2006 17:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874631#M79272</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-10-04T17:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: SMP Load Balancing</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874632#M79273</link>
      <description>Jack,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  I'm guessing that if the CPU usage were more uniform, the spikes would be handled better&lt;BR /&gt;&lt;BR /&gt;  Unlikely. CPU isn't really "load balanced" in the same way as (say) network traffic. If a process is computable and there's a CPU available, it will execute. In VERY broad terms, the more CPUs you have, the more likely one will be available when a process becomes computable.&lt;BR /&gt;&lt;BR /&gt;  If we assume that all compute processing is independent, you can scale linearly with CPUs. However, that's a bad assumption. Most processing activity will involve access to shared resources, which requires interlocking, and therefore synchronization between CPUs. This will reduce performance scaling.&lt;BR /&gt;&lt;BR /&gt; The other effect is to do with the distribution of demand for CPU. If a CPU is idle, but there are no computable processes, it will remain idle. Thus, if you have numerous processes all waiting for the same event, they may all become computable at the same time. If there are more processes than CPUs, then some will have to wait. So, even if the total demand for CPU over some period of time is less than the total available compute resource, it's still possible that spikes in demand will mean less than perfect utilization.&lt;BR /&gt;&lt;BR /&gt;  As Hein says, you can force some processes to use specific CPUs using affinity, but really all that can do is improve performance for the specific process by (possibly) guaranteeing access to a CPU when required. The effect on overall system performance is only likely to be negative, because it reduces the system's choices. There may be special cases where giving a "key" process preferred access to a CPU can help smooth out CPU demand, but there aren't any generic methods for identifying such a circumstance.&lt;BR /&gt;&lt;BR /&gt;  Learn your workload. Decrease the granularity of your samples to see if you can identify patterns.</description>
      <pubDate>Thu, 05 Oct 2006 02:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/smp-load-balancing/m-p/3874632#M79273</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-10-05T02:11:34Z</dc:date>
    </item>
  </channel>
</rss>

