Re: [PATCH 0/2] RFC: CPU frequency max as PM QoS param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux