<?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 Linux system level CPU utilization spikes in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085369#M49301</link>
    <description>&lt;!--!*#--&gt;I am seeing occasional system level CPU spikes and am unable to zero in on a cause.  Throwing this out there to see if anyone can point me in the right direction.  Besides this kernel cpu spike, everything else seems fairly quite.  Any words of wisdom would be appreciated.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;I have pretty much just one Java tomcat application running on this system with the following opts&lt;BR /&gt;JAVA_OPTS="-server -Xmx1280m -Xms1280m"&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; uname -rv&lt;BR /&gt;2.6.11.4-20a-bigsmp #1 SMP Wed Mar 23 21:52:37 UTC 2005&lt;BR /&gt;&lt;BR /&gt;Here's a vmstat that catches my issue:&lt;BR /&gt;&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&lt;BR /&gt; 3  0      0 204284 140860 2875292    0    0     0     0 1030   209 26  0 74  0&lt;BR /&gt; 1  0      0 203628 140860 2875292    0    0     0   176 1177   462 26  1 72  0&lt;BR /&gt; 1  0      0 203756 140860 2875292    0    0     0   224 1149   288 26  0 74  0&lt;BR /&gt; 1  0      0 203564 140860 2875292    0    0     0     0 1205   358 26  0 74  0&lt;BR /&gt;88  0      0 203564 140860 2875292    0    0     0   240 1747   330 17 44 38  0&lt;BR /&gt;90  0      0 203564 140860 2875292    0    0     0     0 1374   169  9 91  0  0&lt;BR /&gt;92  0      0 203596 140860 2875292    0    0     0    12 1315   177  8 92  0  0&lt;BR /&gt;93  0      0 203596 140860 2875292    0    0     0     0 1243   160  9 91  0  0&lt;BR /&gt;93  0      0 203692 140860 2875292    0    0     0     0 1279   153  8 92  0  0&lt;BR /&gt;93  0      0 203788 140860 2875292    0    0     0     0 1018   113  9 91  0  0&lt;BR /&gt;94  0      0 203788 140860 2875292    0    0     0     8 1024   101  9 91  0  0&lt;BR /&gt;95  0      0 203868 140860 2875292    0    0     0     0 1028   101  9 91  0  0&lt;BR /&gt;96  0      0 203868 140860 2875292    0    0     0     0 1017   102  9 91  0  0&lt;BR /&gt;96  0      0 203868 140860 2875292    0    0     0     0 1024    99  8 92  0  0&lt;BR /&gt;97  0      0 203868 140860 2875292    0    0     0     0 1021   103  9 91  0  0&lt;BR /&gt; 1  0      0 203732 140860 2875292    0    0     0     0 1066   316 12 74 14  0&lt;BR /&gt; 3  0      0 203764 140860 2875292    0    0     0     0 1199   520 23  2 75  0&lt;BR /&gt; 1  0      0 203948 140860 2875292    0    0     0     0 1159   342 24  0 75  0&lt;BR /&gt; 1  0      0 203756 140860 2875292    0    0     0   346 1136   317 26  0 74  0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's some other ancillary info from the system:&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; cat /proc/cpuinfo&lt;BR /&gt;processor       : 0&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 0&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3547.13&lt;BR /&gt;&lt;BR /&gt;processor       : 1&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 0&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3579.90&lt;BR /&gt;&lt;BR /&gt;processor       : 2&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 3&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3579.90&lt;BR /&gt;&lt;BR /&gt;processor       : 3&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 3&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3579.90&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; cat /proc/meminfo&lt;BR /&gt;MemTotal:      3827500 kB&lt;BR /&gt;MemFree:        198804 kB&lt;BR /&gt;Buffers:        140872 kB&lt;BR /&gt;Cached:        2878364 kB&lt;BR /&gt;SwapCached:          0 kB&lt;BR /&gt;Active:        1826600 kB&lt;BR /&gt;Inactive:      1650012 kB&lt;BR /&gt;HighTotal:     2948992 kB&lt;BR /&gt;HighFree:        41856 kB&lt;BR /&gt;LowTotal:       878508 kB&lt;BR /&gt;LowFree:        156948 kB&lt;BR /&gt;SwapTotal:     1052248 kB&lt;BR /&gt;SwapFree:      1052248 kB&lt;BR /&gt;Dirty:             300 kB&lt;BR /&gt;Writeback:           0 kB&lt;BR /&gt;Mapped:         481840 kB&lt;BR /&gt;Slab:           134864 kB&lt;BR /&gt;CommitLimit:   2965996 kB&lt;BR /&gt;Committed_AS:  1638156 kB&lt;BR /&gt;PageTables:       2056 kB&lt;BR /&gt;VmallocTotal:   112632 kB&lt;BR /&gt;VmallocUsed:     11496 kB&lt;BR /&gt;VmallocChunk:   100860 kB&lt;BR /&gt;HugePages_Total:     0&lt;BR /&gt;HugePages_Free:      0&lt;BR /&gt;Hugepagesize:     2048 kB&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Dec 2007 20:54:08 GMT</pubDate>
    <dc:creator>Eric O'Brien</dc:creator>
    <dc:date>2007-12-20T20:54:08Z</dc:date>
    <item>
      <title>Linux system level CPU utilization spikes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085369#M49301</link>
      <description>&lt;!--!*#--&gt;I am seeing occasional system level CPU spikes and am unable to zero in on a cause.  Throwing this out there to see if anyone can point me in the right direction.  Besides this kernel cpu spike, everything else seems fairly quite.  Any words of wisdom would be appreciated.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;I have pretty much just one Java tomcat application running on this system with the following opts&lt;BR /&gt;JAVA_OPTS="-server -Xmx1280m -Xms1280m"&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; uname -rv&lt;BR /&gt;2.6.11.4-20a-bigsmp #1 SMP Wed Mar 23 21:52:37 UTC 2005&lt;BR /&gt;&lt;BR /&gt;Here's a vmstat that catches my issue:&lt;BR /&gt;&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&lt;BR /&gt; 3  0      0 204284 140860 2875292    0    0     0     0 1030   209 26  0 74  0&lt;BR /&gt; 1  0      0 203628 140860 2875292    0    0     0   176 1177   462 26  1 72  0&lt;BR /&gt; 1  0      0 203756 140860 2875292    0    0     0   224 1149   288 26  0 74  0&lt;BR /&gt; 1  0      0 203564 140860 2875292    0    0     0     0 1205   358 26  0 74  0&lt;BR /&gt;88  0      0 203564 140860 2875292    0    0     0   240 1747   330 17 44 38  0&lt;BR /&gt;90  0      0 203564 140860 2875292    0    0     0     0 1374   169  9 91  0  0&lt;BR /&gt;92  0      0 203596 140860 2875292    0    0     0    12 1315   177  8 92  0  0&lt;BR /&gt;93  0      0 203596 140860 2875292    0    0     0     0 1243   160  9 91  0  0&lt;BR /&gt;93  0      0 203692 140860 2875292    0    0     0     0 1279   153  8 92  0  0&lt;BR /&gt;93  0      0 203788 140860 2875292    0    0     0     0 1018   113  9 91  0  0&lt;BR /&gt;94  0      0 203788 140860 2875292    0    0     0     8 1024   101  9 91  0  0&lt;BR /&gt;95  0      0 203868 140860 2875292    0    0     0     0 1028   101  9 91  0  0&lt;BR /&gt;96  0      0 203868 140860 2875292    0    0     0     0 1017   102  9 91  0  0&lt;BR /&gt;96  0      0 203868 140860 2875292    0    0     0     0 1024    99  8 92  0  0&lt;BR /&gt;97  0      0 203868 140860 2875292    0    0     0     0 1021   103  9 91  0  0&lt;BR /&gt; 1  0      0 203732 140860 2875292    0    0     0     0 1066   316 12 74 14  0&lt;BR /&gt; 3  0      0 203764 140860 2875292    0    0     0     0 1199   520 23  2 75  0&lt;BR /&gt; 1  0      0 203948 140860 2875292    0    0     0     0 1159   342 24  0 75  0&lt;BR /&gt; 1  0      0 203756 140860 2875292    0    0     0   346 1136   317 26  0 74  0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's some other ancillary info from the system:&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; cat /proc/cpuinfo&lt;BR /&gt;processor       : 0&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 0&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3547.13&lt;BR /&gt;&lt;BR /&gt;processor       : 1&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 0&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3579.90&lt;BR /&gt;&lt;BR /&gt;processor       : 2&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 3&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3579.90&lt;BR /&gt;&lt;BR /&gt;processor       : 3&lt;BR /&gt;vendor_id       : GenuineIntel&lt;BR /&gt;cpu family      : 15&lt;BR /&gt;model           : 2&lt;BR /&gt;model name      : Intel(R) Xeon(TM) CPU 1.80GHz&lt;BR /&gt;stepping        : 7&lt;BR /&gt;cpu MHz         : 1794.467&lt;BR /&gt;cache size      : 512 KB&lt;BR /&gt;physical id     : 3&lt;BR /&gt;siblings        : 2&lt;BR /&gt;fdiv_bug        : no&lt;BR /&gt;hlt_bug         : no&lt;BR /&gt;f00f_bug        : no&lt;BR /&gt;coma_bug        : no&lt;BR /&gt;fpu             : yes&lt;BR /&gt;fpu_exception   : yes&lt;BR /&gt;cpuid level     : 2&lt;BR /&gt;wp              : yes&lt;BR /&gt;flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr&lt;BR /&gt;bogomips        : 3579.90&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; cat /proc/meminfo&lt;BR /&gt;MemTotal:      3827500 kB&lt;BR /&gt;MemFree:        198804 kB&lt;BR /&gt;Buffers:        140872 kB&lt;BR /&gt;Cached:        2878364 kB&lt;BR /&gt;SwapCached:          0 kB&lt;BR /&gt;Active:        1826600 kB&lt;BR /&gt;Inactive:      1650012 kB&lt;BR /&gt;HighTotal:     2948992 kB&lt;BR /&gt;HighFree:        41856 kB&lt;BR /&gt;LowTotal:       878508 kB&lt;BR /&gt;LowFree:        156948 kB&lt;BR /&gt;SwapTotal:     1052248 kB&lt;BR /&gt;SwapFree:      1052248 kB&lt;BR /&gt;Dirty:             300 kB&lt;BR /&gt;Writeback:           0 kB&lt;BR /&gt;Mapped:         481840 kB&lt;BR /&gt;Slab:           134864 kB&lt;BR /&gt;CommitLimit:   2965996 kB&lt;BR /&gt;Committed_AS:  1638156 kB&lt;BR /&gt;PageTables:       2056 kB&lt;BR /&gt;VmallocTotal:   112632 kB&lt;BR /&gt;VmallocUsed:     11496 kB&lt;BR /&gt;VmallocChunk:   100860 kB&lt;BR /&gt;HugePages_Total:     0&lt;BR /&gt;HugePages_Free:      0&lt;BR /&gt;Hugepagesize:     2048 kB&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Dec 2007 20:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085369#M49301</guid>
      <dc:creator>Eric O'Brien</dc:creator>
      <dc:date>2007-12-20T20:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Linux system level CPU utilization spikes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085370#M49302</link>
      <description>Well you see the sudden increase in 'runnable' processes, you need to find out what process it was that suddenly launched/woke up almost 100 processes at the same time.&lt;BR /&gt;&lt;BR /&gt;Look at the usual suspects like cron or java garbage collection.</description>
      <pubDate>Thu, 20 Dec 2007 21:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085370#M49302</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-12-20T21:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linux system level CPU utilization spikes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085371#M49303</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;No cron jobs, double checked that.  I was thinking java gc, but I have partial and full garbage collection events every second when the system is fine.&lt;BR /&gt;I also wasn't sure if the gc events would show up in the User or system bucket.&lt;BR /&gt;I'll try catching the gc events during spikes.</description>
      <pubDate>Thu, 20 Dec 2007 21:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085371#M49303</guid>
      <dc:creator>Eric O'Brien</dc:creator>
      <dc:date>2007-12-20T21:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Linux system level CPU utilization spikes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085372#M49304</link>
      <description>"run queue" is above 90 processes that time..and at the same time the "blocked queue" is still zero.. So CPU are working for those 90 processes...you have to find what are these processes and where are they coming from</description>
      <pubDate>Mon, 24 Dec 2007 20:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085372#M49304</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-24T20:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux system level CPU utilization spikes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085373#M49305</link>
      <description>Digging into Java GC a little more turned up the issue.  I thought Full GC's every second weren't good, but I had plenty of available heap.  Using "jstat -gccause" to drill into why the GC's were happening turned up "System.gc()"  being called a ton.  I can't modify the code, but I modified my java options to disable the explicit GC:&lt;BR /&gt;&lt;BR /&gt;-XX:+DisableExplicitGC&lt;BR /&gt;&lt;BR /&gt;And poof... GC is almost nill and user CPU utilization has dropped significantly and I haven't seen the system CPU spike yet.&lt;BR /&gt;Thanks for the responses</description>
      <pubDate>Wed, 26 Dec 2007 14:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-system-level-cpu-utilization-spikes/m-p/5085373#M49305</guid>
      <dc:creator>Eric O'Brien</dc:creator>
      <dc:date>2007-12-26T14:48:00Z</dc:date>
    </item>
  </channel>
</rss>

