maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Share your best kernel-power settings HERE! (https://talk.maemo.org/showthread.php?t=67140)

ammyt 2010-12-18 14:49

Share your best kernel-power settings HERE!
 
Hey community and talksters,
I need some clarifications about Kernel-Power, what is the ulv, xlv, and other settings? Are they supposed to change the CPU clockspeed? I tried all of them but the CPU rather stays at 250 600. Recently I faced some issue where I couldn't set the lowest frequency under 250, is this a bug?

ammyt 2010-12-18 14:58

Re: Requesting Knowledge Power-Kernel
 
Quote:

Originally Posted by epitaph (Post 899407)
xlv, ulv, are just power-schemes. they have nothing to do with the clockspeed. you can change the clockspeed by typeing:
kernel-config limits 250 750.

Did this helped you!?

Thx. So they should deal with the power current right? And what is the best one in terms of battery life? I tried this:
Code:

kernel-config limits 125 1000
but conky tells me it's just on 250 to 1000, how can I make it go down to 125?

Harick 2010-12-18 15:00

Re: Requesting Knowledge Power-Kernel
 
are voltage settings, they helps to lower the consumption and heat


here you have a chart

http://wiki.maemo.org/Overclocking#Calculating_voltages

ammyt 2010-12-18 15:03

Re: Requesting Knowledge Power-Kernel
 
So I guess the ULV is the best one in terms of battery life right? But I really need to know what's the cause of my device not underclocking to 125MHz? :confused:

Harick 2010-12-18 15:11

Re: Requesting Knowledge Power-Kernel
 
from http://wiki.maemo.org/Overclocking

setting the lowest frequency to 125 MHz does NOT improve battery life. In fact, many people noticed worse battery life, instability and worse responsiveness

in fact, it actually extends the time between processor goes from 250Mhz to 0Mhz (sleep)

anyway, if you look at the chart, you'll notice that 125 and 250 consumes the same voltage in ULV XLV and Ideal

also from:

http://wiki.maemo.org/Kernel_Power#Remarks

if you enable 125MHz also set "echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load"

there are several clock freqs that are avoided, you have to edit

/sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies

ammyt 2010-12-18 15:37

Re: Requesting Knowledge Power-Kernel
 
so let's say I want the limits to be set as 250 1000. What is the best power scheme I can choose? I read about smartreflex, is this feature on or does it require something to initiate?

ammyt 2010-12-18 15:52

Re: Requesting Knowledge Power-Kernel
 
so I can set the ULV power scheme with the limits as 250 1000. Is this going to give me battery life improvements?

ammyt 2010-12-18 16:06

Re: Requesting Knowledge Power-Kernel
 
Are you kidding me? I studied the wiki! I memorized it! It just seems vague for a newbie!

geneven 2010-12-18 16:21

Re: Requesting Knowledge Power-Kernel
 
Which did you find vaguest -- the main Overclocking Wiki, the Jakiman part, or the kernel-specific area? Or perhaps you found the 5,000 plus messages in the Overclocking thread too unspecific?

tele 2010-12-18 16:23

Re: Requesting Knowledge Power-Kernel
 
FREQUENCY Nokia LV ULV XLV ideal
0 MHz 30 30 25 30 30
125 MHz 30 30 25 20 30
250 MHz 38 38 25 30 30
500 MHz 48 48 33 33 30
550 MHz *54* 48 38 38 33
600 MHz 60 *54* 38 38 38
700 MHz 54 45 45 45
750 MHz 54 45 45 45
810 MHz 54 48 48 48
850 MHz 54 48 48 48
900 MHz 54 *54* *54* *54*
950 MHz 54 54 54 54
1000 MHz 60 60 60 60
1100 MHz 72 72 72 72
1150 MHz 72 72 72 72

check this... lv, xlv etc all use different voltage. The best one would be ideal with 500 950. the voltage are similar to normal. check the voltages - the lower the longer the battery!

http://wiki.maemo.org/Overclocking (summary) as it doesnt look right when i pasted it

ammyt 2010-12-18 16:35

Re: Requesting Knowledge Power-Kernel
 
Quote:

Originally Posted by geneven (Post 899464)
Which did you find vaguest -- the main Overclocking Wiki, the Jakiman part, or the kernel-specific area? Or perhaps you found the 5,000 plus messages in the Overclocking thread too unspecific?

the kernel-specific area and the 5,000 plus messages in the Overclocking thread :) :rolleyes:

ammyt 2010-12-19 13:10

Re: Requesting Knowledge Power-Kernel
 
Hey, I set my settings at xlv power scheme and @ 250 1000 but I just noticed that my cpu doesn't go anywhere between them. It's just like 250 and 1000 are the only speeds. Any Idea?

Crashdamage 2010-12-19 13:26

Re: Requesting Knowledge Power-Kernel
 
Quote:

Originally Posted by ammyt (Post 899939)
Hey, I set my settings at xlv power scheme and @ 250 1000 but I just noticed that my cpu doesn't go anywhere between them. It's just like 250 and 1000 are the only voltages. Any Idea?

Sometimes it will hit 500. Sometimes it may go directly from 250 to 1000. Assuming your tracking this with Conky, you may not see 500 even if it's used for just a second due to the sampling interval Conky uses. IOW, Conky might effectively 'miss' it. Keep watching while something is running and eventually you'll see 500.

ammyt 2010-12-19 13:35

Re: Requesting Knowledge Power-Kernel
 
Quote:

Originally Posted by Crashdamage (Post 899944)
Sometimes it will hit 500. Sometimes it may go directly from 250 to 1000. Assuming your tracking this with Conky, you may not see 500 even if it's used for just a second due to the sampling interval Conky uses. IOW, Conky might effectively 'miss' it. Keep watching while something is running and eventually you'll see 500.

I'll try to set the update interval in conky.conf to 0.5 and see what happens

ammyt 2010-12-19 13:41

Re: Requesting Knowledge Power-Kernel
 
Yes I saw 500 a couple of times!

retsaw 2010-12-19 13:50

Re: Requesting Knowledge Power-Kernel
 
By default all (I think) the profiles use the "ondemand" scaling governor, this is quite aggressive in increasing the frequency under load.

If it bothers you, you can change this to "conservative", which is far less aggressive about increasing the frequency so is more likely to spend time on the inbetween frequencies, for a temporary change as root type "echo conservative >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor".

For a more permanent change save yourself a custom profile (you may have done this already), you'll find it in /home/user/.kernel and change the line in that file that says "GOVERNOR=ondemand" to "GOVERNOR=conservative", and set your custom profile as default.

ammyt 2010-12-19 13:54

Re: Requesting Knowledge Power-Kernel
 
Thx i guess this will conserve battery life?

retsaw 2010-12-19 14:11

Re: Requesting Knowledge Power-Kernel
 
Maybe. It is hard to say. There is an argument that it is better to run at a higher frequency so your N900 can finish what it is doing and go back to idle mode more quickly (where the CPU uses virtually zero power), but I think most people fail to take into account that the voltage is typically increased when the frequency is increased which affects the power calculations, this argument may still be valid even considering that, but I'm not sure.

For me, I use my N900 a lot for listening to downloaded radio shows via the Media Player, which means the CPU is constantly active at a low level, so I think it is better for my use case, since I don't think there is much opportunity for it to idle while doing that, but I also put it on charge when I can, which makes it hard to evaluate the effect on battery life.

Maybe you should try it yourself and see, one effect you may notice from switching the scaling governor to conservative is that it may be a little less responsive at times because it takes longer to scale the frequency up when needed.

geneven 2010-12-19 15:14

Re: Requesting Knowledge Power-Kernel
 
Following a few recent posts, I set my max and min freqs to 900, which gave good enough results for me.

zimon 2010-12-19 21:51

Re: Requesting Knowledge Power-Kernel
 
Also remember to check after undervolting and overclocking that your DSP is still working. The device can work otherwise fine, but DSP acceleration no longer work for example in Mediaplayer.

For my device this combination seems to be the best and if I try to squeeze any parameter "better", either the device crashes or DSP starts to have hick-ups: LV-profile, 250-900 Mhz, vdd2 SmartReflex enabled but vdd1 disabled.

ammyt 2010-12-20 13:40

Re: Requesting Knowledge Power-Kernel
 
After some days of testing, the best results with me are:
xlv
500 1000
governor:conservative
btw can I set smartreflex if I'm using a higher speed than 750? And what are the governor settings availble?

ammyt 2010-12-20 14:14

Re: Requesting Knowledge Power-Kernel
 
Do you mind sharing what settings you have?

ammyt 2010-12-21 13:10

Re: Requesting Knowledge Power-Kernel
 
ehhem.......

zimon 2010-12-21 13:15

Re: Requesting Knowledge Power-Kernel
 
Quote:

Originally Posted by ammyt (Post 900593)
Do you sharing what settings you have?

Who?
I already shared. LV, 250-900 Mhz, vdd2=1, vdd1=0
What is missing, ignore_nice_load=0, governor=on_demand
Code:

Nokia-N900:~# kernel-config show
current kernel configuration:
current frequency: 900
supported frequencies: 125 250 500 550 600 700 750 805 850 900 950 1000 1100 1150
min. frequency: 125
max. frequency: 900
avoid frequencies: 125
active frequencies: 0:30,90 250:38,180 500:48,360 550:48,400 600:54,430 700:54,430 750:54,430 805:54,430 850:54,500 900:54,500 950:54,500 1000:60,500 1100:72,520 1150:72,520
SmartReflex VDD1=0, VDD2=1
governor ondemand: ignore nice load= 0, up threshold= 75, sampling rate= 150000, powersave bias= 0


ammyt 2010-12-21 13:22

Re: Requesting Knowledge Power-Kernel
 
Everyone!.....

ammyt 2010-12-21 13:26

Re: Share your best kernel-power settings HERE!
 
I edited the threads name

munkiii 2010-12-21 13:34

Re: Share your best kernel-power settings HERE!
 
I have Queen Beecon widgets/buttons on my homescreen for setting the speeds.

1. Stock Voltage 250-600
2. Low Voltage 500-850
3. Low Voltage 500-1000

tele 2010-12-21 13:39

Re: Share your best kernel-power settings HERE!
 
best one is ideal @ 500 950
500 uses same voltage as 250
950 uses less voltage then 600

Orlando 2010-12-27 23:31

Re: Share your best kernel-power settings HERE!
 
Originally Posted by Orlando

Hey there !

I found this post for you:
"xlv, ulv, are just power-schemes. they have nothing to do with the clockspeed. you can change the clockspeed by typeing:
kernel-config limits 250 750."

Tried that and got this message:

"kernel-config: not found"

Can you please advise ?
Thanks !

Originally Posted by epitaph

Go **** yourself!!!


That was a private message i sent and that was the reply i received.
As you can see the reply was not of much help :)
Can anyone advise please ?

maraudery 2010-12-27 23:51

Re: Share your best kernel-power settings HERE!
 
These power saver settings are utter nonsense. They wont make any difference on the long run. If you keep using 3G or gprs and browsing + make some pictures your battery wont last 6 hours.
And if you just leave your phone idling and only send a couple of sms + make phone calls then it might last 2 days.

Trestry 2010-12-27 23:53

Re: Share your best kernel-power settings HERE!
 
@Orlando
Try running as root.

martycollinsesq 2010-12-27 23:59

Re: Share your best kernel-power settings HERE!
 
I have had the Titan Kernel for months now. Made the rocky transition from pr 1.2 to 1.3; cleaned up any conflicts with Titan; got blessn900 and fcamera working. Just overclocked for the first time ever on the n900. I like it...a lot. I have the LastGo working, email, calendar, tasks, etc. Nice and responsive.

geneven 2010-12-28 00:17

Re: Requesting Knowledge Power-Kernel
 
Quote:

Originally Posted by ammyt (Post 899417)
So I guess the ULV is the best one in terms of battery life right? But I really need to know what's the cause of my device not underclocking to 125MHz? :confused:

Please note that Harrick's post shows the advantage of reading the docs.

Psycho 2010-12-28 00:42

Re: Share your best kernel-power settings HERE!
 
