maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] cpufreqUI - graphical application for frequency scaling (https://talk.maemo.org/showthread.php?t=50067)

@SR 2010-04-15 06:17

[Announce] cpufreqUI - graphical application for frequency scaling
 
cpufreqUI is a graphical userspace application designed to assist CPU frequency scaling using Linux kernel cpufreq subsystem. Is gives user the ability to set the maximum and minimum CPU frequency from the range available for CPU (but it can not overclock the device). This program can help save battery life or maximize CPU performance when needed.

http://www.screenshotdumpster.com/im...414_132506.png

By default only 600MHz 550MHz 500MHz and 250MHz frequencies are available. But if you are using overclocked kernel then more frequencies will be available.

You can also select CPU governor. Using ondemand governor system will select frequency depending on current load. Selected frequency acts as a maximum limit. If userspace governor is selected then CPU will always work at selected frequency.

Using ondemand governor you can also select up_threshold and sampling_rate values – system load and time at this load when system will switch to a higher frequency. You can also select ignore_nice_load for calculating system load.

SmartReflex can be turned on to save battery life.

On Status tab current temperature is displayed.

You can download the program at:
https://garage.maemo.org/projects/cpufrequi/
.deb package is built using old SDK and Qt 4.5.

Program is also in extras-devel but maemo auto-builder is using new PR 1.2 SDK so to use that package you will have to wait for new firmware.

You have to reboot after installation for program to work.

jcompagner 2010-04-15 06:28

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
sounds very nice!
if we also could have a tab where we can play with the voltages (if such a kernel is installed) then that part would also be way easier to use.

where does this program safe the stuff?
is it permanent? if so is there a button revert to default?

@SR 2010-04-15 06:34

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by jcompagner (Post 611343)
sounds very nice!
if we also could have a tab where we can play with the voltages (if such a kernel is installed) then that part would also be way easier to use.

where does this program safe the stuff?
is it permanent? if so is there a button revert to default?

I have not tested kernel with voltage selection yet. But when I have time I will test it and add maybe voltage selection to program.

Program does not save changes. All changes are lost after reboot. But in next version I will make it possible to make changes permanent. And there will be a button added to restore default settings (right now there are not so many options to change so I forgot that this button might be useful right now).

F2thaK 2010-04-15 06:34

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
sweet app, just great!!! Thanks! needed if youre overclocking for sure !!

although it doesnt seem to save the settings, maybe due to the fact ive modified my pmconfig file..

@SR 2010-04-15 06:55

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Forgot to mention that you have to reboot after installation for program to work.

filologen 2010-04-15 07:37

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Thanks a lot. Seems to work without any problems on my "ideal" kernel.

nokian-series 2010-04-15 19:21

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Maybe it can be space to set the Min. Freq. too :)

jacktanner 2010-04-15 19:35

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Noob questions...

What are the default N900 settings for all these parameters, esp. the governor and SmartReflex?

Might be nice to control the scheduler, too.

