All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] Does PowerTop support MHz numbers for Intel Xeon L5410 CPUs ?
Date: Mon, 07 Jul 2014 08:25:03 -0700	[thread overview]
Message-ID: <53BABBCF.9030601@linux.intel.com> (raw)
In-Reply-To: 20140707141825.GA955@swordfish

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


> 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.



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

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-07 15:25 Arjan van de Ven [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-08 11:05 Sergey Senozhatsky
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=53BABBCF.9030601@linux.intel.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.