im using LV scheme with 250 - 850 .. BUG free...

the problem is that if you set it too heigh.. for example 1000 mhz. ur n900 will crash faster and its more unstable. So you have to think about 'stable' mhz.

im using it for now uhmm 8 months ? stable it is !

With my scheme and swappolube, the system is smooth and fast. So i dont need any improvements anymore. ;)

epitaph 2010-12-28 00:57

Re: Share your best kernel-power settings HERE!
 
i'm sorry for my unthankful speech but i got a superfast microb here. just follow my tutorial in my signature and u will see. Also I get ctorrent + flashlite patch to work here. w/o changing to ext3 and such, thank u for reading!
P.S. I dl a a 1.5 GB.file with bittorrent with 40//60 kb/s (dl/up) while I'm listening to an internetradio and surfing and writing in a browser. conky says i'm to the max (900l mhz).

casketizer 2010-12-28 01:56

Re: Share your best kernel-power settings HERE!
 
Using 250-1000@ULV

lower Voltage than ULV makes my N900 unstable.
I see no real difference beteen ondemand and conservative.

I also use statusbar applets to switch between GSM and 3G. 99% of the time i use GSM.
I use wifi switcher applet to disable wlan when its not needed and the device runs on battery.

Erazor 2010-12-28 03:09

Re: Share your best kernel-power settings HERE!
 
Thats my Kernel-Setting.
works like a charm ;)

no bugs. no probs ;)

Perhabs anyone like the settings.
Try it and enjoy the Batterylife and fast ui

btw. got some little modifications, too.

such swapiness and other stuf
(its all here in the forum :) )

Code:

# DO NOT EDIT THIS FILE - CREATE A COPY OF IT FOR CUSTOMIZATION
# minimum frequency to use
MINFREQ=125
# maximum frequency to use
MAXFREQ=750
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 125:30,90 250:30,360 500:30,360 550:33,400 600:38,430 700:45,430 750:45,430 805:48,430 850:48,500 900:54,500 950:54,500 1000:60,500 1100:72,520 1150:72,520"
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
UP_THRESHOLD=75
SAMPLING_RATE=150000
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=0

best wishes
Erazor

Sash 2010-12-28 10:18

Re: Share your best kernel-power settings HERE!
 
I run a tweaked version of the Starving config, I made some of the voltages even lower. I'm not too fussed about speed but am more concerned with battery life and this config has helped quite alot.

min. frequency: 250
max. frequency: 750
avoid frequencies: 125
active frequencies: 0:22,90 250:26,180 500:28,360 550:31,400 600:33,430 700:40,430 750:41,430 805:44,430 850:45,500 900:48,500 950:51,500 1000:55,500 1100:63,520 1150:69,520
SmartReflex VDD1=0, VDD2=0
governor ondemand: ignore nice load= 1, up threshold= 75, sampling rate= 150000, powersave bias= 0

gabby131 2010-12-29 23:39

Re: Share your best kernel-power settings HERE!
 
here's mine

min freq: 500
max freq: 1000
active freq: 0:30,90 500:30,360 600:38,430 850:48,500 1000:60,500
smartreflex: both 0
governor: ondemand
ignore_nice_load: 1
upthreshold: 75
sampling rate: 150000

jothanan 2011-01-04 05:18

Re: Share your best kernel-power settings HERE!
 
My current kernel config

current freq: 850
min freq: 500
max freq: 850
avoid freq: 125, 250
active freq: 0:30,90 500:30,360 550:33,400 600:38,430 700:45,430 750:45,430 805:48,430 850:48,500 and so on...
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
UP_THRESHOLD=75
SAMPLING_RATE=150000
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=0


can anyone please explain to me what would be the effect if i remove some frequencies on the "active frequencies". I have my own idea about it, but i just want to make sure and want to read it from you guys. :D Like how would i know what frequency would be best to remove in the "active freq" and what's the explanation?

about the procedure on how to remove it, is it ok to just edit it with leafpad and removed frequencies i want to remove right away? or do i have to do it in x-term and include those freqs in the avoid_frequency? please enlighten me once and for all. =) thank you.


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

vBulletin® Version 3.8.8