From: mark gross <mgross@linux.intel.com>
To: Matteo Carnevali <rekstorm@gmail.com>
Cc: Patrick Bellasi <derkling@gmail.com>,
David Siorpaes <david.siorpaes@st.com>,
linux-pm@lists.osdl.org, Premi Sanjeev <premi@ti.com>,
Stefano Bosisio <stebosisio@gmail.com>
Subject: Re: Adding PM QoS parameters
Date: Mon, 27 Apr 2009 13:46:45 -0700 [thread overview]
Message-ID: <20090427204645.GA30787@linux.intel.com> (raw)
In-Reply-To: <50855c020904270550m3fc3d2aanc2a150715937667f@mail.gmail.com>
On Mon, Apr 27, 2009 at 02:50:22PM +0200, Matteo Carnevali wrote:
> On Wed, Apr 22, 2009 at 1:43 AM, mark gross <mgross@linux.intel.com> wrote:
>
> > On Tue, Apr 21, 2009 at 10:08:18AM +0200, Derkling wrote:
> > > On Wed, Apr 15, 2009 at 20:35, mark gross <mgross@linux.intel.com>
> > wrote:
> > > > > Hi,
> > > > > we are a group that since some months is working on "Constrained
> > Power
> > > > > Management" in STMicroelectronics.
> > > >
> >
>
> Hi, I'm Matteo Carnevali and I'm working in ST with Patrick on the topic of
> CPM.
>
>
snip
> >
> > do a thought experiment around network bandwidth, where multiple
> > applications ask for max bandwidth from the NIC. (just like they all
> > expect to 100% of the CPU resources) You quickly get to a point where
> > (just like for CPU resources) that aggregating cumulative QoS requests as
> > a sum becomes silly.
> >
>
> Yes, if many applications all ask for the MAX bandwith from the NIC it is
> not
> relevant to aggregrate in an additive manner... and the problem turns into a
> resource management one.
>
> On the other hand I think at the case the NIC has multiple operating points,
>
> defined by the local driver configuration, where each point can be
> characterized,
> for instance, by a certain amount of power required to work and by a bound
> of bandwidth it can provide,
> e.g. :
> - 1 watt power consumption -> max 12 Mbit/s
> - 2 watts power consumption -> max 24 Mbit/s
> - 3 watts power consumption -> max 54 Mbit/s (full bandwidth)
> in a dummy scenario like this it may be useful to aggregate bandwidth
> requirement with an additive method, instead of max - min.
>
I'm not seeing it. Unless all the applications you are planning to run
"know" what the minimal network bandwidth they require, changing the
aggregation method is deployment specific.
...
um, perhaps adding a mechanism for changing the aggregation method would
be a useful addition to PMQoS?
snip
> >
> > Hardware will only get better at being idle, the longer a system can
> > do a low power idle the more likely user mode applications (policy
> > managers mostly) will need API's to modify constraints.
> >
>
> You're right, but in our ideas we would like to exploit different hardware
> devices' power states (not only the lowest idle state) and to select the
> best
> states (mapped to an operating mode of the device) in each instant, in order
> to
> grant the required performances and to waste as less power as we can.
>
> So, both drivers and applications can set a constraint on an abstract
> parameter
> (like bandwidth and latency) e.g:
> - Applications: ask for more network bandwidth or require a certain latency
> on a
> bus, for example to decode a video stream.
> - Drivers: if a driver realizes that it can set its controlled device in a
> less
> consuming operating mode while granting the QoS, it sets a constraint on the
>
> abstract parameter that maps its operating modes on the whole system.
>
> At this point of the game, applications' constraints are pushed down at
> drivers'
> level and drivers (that have a deep and complete knowledge of their internal
>
> state, operating modes and hardware capabilities) "collaborate" to find an
> agreement on the new value of the abstract parameter. In this way the best
> (optimal or sub-optimal) system-wide configuration can be found.
> Collaboration is achieved through shared knowledge of abstract parameters.
>
But, this collaboration agreement is what PMQoS was meant to provide
(in a best effort way). What's missing from your point of view?
--mgross
next prev parent reply other threads:[~2009-04-27 20:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 20:25 Adding PM QoS parameters Premi, Sanjeev
2009-04-06 21:12 ` mark gross
2009-04-07 9:00 ` Premi, Sanjeev
2009-04-09 18:57 ` mark gross
2009-04-14 12:24 ` Patrick Bellasi
2009-04-15 18:35 ` mark gross
2009-04-21 8:08 ` Derkling
2009-04-21 23:43 ` mark gross
2009-04-27 12:50 ` Matteo Carnevali
2009-04-27 20:46 ` mark gross [this message]
[not found] <mailman.459.1240339694.10269.linux-pm@lists.linux-foundation.org>
2009-04-21 20:02 ` Premi, Sanjeev
2009-04-22 16:35 ` mark gross
2009-04-27 12:41 ` Matteo Carnevali
-- strict thread matches above, loose matches on Subject: below --
2009-04-30 12:28 Patrick Bellasi
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=20090427204645.GA30787@linux.intel.com \
--to=mgross@linux.intel.com \
--cc=david.siorpaes@st.com \
--cc=derkling@gmail.com \
--cc=linux-pm@lists.osdl.org \
--cc=premi@ti.com \
--cc=rekstorm@gmail.com \
--cc=stebosisio@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox