Page 1 of 5
CPU FREQUENCY SCALING 1.3-2 - Ondemand (dynamic) - GUI
Posted: Sat 01 Aug 2009, 07:48
by trio
Based on this thread
http://www.murga-linux.com/puppy/viewtopic.php?t=28443
Cheers
Updated to v. 1.3-2: bugfix - sorting min frequencies not always from smallest
Updated to v. 1.3-1:
- Added tooltip for refresh module button
- Min freq sorting in combobox - start from smallest value
Updated to v. 1.3:
- Added refresh module button (you have to reboot after),
useful when you use other computer's pupsave file
- No need to type in Min - Max Frequencies (already listed)
Updated to v. 1.2 - fixes report (forgot to cpu1 report)
Updated to v. 1.1:
- redesigned GUI
- cater for cpu0 and cpu1 (I don't have cpu1, please anyone test)
Posted: Sat 01 Aug 2009, 08:14
by gposil
You want to up this to PetStore trio...
Posted: Sat 01 Aug 2009, 08:25
by trio
Gposil,
Thanks, I will later, after some people tried and no complaints.
Fyi, it is pet up with 430 prebeta so it has already puppy std database supposedly
Posted: Sat 01 Aug 2009, 10:25
by techtype
Normally, you don't really have to enter the min and max frequency. On every computer that I have tried, this was determined automatically. (I know it is done that way in the example thread)
Posted: Sat 01 Aug 2009, 10:31
by trio
Yeah, but for more cooler, you might want to put in a little lower MAX than the biggest number on the list. So, it gives people more freedom to choose. Anyway, every step is guided until finish.
Posted: Sun 02 Aug 2009, 09:04
by aragon
hi trio, could not test it extensively as i'm already running ondemand. some short notes:
- it does read my actual settings correct.
- it does not have a bin/symlink in the path, any reason for that?
in general: very useful.
aragon
Posted: Sun 02 Aug 2009, 09:10
by trio
Hi aragon, thx for testing
I don't put bin or symlink on purpose, as for newbies, they don't touch terminal, as for you guys linux gurus, you don't touch GUIs
Posted: Mon 03 Aug 2009, 07:27
by aragon
na i don't see anything like a guru if i look at the mirror...
<offtopic>
it's just that using linux now for about 3 years, i'm falling more and more in love with terminal-usage, keyboard-driven wm-usage and such things. and i don't feel like a geek doing so, it's more that it often feels efficient and fast.
</offtopic>
aragon
Posted: Fri 07 Aug 2009, 02:53
by trio
Updated to v. 1.1:
- redesigned GUI
- cater for cpu0 and cpu1 (I don't have cpu1, please anyone test)
see main post
Posted: Fri 07 Aug 2009, 04:15
by trio
Updated to v. 1.2 - fixes report (forgot to cpu1 report, oops sorry)
see main post
Posted: Fri 07 Aug 2009, 13:42
by aragon
hi trio,
one question on a little enhancement: wouldn't it be useful to also setup the general governor to use?
- powersave (always lowest freq)
- ondemand (on demand jump to highest freq)
- performance (always highest freq)
- conservative (on demand alter the freq in steps)
- userspace (usersetup freq)
See here for a general doc about the scaling governors:
http://www.mjmwired.net/kernel/Document ... ernors.txt. Reading that doc again, it seems that the conservative mode might be even better for laptop-users...
aragon
Posted: Fri 07 Aug 2009, 14:05
by trio
Aragon,
Yeah, I just thought that for newbies (who uses this gui btw), they maybe don't care or don't know what is ondemand, what is powersave, etc.
and the other reason is, from what I read, it's he wisest to use ondemand (plus the max frequency tweak), not to loose too much cpu speed, but not to get it warm/hot to high.
Those are thw two reasons I didn't put options of the scaling mode
thank you for input
Posted: Fri 07 Aug 2009, 15:44
by techtype
aragon wrote:hi trio,
one question on a little enhancement: wouldn't it be useful to also setup the general governor to use?
- powersave (always lowest freq)
- ondemand (on demand jump to highest freq)
- performance (always highest freq)
- conservative (on demand alter the freq in steps)
- userspace (usersetup freq)
See here for a general doc about the scaling governors:
http://www.mjmwired.net/kernel/Document ... ernors.txt. Reading that doc again, it seems that the conservative mode might be even better for laptop-users...
aragon
Even though "ondemand" clearly states it will jump to the highest frequency, in actual practice, I see it step thru the scale as needed --- similar to what is described for conservative.
Posted: Fri 07 Aug 2009, 18:25
by aragon
trio wrote:
Yeah, I just thought that for newbies (who uses this gui btw), they maybe don't care or don't know what is ondemand, what is powersave, etc.
although i see your point, i don't see your gui in the 'newbie-section'. diggin' around deep in /sys is not everyone's favourite...
aragon
Posted: Fri 07 Aug 2009, 19:15
by stevesr0
I ran the pet, but I don't know how to tell if the program is working.
Steve
Posted: Sat 08 Aug 2009, 00:04
by trio
Steve,
Menu - utility - cpu scaling - choose a module - click activate (until you get a success message pop up) - read the success message - see lowest and highest frequencies values - put the lowest in min box, you may want to put the highest or second highest in max box, click activate - a success message will pop up. You're done.
If you want to monitor cpu temperature - search for pwidgets or conky in the forum
Thanks, btw you have dual core?
Aragon,
This is exactly what I meant about newbies, I just want to help them out. They are eager to try things out, but not yet too expert in comand line.
Posted: Sat 08 Aug 2009, 07:05
by trio
Now I can confirm (since nobody is reporting) that on DUAL CORE also works
Posted: Sat 08 Aug 2009, 09:54
by mikeb
Is there a way of checking what speed the cpu is running at or perhaps its current scaling factor.....cat /proc/blah sort of thing?
mike
Posted: Sat 08 Aug 2009, 10:06
by trio
mikeb wrote:Is there a way of checking what speed the cpu is running at or perhaps its current scaling factor.....cat /proc/blah sort of thing?
mike
ok, try
Code: Select all
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
Posted: Sat 08 Aug 2009, 10:27
by mikeb
Thanks...nothing there but found governor as 'ladder' and driver as 'acpi_idle'.
Its a HP2133 VIA C7-M cpu and althogh I cannot see any related module I suspect that it already has some form of cpu scaling...or is something like 'ondemand' needed to activate it?
regards
mike