Skip to contentSkip to conversation

Automatic adjustment of P and T states according to load?

DISCUSSION Mario Lang 2 participants 2 messages Nov 6, 2002 – Nov 10, 2002 1 message not in the archive ACPI

lore
Share & tools
lore

Mario Lang

author
#0 lore raw

Hi.

I'm using my JVC laptop with ACPI-only under LInux. I ended up writing a little script, jslow and jfast, to set P1:T1 and P0:T0. But it would really be more efficient if I could convince the kernel to do adjustments of Throttling, and especially also the Performance state if load is low or high.

Does the Linux ACPI code have any mechanisms for this which I overlooked till now? Or am I supposed to do such things in userspace (cron every minute or so?)

Basicly, I'd like the CPU to drop to P1:T4 at least
if it is idle and doing nothing. If I start to compile something for instance, load would go up, and P1 would get set to P0 and T states slowly decreased till 0. If the load drops again, P1 should get activates, and T states slowly increase...

Signature · 8 lines
CYa,
  Mario


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
#2 lore raw
In reply to a message not in the archive

Hi!

Quoted 4 lines

writing a little script, jslow and jfast, to set P1:T1 and P0:T0. But it would really be more efficient if I could convince the kernel to do adjustments of Throttling, and especially also the Performance state if load is low or high.

C1/C2 should be able to hande idle system.
Pavel

Signature · 8 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf