public inbox for cpufreq@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: cpufreq@vger.kernel.org
Subject: [Bug 42924] /proc/cpuinfo reports wrong frequency (compared to cpufreq-info)
Date: Tue, 29 Jan 2013 03:48:21 +0000 (UTC)	[thread overview]
Message-ID: <20130129034821.B308611FE9A@bugzilla.kernel.org> (raw)
In-Reply-To: <bug-42924-12968@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=42924


Len Brown <lenb@kernel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|Config-Processors           |cpufreq
         Resolution|                            |DOCUMENTED
         AssignedTo|lenb@kernel.org             |cpufreq@vger.kernel.org
            Product|ACPI                        |Power Management




--- Comment #2 from Len Brown <lenb@kernel.org>  2013-01-29 03:48:21 ---
turbostat tells the truth about what the HW is doing.
So in this case, all 4 threads (2 cores) are running at 3.3 GHz.

cpufreq is showing you 2.8 b/c that is what the OS requested.
It doesn't know that turbo HW can deliver 3.3 when it requests 2.801.

Also, on multi-core systems, the voltage is raised to support
the highest frequency request and all the cores run at that frequency.
Here 3 cpus asked for 2.8 and cpu0 asked for 800.  But cpu0 will run
at the same speed of the others even though it last requested less.

This is a longstanding problem with /proc/cpuinfo --
it is showing a cached request value, not an actual value.
The values in cpufreq are only slightly better...

Some day we may fix this, but probably only after
some major surgery (or wholesale replacement) of cpufreq.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

       reply	other threads:[~2013-01-29  3:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-42924-12968@https.bugzilla.kernel.org/>
2013-01-29  3:48 ` bugzilla-daemon [this message]
2013-01-29  3:48 ` [Bug 42924] /proc/cpuinfo reports wrong frequency (compared to cpufreq-info) bugzilla-daemon

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=20130129034821.B308611FE9A@bugzilla.kernel.org \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=cpufreq@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox