On Thu, Jan 12, 2012 at 10:43:49AM +0200, Antti P Miettinen wrote: > "Rafael J. Wysocki" <rjw@xxxxxxx> writes: > > On Wednesday, January 11, 2012, Antti P Miettinen wrote: > >> I think for CPU performance, it's probably simplest just to use > >> frequency. Mapping from GOPS/MIPS/FLOPS/FPS is probably more sensily > >> done by PM QoS client side. > > > > Well, unfortunately, frequency is kind of system-specific. I mean, > > you need to know what frequencies are supported/available to use that, > > so it would require the potential users to know the CPU internals. > > > > Thanks, > > Rafael > > I would expect clients requesting for computing performance to require > system specific knowledge anyway. Computing performance is often > affected by target specific details (CPU, memory, interconnects). So > something like board specific configuration parameters would probably be > required for the PM QoS clients doing computing performance requests. > Also, one doesn't have to know the exact number to use the throughput parameter. If one value was not enough (i.e. you are missing deadlines) the increase it until things stabilize. In practice I doubt any of these qos parameter can be portable. I once thought of using units of bogomips for cpu throughput but, thats just as un-portable as frequency. Things will end up having to be tuned or use some training algorithm. --mark _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/linux-pm