linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-pm@kernel.org
Subject: [Bug 197153] Wrong cores frequencies values in /proc/cpuinfo
Date: Sat, 07 Oct 2017 15:53:45 +0000	[thread overview]
Message-ID: <bug-197153-137361-jqtCZna9gX@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-197153-137361@https.bugzilla.kernel.org/>

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

Artem S. Tashkinov (t.artem@mailcity.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lenb@kernel.org

--- Comment #4 from Artem S. Tashkinov (t.artem@mailcity.com) ---
(In reply to Doug Smythies from comment #3)
> Back on bug #197009, I couldn't find the related e-mail thread. Now I did:
> https://marc.info/?t=149766883400002&r=1&w=2

Thanks!

> Users who have been consulting /proc/cpuinfo to
> track changing CPU frequency will be dissapointed that
> it no longer wiggles -- perhaps being unaware of the
> limitations of the information they have been consuming.
> 
> Yes, they can change their scripts to look in sysfs
> cpufreq/scaling_cur_frequency.  Here they will find the same
> data of dubious quality here removed from /proc/cpuinfo.
> The value in sysfs will be addressed in a subsequent patch
> to address issues 1-3, above.
> 
> Issue 4 will remain -- users that really care about
> accurate frequency information should not be using either
> proc or sysfs kernel interfaces.
> They should be using using turbostat(8), or a similar
> purpose-built analysis tool.

That sounds like a dozen of Linux utilities need to be rewritten to either
include the turbostat source (how do you even see that? what about updates to
this code?) or ... Len Brown has some other ideas in mind? Does turbostat work
without insmod()'ing the msr module first? Most distros don't autopreload it.

You break the user space interfaces and don't offer any realistic alternatives
at all. I for one refuse to run turbostat in console just to know what
frequencies my CPU cores are running at.

This is not how it should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2017-10-07 15:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-197153-137361@https.bugzilla.kernel.org/>
2017-10-07 14:10 ` [Bug 197153] Wrong cores frequencies values in /proc/cpuinfo bugzilla-daemon
2017-10-07 15:13 ` bugzilla-daemon
2017-10-07 15:21 ` bugzilla-daemon
2017-10-07 15:41 ` bugzilla-daemon
2017-10-07 15:53 ` bugzilla-daemon [this message]
2017-10-07 15:57 ` bugzilla-daemon
2017-10-07 16:02 ` bugzilla-daemon
2017-10-07 22:33 ` bugzilla-daemon
2017-10-08  3:37 ` bugzilla-daemon
2017-10-11  5:49 ` bugzilla-daemon
2017-10-16 22:51 ` 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=bug-197153-137361-jqtCZna9gX@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-pm@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;
as well as URLs for NNTP newsgroup(s).