From: Antti P Miettinen <amiettinen@nvidia.com>
Cc: linux-pm@lists.linux-foundation.org, cpufreq@vger.kernel.org
Subject: Re: [PATCH 0/2] RFC: CPU frequency max as PM QoS param
Date: Mon, 20 Feb 2012 12:00:41 +0200 [thread overview]
Message-ID: <87pqd94yeu.fsf@amiettinen-lnx.nvidia.com> (raw)
In-Reply-To: CAGF5oy9LC4Ve8u6UqG3EbGkWmWYVMthHatJdaRR_ZMO4UQh3CA@mail.gmail.com
Thanks for the comments. I'd like to comment on maximum CPU frequency,
sysfs files and per device contraints..
Maximum CPU frequency could be useful for thermal. However, it is not a
complete solution for thermal. Just like minimum CPU frequency is not a
complete solution for computing throughput (e.g. memory and accelerator
control are not directly addressed by a CPU frequency
constraint). Maximum CPU frequency can be also useful for energy
efficiency even though the constraint is not a complete solution here
either. I guess latency constraints do not completely solve end-to-end
latency requirements but the mechanism is useful so it is good to have
it. I'd argue minimum and maximum frequency are simular in this respect.
There are sysfs files for constraining CPU frequency. However, there is
no arbitration for several applications trying to place constraints. PM
QoS provides a way to consolidate requests from several applications and
cleanup upon application crash. I think the existing sysfs files are not
an appropriate inferface for user space applications.
Currently CPU sleep states are blocked globally for latency
contraints. Finer granularity control would be possible with per CPU
contraints. However - are there clients that know or want to contrain a
specific CPU? Same question is applicable also to CPU frequency. Even
though per CPU control is more flexible, what are the clients that want
to constrain a specific CPU?
Another complication for the per device constraints is the user space
interface. Dynamic minors run out pretty fast if we have per CPU
parameters and the system has huge number of CPUs. Does anyone have any
opinions about the user space interface for device PM QoS?
--Antti
next prev parent reply other threads:[~2012-02-20 10:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-19 12:35 [PATCH 0/2] RFC: CPU frequency max as PM QoS param Antti P Miettinen
2012-01-19 12:35 ` [PATCH 1/2] PM QoS: Add CPU frequency maximum " Antti P Miettinen
2012-01-19 12:35 ` [PATCH 2/2] cpufreq: Enforce PM QoS maximum frequency Antti P Miettinen
2012-02-16 1:06 ` [linux-pm] [PATCH 0/2] RFC: CPU frequency max as PM QoS param Kevin Hilman
2012-02-17 3:04 ` mark gross
2012-02-17 8:12 ` [linux-pm] " Valentin, Eduardo
2012-02-20 10:00 ` Antti P Miettinen [this message]
[not found] ` <CAGF5oy-64J3vMKvzY=NvdV-m8_wFo=NGZANF_cnVm-iq0s-wZQ@mail.gmail.com>
[not found] ` <20120221145632.GA2840@envy17>
[not found] ` <87linw5aod.fsf@ti.com>
[not found] ` <20120225174449.GA17141@envy17>
2012-02-27 10:17 ` Pihet-XID, Jean
2012-02-27 11:00 ` Antti P Miettinen
[not found] ` <877gz8wcud.fsf@ti.com>
2012-02-27 15:04 ` Antti Miettinen
2012-02-28 0:56 ` [linux-pm] " mark gross
2012-02-28 9:37 ` Antti P Miettinen
2012-03-04 22:46 ` Rafael J. Wysocki
2012-03-06 12:23 ` Antti P Miettinen
2012-03-06 14:37 ` Dave Jones
2012-03-07 6:38 ` Antti P Miettinen
2012-03-07 16:59 ` Dave Jones
2012-03-07 18:08 ` Antti P Miettinen
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=87pqd94yeu.fsf@amiettinen-lnx.nvidia.com \
--to=amiettinen@nvidia.com \
--cc=cpufreq@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.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