All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] Does PowerTop support MHz numbers for Intel Xeon L5410 CPUs ?
Date: Tue, 08 Jul 2014 20:05:42 +0900	[thread overview]
Message-ID: <20140708110542.GC947@swordfish> (raw)
In-Reply-To: 53BABBCF.9030601@linux.intel.com

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

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

             reply	other threads:[~2014-07-08 11:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-08 11:05 Sergey Senozhatsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-09 15:30 [Powertop] Does PowerTop support MHz numbers for Intel Xeon L5410 CPUs ? Valentin Hoebel
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=20140708110542.GC947@swordfish \
    --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.