sophocha 2010-04-15 19:40

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Can you explain a bit more on the sampling rate, up threshold, ignore nice load and smartreflex? What do they actually do and what`s the best settings in your opinion.

Also, whats the upper temprerature limit of the N900?40c?50c?

Thanks

Matan 2010-04-15 19:44

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
The feature that you call smartreflex is actually called vdd auto compensation. Smartreflex is a marketing name for all power saving techniques, including voltage and frequency scaling, VDD auto compensation which reduces leakage, and a few others.

Flynx 2010-04-15 19:46

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Awesome, thanks. Now I can stop fiddling with these scripts.

EDIT - the ability to switch between celsius and fahrenheit might be useful for us backwards americans! :p

sophocha 2010-04-15 20:04

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by Flynx (Post 612471)
Awesome, thanks. Now I can stop fiddling with these scripts.

EDIT - the ability to switch between celsius and fahrenheit might be useful for us backwards americans! :p

Zero degrees C sounds better :)

...but you know what tops this? 0 degrees F during the winter in Chicago :)

zimon 2010-04-15 20:18

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by Matan (Post 612466)
The feature that you call smartreflex is actually called vdd auto compensation. Smartreflex is a marketing name for all power saving techniques, including voltage and frequency scaling, VDD auto compensation which reduces leakage, and a few others.

There is two settings called "Smartreflex", sr_vdd1 and sr_vdd2.
Are those just refering to two different chips, which for both this autocompaensation can be set ON or OFF?

I have stability issues by enabling both, but could I benefit by enabling only other one?

(CPU, DSP, GPU?)

Matan 2010-04-15 20:29

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
MPU and DSP are in VDD1, most others (including the GPU) in VDD2.

@SR 2010-04-15 20:57

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Minimal frequency setting will be added in next version. Will also add fahrenheit for temperature.

Default settings are:
Governor – ondemand; frequency 600000; up_threshold — 95; sampling_rate — 300000; ignore_nice_load — off; SmartReflex — off.

For example if you set up_threshold = 95 and sampling_rate = 300000 and and cpu frequency limits are 250 – 600MHz and system selects the frequency based on current load (ondemand governor) and current frequency was 250. So if you start some program and after that system load will be more then 95% for more then 300000 uS (10^-6 seconds) then system will set frequency to 600MHz. If ignore_nice_load is set then load low priority processes will be ignored.

pantera1989 2010-04-16 07:55

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
The app is great. Thanks a lot. However it sometimes just won't return to 600Mhz. Right now I couldn't downgrade from 1.1 GHz to 600Mhz. So it's running at 550 Mhz. I don't know why it refuses to change to 600.

sophocha 2010-04-16 12:16

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Cannot update to 0.01-2 version.Have some dependancies that I cannot install :(

Jokah 2010-04-16 16:28

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
I have the following error in trying install it, anyone can help me out?

Nokia-N900-51-1:~# apt-get install cpufrequi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
cpufrequi: Depends: libqt4-core (>= 4.6.2~git20100310) but 4.5.3~git20090723-0maemo6+0m5 is to be installed
Depends: libqt4-gui (>= 4.6.2~git20100310) but 4.5.3~git20090723-0maemo6+0m5 is to be installed
E: Broken packages

ChadiM 2010-04-16 17:37

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Wait for PR1.2.

sophocha 2010-04-16 17:46

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by ChadiM (Post 613807)
Wait for PR1.2.

I`m getting tired of this PR 1.2 SDK crap!....either update the autobuilder or give us the f$%^ update!

tiivonen 2010-04-16 17:53

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by sophocha (Post 613825)
I`m getting tired of this PR 1.2 SDK crap!....either update the autobuilder or give us the f$%^ update!

+1

It is stupid to use PR1.2 stuff when there is no set date for its release. We just have to wait and NOT use the application till the freaking day comes and pope does crap in the woods.

nokian-series 2010-04-16 18:52

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
So..What are 'your' ideal values to up_threeshold and sampling rate?
Having ignore nice load active will improove the device performance?

Regards

Benson 2010-04-16 23:35

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by nokian-series (Post 613920)
Having ignore nice load active will improove the device performance?

No, ignore nice load means that when background tasks are running that are set to high niceness (low priority), the CPU won't clock up to run them.

Depending on the nature and amount of nice tasks on your system, this could either increase or decrease battery life.

fergusso 2010-04-16 23:55

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by tiivonen (Post 613834)
+1

It is stupid to use PR1.2 stuff when there is no set date for its release. We just have to wait and NOT use the application till the freaking day comes and pope does crap in the woods.


I think we're all getting crazy and mad here for these pr 1.2 and Meego (a big question mark)

imagine what an N900 is if without those genius hardworking developers in this community who makes sensible Applications for us. n900 could have been really stupid/non user friendly device.

.... good thing there are still gifted developers in this community. thanks to all of them.

egoshin 2010-04-17 01:01

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by nokian-series (Post 613920)
Having ignore nice load active will improove the device performance

Try this one - http://talk.maemo.org/showpost.php?p...&postcount=189

mnaveed 2010-04-20 05:51

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
can i use this application with titan's custom kernel and how
thanks

matts76 2010-04-20 11:42

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Hi im currently trying to re-install cpufreq after a full reflash, could someone please tell me the command for xterminal to install the older version as i cant remember what i did ti install it last time.
Thanks

Nevermind i got it now:rolleyes:

christexaport 2010-04-25 05:25

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by matts76 (Post 619187)
Hi im currently trying to re-install cpufreq after a full reflash, could someone please tell me the command for xterminal to install the older version as i cant remember what i did ti install it last time.
Thanks

Nevermind i got it now:rolleyes:

Care to share with the rest of us?
(I hate questions with hidden answers...)

F2thaK 2010-04-25 05:57

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
dpkg -i --force-depends cpufreq.deb

christexaport 2010-04-25 06:32

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Thanks. I also downloaded and it installed no problem.

supergex 2010-04-26 23:18

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Very nice work on this application, this is really usefull.

Is it normal that the first time we use this application it indicates -40°C in the temperature tab?
I tried to run multiple apps, use the refresh button or overclock it a little bit and the temperature wasn't changing. I had to reboot the device to have the real temperature.
Thanks in advance

cosmin 2010-04-26 23:35

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
I've tried to install it but I need the dependencies libqt4-core (>= 4.6.2~git20100310 and libqt4-gui (>= 4.6.2~git20100310) and I haven't been able to install none so far. I've googled the problem and browsed the forum to find a fix but nothing worked so far. Can anyone point me in the right direction ?

tzsm98 2010-05-29 12:09

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by sophocha (Post 680975)
CPU temp in CPUFREQUI program is messed up after the PR update as well!.....it shows -40 now :(

Quoted from Post #7 of the "Major question after PR 1.2" thread.

I have this same result. I am on PR1.2 using v37 enhanced Linux kernel. It would be good to have this re-enabled. I like to know when to back off.

edit- I filed a bug report on this issue. Before doing that I manually downloaded and installed version 0.0.1-2. I then rebooted and checked the status tab. Temperature -40°C/0 raw was reported.

After I filed the bug report my update available icon was flashing. I updated, again to version 0.0.1-2. This time deserts bloomed and the land was flowing with milk and honey! Status reported a positive number for the temp and a non-zero number for raw. I guess I missed the update earlier. Thank you for addressing this issue.

TheBootroo 2010-06-01 09:21

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
hi !

i'm qt4 designer and dev and i adapted ui to allow real finger usage, scrollable ui to avoid small controls, portrait mode, noob widgets like progress bars, sliders and so....

if someone is interested, i'll post screenshots, code and binaries...

conny 2010-06-01 09:23

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by TheBootroo (Post 693267)
hi !

i'm qt4 designer and dev and i adapted ui to allow real finger usage, scrollable ui to avoid small controls, portrait mode, noob widgets like progress bars, sliders and so....

if someone is interested, i'll post screenshots, code and binaries...

How about sending a patch to the original developer?

mrp 2010-06-01 09:23

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
please, do so

bbin 2010-06-01 09:25

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Quote:

Originally Posted by TheBootroo (Post 693267)
hi !

i'm qt4 designer and dev and i adapted ui to allow real finger usage, scrollable ui to avoid small controls, portrait mode, noob widgets like progress bars, sliders and so....

if someone is interested, i'll post screenshots, code and binaries...

This would be great! :)

abill_uk 2010-06-01 09:47

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Absolute brilliant app and the way to go for overclocking WITH a heat sink on the cpu and some holes drilled either side of the case for venting lol.
Incidentally it is now fairly easy to buy a complete case for the N900 on ebay etc.

TheBootroo 2010-06-01 11:43

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
My own cool UI :

http://img4.imageshack.us/img4/6707/...0060111125.png

http://img155.imageshack.us/img155/3...0060111132.png


portrait screenshots and Qt4 code coming soon (as i come back to home)

Tigerite 2010-06-01 11:45

Re: [Announce] cpufreqUI - graphical application for frequency scaling
 
Looks great, any chance you could add other parameters though (such as sampling down factor, down threshold and freq step) for conservative governor?


All times are GMT. The time now is 10:43.

vBulletin® Version 3.8.8