public inbox for cpufreq@vger.kernel.org
 help / color / mirror / Atom feed
From: Jacob Shin <jacob.shin@amd.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: cpufreq@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Jacob Shin <jacob.shin@amd.com>
Subject: [PATCH 0/2] cpufreq: ondemand: add AMD specific powersave bias
Date: Wed, 27 Mar 2013 17:37:19 -0500	[thread overview]
Message-ID: <1364423841-6920-1-git-send-email-jacob.shin@amd.com> (raw)

This patchset adds AMD specific powersave bias function to the ondemand
governor; which can be used to help ondemand governor make more power conscious
frequency change decisions based on feedback from hardware (availble on AMD
Family 16h and above).

Hardware feedback tells software how "sensitive" to frequency changes the
workloads are. CPU-bound workloads will be more sensitive -- they will
perform better as frequency increases. Memory/IO-bound workloads will be less
sensitive -- they will not necessarily perform better as frequnecy increases.

This patchset was compared against ondemand governor without powersave bias
and did not show any performance degradation on CPU-bound workloads such as
kernbench and unixbench. While saving power on Memory-bound workloads such as
stream.

This applies to linux-pm's linux-next branch, on top of Viresh's 'Implement
per policy instance of governor' V4 patchset:

https://lkml.org/lkml/2013/3/27/348

Jacob Shin (2):
  cpufreq: ondemand: allow custom od_ops to be registered
  cpufreq: AMD "frequency sensitivity feedback" powersave bias for
    ondemand governor

 arch/x86/include/uapi/asm/msr-index.h |    1 +
 drivers/cpufreq/Kconfig.x86           |   10 ++++++++++
 drivers/cpufreq/Makefile              |    1 +
 drivers/cpufreq/cpufreq_governor.h    |    2 ++
 drivers/cpufreq/cpufreq_ondemand.c    |   32 +++++++++++++++++++++++++++-----
 5 files changed, 41 insertions(+), 5 deletions(-)

-- 
1.7.9.5



             reply	other threads:[~2013-03-27 22:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27 22:37 Jacob Shin [this message]
2013-03-27 22:37 ` [PATCH 1/2] cpufreq: ondemand: allow custom od_ops to be registered Jacob Shin
2013-03-28  7:36   ` Viresh Kumar
2013-03-27 22:37 ` [PATCH 2/2] cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor Jacob Shin
2013-03-27 22:41   ` Jacob Shin
2013-03-27 22:46     ` Jacob Shin
2013-03-28  7:41       ` Viresh Kumar

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=1364423841-6920-1-git-send-email-jacob.shin@amd.com \
    --to=jacob.shin@amd.com \
    --cc=cpufreq@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=viresh.kumar@linaro.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