Re: apmd: add on demand adjustement mode

2015-03-03 Thread Peter Hessler
That code was fixed in -current, and will be in 5.7. Now, the kernel does the measurements and scaling. On 2015 Mar 02 (Mon) at 15:04:09 + (+), Jérôme Frgacic wrote: :Hello, : :At present, there is no middle between cool running and automatic adjustement mode. :I would suggest to add an

apmd: add on demand adjustement mode

2015-03-02 Thread Jérôme Frgacic
Hello, At present, there is no middle between cool running and automatic adjustement mode. I would suggest to add an "on demand" adjustement mode which set hw.setperf to maximum when CPU idle is lesser then 10% and reduce it when CPU idle is greater than 30%. Also, when hw.setperf is at maximum,