public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Doug Smythies" <dsmythies@telus.net>
To: "'Jonathan Nieder'" <jrnieder@gmail.com>,
	"'Anders Boström'" <anders@netinsight.net>
Cc: linux-kernel@vger.kernel.org,
	"'Lesław Kopeć'" <leslaw.kopec@nasza-klasa.pl>,
	"'Aman Gupta'" <aman@tmm1.net>,
	"'Peter Zijlstra'" <a.p.zijlstra@chello.nl>,
	"'Thomas Gleixner'" <tglx@linutronix.de>,
	"Doug Smythies" <dsmythies@telus.net>
Subject: RE: [3.2.16 -> 3.2.17 regression] High reported CPU load when idle
Date: Wed, 30 May 2012 07:30:04 -0700	[thread overview]
Message-ID: <000c01cd3e70$b651dd10$22f59730$@net> (raw)
In-Reply-To: <20120524214516.GB1158@burratino>

Hi,

The referenced PNG file was sent to everyone on the address list on 2012.05.22 and the previous version was sent 2012.05.09.
The only reason the PNG file was made was for the e-mail and because I was instructed not to refer to external sources.
The web page version of the PNG file, which is kept up to date, is at [3].

"does 556061b00c9f ("sched/nohz: Fix rq->cpu_load[] calculations", 2012-05-11) change anything?"
I back edited those changes into my test environment yesterday. It made no difference with respect to this issue. (minimally tested.)

This statement: "Starting with 3.2.17-1, the CPU load accounting is broken when the computer is idle. The CPU load is reported as >0.50 when idle. 3.2.16-1 don't suffer from this problem."
In my opinion has the following mistakes:
. The computer is not actually idle. If it was actually idle the reported load average would be 0.
. Yes, the new kernel reported load average is high, as detailed in the PNG file or the web notes.
. The older kernel suffers from a different problem, under all other conditions being the same, the reported load average would have been too low.

[3] http://www.smythies.com/~doug/network/load_average/new.html

Doug Smythies

-----Original Message-----
From: Jonathan Nieder [mailto:jrnieder@gmail.com] 
Sent: May-24-2012 14:45
To: Anders Boström
Cc: linux-kernel@vger.kernel.org; Lesław Kopeć; Aman Gupta; Doug Smythies; Peter Zijlstra; Thomas Gleixner
Subject: Re: [3.2.16 -> 3.2.17 regression] High reported CPU load when idle

(cc-ing Peter and Thomas because there is a nice graph)
> Anders Boström wrote[1]:

>> Starting with 3.2.17-1, the CPU load accounting is broken when the 
>> computer is idle. The CPU load is reported as >0.50 when idle. 
>> 3.2.16-1 don't suffer from this problem.
>>
>> Suspected patch is the upstream patch
>> "sched: Fix nohz load accounting -- again!"
>> commit 5e2d50da11f0e6ec3ce8fe658d7c83b0b4346c68 to 3.2 and 
>> originating from c308b56b5398779cd3da0f62ab26b0453494c3d4 .
>>
>> See also:
>>
>> https://bugs.launchpad.net/unity/+bug/991370
>> https://lkml.org/lkml/2012/5/22/310
>> https://bugzilla.redhat.com/show_bug.cgi?id=822877
>> https://bbs.archlinux.org/viewtopic.php?id=141289

I just found [1] from [2] which seems to describe the symptoms pretty well.  Peter, Thomas, advice?

Anders et al: does 556061b00c9f ("sched/nohz: Fix rq->cpu_load[] calculations", 2012-05-11) change anything?

Thanks,
Jonathan

[1] https://launchpadlibrarian.net/105809696/commit_low_load_rev2.png
[2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/838811



  reply	other threads:[~2012-05-30 14:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120523.144057.899060240318474097.anders@netinsight.net>
2012-05-23 21:53 ` [3.2.16 -> 3.2.17 regression] High reported CPU load when idle Jonathan Nieder
2012-05-24 21:45   ` Jonathan Nieder
2012-05-30 14:30     ` Doug Smythies [this message]
2012-05-30 14:54       ` Anders Boström
2012-06-05 15:35         ` Lesław Kopeć
2012-06-08 17:01           ` Doug Smythies
2012-06-10 17:49       ` Jonathan Nieder
2012-06-12  6:12         ` Doug Smythies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01cd3e70$b651dd10$22f59730$@net' \
    --to=dsmythies@telus.net \
    --cc=a.p.zijlstra@chello.nl \
    --cc=aman@tmm1.net \
    --cc=anders@netinsight.net \
    --cc=jrnieder@gmail.com \
    --cc=leslaw.kopec@nasza-klasa.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox