All of lore.kernel.org
 help / color / mirror / Atom feed
From: Valentin Hoebel <valentin.hoebel at nfon.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] Does PowerTop support MHz numbers for Intel Xeon L5410 CPUs ?
Date: Wed, 09 Jul 2014 17:30:18 +0200	[thread overview]
Message-ID: <53BD600A.7020304@nfon.com> (raw)
In-Reply-To: 20140708110542.GC947@swordfish

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

Hi,

not sure if this is an important information or not, but I am getting 
the "138% idle" behaviour for all of the systems where reading out the 
current CPU frequencies via PowerTop is not possible.

Best regards
Valentin


Am 08.07.2014 13:05, schrieb Sergey Senozhatsky:
> On (07/07/14 08:25), Arjan van de Ven wrote:
>>> not sure that powertop performs any specific MSRs at all, since most of MSRs are
>>> called correspondingly to c-state flags (has_cXXX), e.g.
>>>
>>> __init:
>>> 	if (model == 0x45 || model ==0x3D)
>>> 		has_c8c9c10_res = 1;
>>>
>>>
>>>
>>> and later:
>>>
>>> 	if (has_c8c9c10_res) {
>>> 		c8_before    = get_msr(number, MSR_PKG_C8_RESIDENCY);
>>> 		c9_before    = get_msr(number, MSR_PKG_C9_RESIDENCY);
>>> 		c10_before    = get_msr(number, MSR_PKG_C10_RESIDENCY);
>>> 	}
>>>
>>> 	and so on.
>>
>>
>> but if the set is empty, you don't get any data, and the "emulation" side of powertop
>> is likely a better choice... since there are C states, just not counters.
>>
>
> looks like powertop checks C6 state `get_msr(number, MSR_PKG_C6_RESIDENCY)' in start
> and end measurement for any intel cpu, along with `get_msr(first_cpu, MSR_TSC)'. anyway,
> need to investigate. the output that Valentin sees is rather strange, saying that cpu0
> is 138% Idle.
>
> 	          CPU 0
> 	Idle      138%
>
> 	          CPU 2
> 	Idle      111,7%
>
> 	          CPU 1
> 	Idle      111,7%
>
> 	          CPU 3
> 	Idle      111,7%
>
> 	-ss
>

-- 
Mit freundlichen Grüßen

Valentin Höbel
Cloud Architect

NFON AG
Leonrodstraße 68
D-80636 München

Telefon +49 89 45300-407
valentin.hoebel(a)nfon.com
www.nfon.com

Support-Hotline der NFON AG
Telefon 0800 - 6366 555

Die gesetzlichen Pflichtangaben finden Sie unter 
https://www.nfon.net/pflichtangaben

             reply	other threads:[~2014-07-09 15:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 15:30 Valentin Hoebel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-08 11:05 [Powertop] Does PowerTop support MHz numbers for Intel Xeon L5410 CPUs ? Sergey Senozhatsky
2014-07-07 15:25 Arjan van de Ven
2014-07-07 14:18 Sergey Senozhatsky
2014-07-07 14:00 Arjan van de Ven
2014-07-07 11:24 Sergey Senozhatsky
2014-07-07 11:13 Valentin Hoebel
2014-07-07 10:28 Sergey Senozhatsky
2014-07-07 10:26 Sergey Senozhatsky
2014-07-07  8:21 Valentin Hoebel
2014-07-03 13:59 Sergey Senozhatsky
2014-07-03 12:26 Valentin Hoebel

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=53BD600A.7020304@nfon.com \
    --to=powertop@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.