All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Slagter <erik@slagter.name>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Cc: cpufreq@www.linux.org.uk
Subject: Re: [PATCH] acpi-cpufreq: Use IA32_APERF and IA32_MPERF and get freq feedback from hardware
Date: Mon, 25 Sep 2006 18:02:51 +0200	[thread overview]
Message-ID: <4517FDAB.9010705@slagter.name> (raw)
In-Reply-To: <EB12A50964762B4D8111D55B764A8454A4110F@scsmsx413.amr.corp.intel.com>

Pallipadi, Venkatesh wrote:

> The problem is, a lot of times current frequency may not mean much as
> frequency can change immediately after one get frequency call or
> immediately before we did the call. The freuency can change
> asynchronously due to number of reasons like hardware coordination, TM2
> and get frequency will not help to get frequency over a period of time.
> Also, there is no call back from hardware when frequency changes
> asynchronously. So, getting average frequency over a period of time is
> the best we can do in order to use the utilization in that period and
> make some frequency target decision for next sampling period.

I get your drift ;-)

Actually what I am interested in is this:

 - spotting frequency switching by tm2 because I suspect my processor
might be running hot sometimes (a little overlocking ;-))
 - seeing the actual running frequency, as this may not be the value the
processor is set for (again, an overclocking issue, I know).

After booting the value in /proc/cpuinfo is correct, related to the
frequency the cpu is actually set to. After a switch by cpufreq, only
the "standard" values are shown there, although performance shows the
cpu is still running at it's higher clock.

BTW I also noticed that on a CPU with C1e the performance increases when
the acpi-cpufreq module is loaded and set to ondemand. Could it be that
the module can make smarter decisions than the processor itself? Does
the module override the C1e functionality, actually? Output of the sys
stats directorie shows indeed correct switching to lower speed when idle.

  reply	other threads:[~2006-09-25 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25 14:41 [PATCH] acpi-cpufreq: Use IA32_APERF and IA32_MPERF and get freq feedback from hardware Pallipadi, Venkatesh
2006-09-25 16:02 ` Erik Slagter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-09-25 16:36 Pallipadi, Venkatesh
2006-09-25 19:07 ` Erik Slagter
2006-10-02 23:03 ` Dominik Brodowski
2006-09-23  0:28 Venkatesh Pallipadi
2006-09-25 13:14 ` Erik Slagter

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=4517FDAB.9010705@slagter.name \
    --to=erik@slagter.name \
    --cc=cpufreq@www.linux.org.uk \
    --cc=venkatesh.pallipadi@intel.com \
    /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.