public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Lesław Kopeć" <leslaw.kopec@nasza-klasa.pl>
To: "Anders Boström" <anders@netinsight.net>
Cc: dsmythies@telus.net, jrnieder@gmail.com,
	linux-kernel@vger.kernel.org, aman@tmm1.net,
	a.p.zijlstra@chello.nl, tglx@linutronix.de
Subject: Re: [3.2.16 -> 3.2.17 regression] High reported CPU load when idle
Date: Tue, 05 Jun 2012 17:35:23 +0200	[thread overview]
Message-ID: <4FCE273B.50809@nasza-klasa.pl> (raw)
In-Reply-To: <20120530.165426.1421117300206344483.anders@netinsight.net>

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

On 05/30/2012 04:54 PM, Anders Boström wrote:

>  DS> 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."
>  DS> In my opinion has the following mistakes:
>  DS> . The computer is not actually idle. If it was actually idle the reported load average would be 0.
> 
> Well, I tested in single user mode, with very few processes running,
> mostly init, getty, bash and top (+ a lot of kernel threads). And
> 3.2.17 reported a load of >0.5 . Under the same conditions 3.2.16
> typically reports 0.01 or 0.00 .

I've tried to reproduce the problem, but haven't had much luck. I've
tested vanilla and Debian kernels versions 3.2.16 and 3.2.17. Load on an
idle or slightly busy system is the same across all versions.

vanilla 3.2.16		0.15 0.07 0.06
vanilla 3.2.17		0.17 0.11 0.13
Debian 3.2.16-1		0.13 0.07 0.05
Debian 3.2.17-1		0.10 0.09 0.11

When the system is completely idle load drops to 0. I've also tried
3.2.17 with 556061b00c9f, but it makes no difference and in comparison
to plain 3.2.17 load is the same even on a busy system.

I can't explain why we're getting different results on the same kernels.
If you'd like more details just ask.

-- 
Lesław Kopeć


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2012-06-05 15:35 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
2012-05-30 14:54       ` Anders Boström
2012-06-05 15:35         ` Lesław Kopeć [this message]
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=4FCE273B.50809@nasza-klasa.pl \
    --to=leslaw.kopec@nasza-klasa.pl \
    --cc=a.p.zijlstra@chello.nl \
    --cc=aman@tmm1.net \
    --cc=anders@netinsight.net \
    --cc=dsmythies@telus.net \
    --cc=jrnieder@gmail.com \
    --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