<?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: System Load on Linux - why so HIgh yet CPU is Low? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599524#M40092</link>
    <description>Check the kernel scheduler.  Maybe changing it can help a lot.  What are your I/O disk devices?</description>
    <pubDate>Tue, 16 Mar 2010 06:25:15 GMT</pubDate>
    <dc:creator>Ragu_3</dc:creator>
    <dc:date>2010-03-16T06:25:15Z</dc:date>
    <item>
      <title>System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599515#M40083</link>
      <description>On HP-UX, Systenm Load approaches or exceeds 1.0 almost on the dot when CPU is approaching 100% or stays at 100%.&lt;BR /&gt;&lt;BR /&gt;On my 24-core Linux RHEL 5.4 DB-only Server (Oracle) -- System Load hovers at around 20 when CPU Util (sys+user) is barely 10%&lt;BR /&gt;&lt;BR /&gt;Is this the Norm on Linux?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2010 19:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599515#M40083</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-03-11T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599516#M40084</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The answer to this question is: It depends.&lt;BR /&gt;&lt;BR /&gt;Oracle tends to do a lot of I/O and having a lot of I/O threads tends to pump up your load factor, even if the system itself is not doing CPU heavy work.&lt;BR /&gt;&lt;BR /&gt;Linux handles I/O differently than HP-UX&lt;BR /&gt;&lt;BR /&gt;Your HP-UX example is not representative of HP-UX either.&lt;BR /&gt;&lt;BR /&gt;Load factor on both OS's has nothing to do with CPU utilization. It has to do with how many processes are waiting for CPU.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 Mar 2010 19:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599516#M40084</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-03-11T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599517#M40085</link>
      <description>the load number you speak of, is an indicator to tell you how many processes are waiting for cpu time. the CPU% is in fact how busy a cpu is, those are 2 different things and they tell a different story.</description>
      <pubDate>Fri, 12 Mar 2010 13:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599517#M40085</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2010-03-12T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599518#M40086</link>
      <description>&lt;!--!*#--&gt;But amigos, this is a 24-core system. Why would processes be queuing?&lt;BR /&gt;&lt;BR /&gt;OTH, I found this:&lt;BR /&gt;"An idle computer has a load number of 0 and each process using or waiting for CPU adds to the load number by 1. Most UNIX systems count only processes in the running (on CPU) or runnable (waiting for CPU) states. However, Linux also includes processes in uninterruptible sleep states (usually waiting for disk activity), which can lead to markedly different results if many processes remain blocked in I/O due to a busy or stalled I/O system. This, for example, includes processes blocking due to an NFS server failure or to slow media (e.g., USB 1.x storage devices)."&lt;BR /&gt;&lt;BR /&gt;So it is possible whatever 2 or 3 processes that are on the "run queue" are being queued not because of CPU lack but waiting for hardware interrupts -- for example I/O?&lt;BR /&gt;&lt;BR /&gt;Here are some stats:&lt;BR /&gt;&lt;BR /&gt;root@sapsrv # sar 5 5&lt;BR /&gt;Linux 2.6.18-164.el5 (sapsrv.xyz.com)     03/12/2010&lt;BR /&gt;&lt;BR /&gt;05:17:02 AM       CPU     %user     %nice   %system   %iowait    %steal     %idle&lt;BR /&gt;05:17:07 AM       all      4.39      0.00      1.56     40.71      0.00     53.34&lt;BR /&gt;05:17:12 AM       all      4.37      0.00      1.86     38.84      0.00     54.94&lt;BR /&gt;05:17:17 AM       all      6.83      0.00      2.79     39.48      0.00     50.90&lt;BR /&gt;05:17:22 AM       all      4.79      0.00      1.12     38.44      0.00     55.65&lt;BR /&gt;05:17:27 AM       all      4.63      0.00      1.28     39.93      0.00     54.17&lt;BR /&gt;Average:          all      5.00      0.00      1.72     39.48      0.00     53.80&lt;BR /&gt;&lt;BR /&gt;root@sapsrv # vmstat 5 5&lt;BR /&gt;procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------&lt;BR /&gt; r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st&lt;BR /&gt; 1 28 2165624 72369488 457200 48163284    0    0   627   935    1    1  3  1 75 21  0&lt;BR /&gt; 5 30 2165624 72319024 457216 48163280    6    0 23461 30454 5454 9440  6  2 52 40  0&lt;BR /&gt; 3 31 2165620 72324128 457232 48163324    0    0 19464 32710 4506 7602  5  2 56 37  0&lt;BR /&gt; 1 30 2165616 72371296 457252 48163360    0    0 13883 35297 4285 7108  5  3 52 40  0&lt;BR /&gt; 3 28 2165616 72372144 457268 48163408    0    0 17331 29416 4417 8345  4  3 55 38  0&lt;BR /&gt;&lt;BR /&gt;root@sapsrv # uptime&lt;BR /&gt; 05:17:58 up 13 days, 20:06, 11 users,  load average: 21.21, 20.51, 20.34&lt;BR /&gt;&lt;BR /&gt;From the looks of it, I think my system needs some serious "tuning". This is basically an RHEL 5.4 system, 2 x Qlogic 4Gbit HBAs, 24-core, 128GB RAM - kernel tuned for Oracle DB hosting. I think there may be a need to tune the Qlogic HBAs (ququeing?) and possibly process affinity/binding as some of the record breaking TPC runs often do.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Mar 2010 13:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599518#M40086</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-03-12T13:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599519#M40087</link>
      <description>Yes, your system is having too much I/O wait. What kind of storage and disk configuration are you using? Do you have direct and async I/O enabled? Are you using RAW/ASM or file system for database? &lt;BR /&gt;&lt;BR /&gt;As the system is not paging, this is not related to memory misconfiguration/tuning on the database.&lt;BR /&gt;&lt;BR /&gt;The output of sar -d or iostat would help. Check your disk service time.</description>
      <pubDate>Mon, 15 Mar 2010 12:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599519#M40087</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-03-15T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599520#M40088</link>
      <description>Okay.. &lt;BR /&gt;&lt;BR /&gt;In this particular scenario -- I am now theorizing the issue is with several vgdisplay and pvdisplay sessions that are hung.&lt;BR /&gt;&lt;BR /&gt;It so happened a multipath device was not graciously and properly depresented so LVM is still trying to scan those devices -- hence the hung LVM commands.&lt;BR /&gt;&lt;BR /&gt;But I do recall there were occasions in the past I noticed a CPU-unbusy system has System Load averages that is more than the ideal of less than 1.0 on a perfectly balanced and loaded system.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2010 12:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599520#M40088</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-03-15T12:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599521#M40089</link>
      <description>If "load average" is your concern and not the I/O wait, maybe this link can give you some answers:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/magazine/011sep05/departments/tips_tricks/" target="_blank"&gt;http://www.redhat.com/magazine/011sep05/departments/tips_tricks/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Section: &lt;BR /&gt;&lt;BR /&gt;"What is the relation between I/O wait and load average?"&lt;BR /&gt;&lt;BR /&gt;I still want to know your disks service time. Maybe your load balancing policy is not ideal for your storage.</description>
      <pubDate>Mon, 15 Mar 2010 13:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599521#M40089</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-03-15T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599522#M40090</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;Our backend is all HP StorageWorks - EVAs and XP Storage. We have the 4.3.0 HPDLM bundle installed.&lt;BR /&gt;&lt;BR /&gt;Just looked at our sysstat sar logs and queing at times are through the roof with svc times sometimes breaching 100ms.&lt;BR /&gt;&lt;BR /&gt;My FC-Links are dual 4Gbit QLogic HBAs. Only tweak I have is:&lt;BR /&gt;&lt;BR /&gt;options qla2xxx ql2xenablemsi=1 ql2xenablezio=1 ql2xintrdelaytimer=1 ql2xmaxqdepth=96 ql2xfailover=0&lt;BR /&gt;&lt;BR /&gt;Which the latest patching seem to no longer like as the driver seem to have been downgraded (awaiting confirmation by RH though). We're on RHEL 5.4 btw.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2010 13:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599522#M40090</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-03-15T13:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599523#M40091</link>
      <description>Â¿And all disks are having that service time? We had problems with EVA storage when for some reason the writeback cache was disabled on the VDISK.&lt;BR /&gt;&lt;BR /&gt;For XP Storage, I would run a dd performance test to identify the response time outside the database.</description>
      <pubDate>Mon, 15 Mar 2010 14:13:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599523#M40091</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-03-15T14:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599524#M40092</link>
      <description>Check the kernel scheduler.  Maybe changing it can help a lot.  What are your I/O disk devices?</description>
      <pubDate>Tue, 16 Mar 2010 06:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599524#M40092</guid>
      <dc:creator>Ragu_3</dc:creator>
      <dc:date>2010-03-16T06:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: System Load on Linux - why so HIgh yet CPU is Low?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599525#M40093</link>
      <description>Personally I find I/O Wait to be of minimal use other than to tell you there is I/O going on as all it tells you is there was a clock tick during I/O.  As an experiment, if you generate a lot of i/o with a tool like robin miller's dt program (my favorite) and run collectl to watch cpu and disk, you should see almost 100% disk utilization (this is a good thing) and high I/O wait as well since the cpu doesn't have anything better to do while waiting for I/O.  Now fire off something with a heavy cpu load and you should see I/O wait go down yet the i/o load remains at 100%.&lt;BR /&gt;&lt;BR /&gt;Another counter than can be tricky I/O is the load average.  The intent is to show how busy  you system is by looking at the number of jobs in the run state, BUT in some cases it can be misleading.  Consider a very busy nfs server with many daemons, say over 500.  I had a server running flat out and I saw load averages in the 50s and even higher!  From this, one would be inclined to say the system was misbehaving but it wasn't.  With this many threads of NFS activity, a lot of the daemons were actively doing work and hence the high average.  While this may be an extreme example my point is that at least in some cases looking at the numbers isn't always sufficient and you have to consider what the system is doing at the time you're measuring it.&lt;BR /&gt;&lt;BR /&gt;-mark</description>
      <pubDate>Sun, 18 Apr 2010 10:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-on-linux-why-so-high-yet-cpu-is-low/m-p/4599525#M40093</guid>
      <dc:creator>MarkSeger</dc:creator>
      <dc:date>2010-04-18T10:16:01Z</dc:date>
    </item>
  </channel>
</rss>

