maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] kernel-power stable v49 in Extras-Testing (https://talk.maemo.org/showthread.php?t=71879)

Estel 2011-11-13 19:03

Re: [Announce] kernel-power unstable v49
 
Thanks freemangordon, now i understand what it is going about. In situation, where we're close to optimal values, I always prefer a little "too high" voltage, than one "tiny-bit too low", even if it may appear only during certain, specific situations - but, AIUI, You're trying to achieve exactly same thing, 100% safe values, that are - at the same time - saving battery. The idea is very appealing - I wonder, how up times on one battery will look with dual-scud 3000 mAh I'm using ;)

Only one small question remain - do you think that - with new values - current idea of "race-to-idle" (i.e, that limits 500-900, are more power-efficient that 250-900 or 1250-900, due to device finishing tasks faster on 500-900, and setting on 0 for more time), are outdated with new Sr, i.e 125-900 is now more power-efficient (or will be, after finalizing SR vdd2 also)? "Common sense" still tells me, that it's better to finish task on 500 mhz, and sit on 0 mhz (saving on power leakage), than doing it longer on 125 mhz, even extra-low-voltaged. but, I may miss something, that's why I'm asking.

/Estel

knobby 2011-11-13 19:38

Re: [Announce] kernel-power unstable v49
 
@freemangordon...
i tried lowering dsp rates but same results..
and one more thing...it seems like sr_vdd1 decreases the voltages too much as the video that starts playback smoothly starts stuttering in between, when i pause at that moment and resume it, the same sequelae is repeated and ultimately the same notice (saying media format not supported) pops up...the same video is played with my custom profile 250-805 limits with dsp 520 at 805 and 430 at 720 and much reduced voltages i.e 50 at 805 and 720, 48 at 500 550 and 600...
ps vdd1=0 vdd2=1
thanks..

freemangordon 2011-11-13 19:40

Re: [Announce] kernel-power unstable v49
 
@knobby could you please lock frequencies one by one (starting @500) to check which frequency is problematic.

knobby 2011-11-13 19:46

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123029)
@knobby could you please lock frequencies one by one (starting @500) to check which frequency is problematic.

sorry but did u mean with dsp profile and vdd1=1

Estel 2011-11-13 19:48

Re: [Announce] kernel-power unstable v49
 
locking frequency = device is all the time sitting on one frequency, no matter of load. You can achieve this from kernel-settings. See:

http://wiki.maemo.org/Kernel_Power

freemangordon 2011-11-13 19:48

Re: [Announce] kernel-power unstable v49
 
yep.

kernel-config load dsp

and after that ssh into device while playing video
and start:

kernel-config lock 500
kernel-config lock 550
...
kernel-config lock 805

and report on which frequency video stops

EDIT:
should we move on IRC?

Gusse 2011-11-13 19:50

Re: [Announce] kernel-power unstable v49
 
Is KP profile voltage the minimum voltage that is used and SR enable higher voltages when needed (e.g SR cannot set VDD1 below profile voltages)?

Fast testing w/o SR (w SR)
Incl. File browsing, web surfing, leafpad editing, etc...
17 -> OK (17)
16 -> OK (16)
15 -> OK (18)
14 -> OK (18)
13 -> OK (18)
12 -> OK (18)
11 -> OK (18)
10 -> reset

Quote:

Originally Posted by Estel (Post 1123014)
"Common sense" still tells me, that it's better to finish task on 500 mhz, and sit on 0 mhz (saving on power leakage), than doing it longer on 125 mhz, even extra-low-voltaged. but, I may miss something, that's why I'm asking.

/Estel

I thought also same way, but long term testing has shown that 125M & 500M profile is better that single 500M. Most of the prosessing time is on 125M (~75%) and 500M (~25%).
Use case: night time, phone not in use at all.

EDIT: I'll do more testing with 125:12,90 setting. I'll make this a new default setting and w/o SR

freemangordon 2011-11-13 19:52

Re: [Announce] kernel-power unstable v49
 
It is the starting point, i.e. initial voltage.

EDIT:
So it seems we can go as lower as 11-12 (~740mV). That are very good news re battery life

knobby 2011-11-13 20:21

Re: [Announce] kernel-power unstable v49
 
@freemangordon...
at 500 550 and 600 video is stuttering all the way but no such message (media format unsupported)popped up..(maybe it is normal bcoz of low dsp)

but at 720 and 805 the video showed the same phenomenon but at 720 it was far less than 805...

patlak 2011-11-13 20:24

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Gusse (Post 1123039)
I thought also same way, but long term testing has shown that 125M & 500M profile is better that single 500M. Most of the prosessing time is on 125M (~75%) and 500M (~25%).
Use case: night time, phone not in use at all.

How's the lag when using the device at 125 min? At 250 I notice a huge lag compared to 500 min when entering the app menu. I know that it's lighter on the battery, but it's annoying :(

freemangordon 2011-11-13 20:25

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by knobby (Post 1123054)
@freemangordon...
at 500 550 and 600 video is stuttering all the way but no such message (media format unsupported)popped up..(maybe it is normal bcoz of low dsp)

but at 720 and 805 the video showed the same phenomenon but at 720 it was far less than 805...

So you have message " ...unsupported" on both 720 and 805? Or it stutters? What are your DSP speeds for 720 and 805? Are you using "stock" DSP profile?

EDIT:
Is it HD video you are trying to play?

Gusse 2011-11-13 20:34

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by patlak (Post 1123056)
How's the lag when using the device at 125 min? At 250 I notice a huge lag compared to 500 min when entering the app menu. I know that it's lighter on the battery, but it's annoying :(

Therefore I use this profile only during night time (doesn't matter if it is lagging). Day time I have 500M and 850M profile.

EDIT:
Night time: 125:12,90 500:30,360 (w/o SR)
Day time: 500:30,360 850:49,600 (w SR)

knobby 2011-11-13 20:35

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123057)
So you have message " ...unsupported" on both 720 and 805? Or it stutters? What are your DSP speeds for 720 and 805? Are you using "stock" DSP profile?

Yep, (unable to play media format unsupported) message pops up at both the frequencies i.e 720M & 805M..
dsp rates..
720=520
805=600

And yes i am using stock dsp profile without any modifications...

i have a custom profile very similar to dsp profile but with reduced voltages and vdd1=0
it has..
500=48 360
550=48 400
600=50 430
720=50 520
805=52 600
850=52 600
900=54 600

vdd1=0 vdd2=1
sampling rate=300000
upthreshold factor=95
ign nice load = 0
power saver bias=0

this plays all videos smoothly..

IMHO i think vdd1 is the confounding factor

and yes it hd 1280x720 xvid

freemangordon 2011-11-13 20:51

Re: [Announce] kernel-power unstable v49
 
@knobby: The problem is that your DSP cannot handle much overclocking.

Ok, could you please make a custom profile based on dsp, make maximum frequency to be 900 and change DSP frequencies as follows (leaving SR enabled):
720 - 430
805 - 500
850 - 560
900 - 600

and try again.

patlak 2011-11-13 21:14

Re: [Announce] kernel-power unstable v49
 
@freemangordon
If it's of any assistance, I was just testing my voltage limits.
500/360=28 fully stable, 27 gave a reboot, but I keep mine at 29
550,600/520=39 fully stable, 38 gave playback error, no reboot though; i keep it at 40

I'll be testing 250 and 125 and let you know how it'll fare ;)

EDIT: SR is disabled

@Gusse
What are your nightime min max?

knobby 2011-11-13 21:23

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123069)
@knobby: The problem is that your DSP cannot handle much overclocking.

Ok, could you please make a custom profile based on dsp, make maximum frequency to be 900 and change DSP frequencies as follows (leaving SR enabled):
720 - 430
805 - 500
850 - 560
900 - 600

and try again.

i tried the above stated parameters and the results are

I WANNA GIVE U A TIGHT HUG FREEMANGORDON....

video played flawlessly at 850 and 900 though stuttered at 720 and 805...
awesomely awesome playback at 850 and 900...no irritating messages and not a single framedrop...

thanks a lot... :)

Alfred 2011-11-13 21:29

Re: [Announce] kernel-power unstable v49
 
Here running at 125:10,90
will report tomorrow, leave it this way for a night with a charger plugged in.

EDIT
usually running at this
Code:

current kernel configuration:
current frequency: 805
supported frequencies: 125 250 500 550 600 720 805 850 900 950 1000 1100 1150
min. frequency: 720
max. frequency: 805
avoid frequencies: 125 250 500 550 600 950 1000 1100 1150
active frequencies: 720:45,430 805:47,500 850:50,560 900:52,600
SmartReflex VDD1=1, VDD2=1
governor ondemand: ignore nice load= 1, up threshold= 95, sampling rate= 300000, powersave bias= 20


Estel 2011-11-13 21:33

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by knobby (Post 1123082)
I WANNA GIVE U A TIGHT HUG FREEMANGORDON....

Same here, but I would also like to give You a big hug, for all those testing - You did it before I was even able to install new kernel, and I'm sure it's very helpful for freemangordon.

/Estel

freemangordon 2011-11-13 22:02

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by patlak (Post 1123080)
@freemangordon
If it's of any assistance, I was just testing my voltage limits.
500/360=28 fully stable, 27 gave a reboot, but I keep mine at 29
550,600/520=39 fully stable, 38 gave playback error, no reboot though; i keep it at 40

I'll be testing 250 and 125 and let you know how it'll fare ;)

EDIT: SR is disabled

@Gusse
What are your nightime min max?

Thanks, but could you also enable SR to check what voltages it calculates.

mr_pingu 2011-11-13 22:08

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123110)
Thanks, but could you also enable SR to check what voltages it calculates.

How to check what voltages it calculates? I just use SR to 900MHz with slightly lower voltages than the dsp profile. Do you want me to put it to its limits?

patlak 2011-11-13 22:43

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123110)
Thanks, but could you also enable SR to check what voltages it calculates.

500/360=33
550/520=36
600/520=39

I tested also 550 at 36, immediate error, doesn't even think about it. 39 for 600 is stable as I said in the post above.

33 for 500 seems pretty high, though.

moepda 2011-11-13 22:53

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1122415)
here are KP49 .debs with SR (hopefully) working for range 125-900 MHz. I would appreciate if brave souls test it and comment.

There is an additional value in /sys/power called sr_vdd1_voltage. It contains current OPP voltage as calculated by SR. One can compare it and report what are the differences between what SR thinks is optimal and what he thinks is for a particular frequency. I need that info to check if current SR settings in kernel are optimal.

Any additional feedback is welcome too.

just a quick question... using freemangordans 720p files +kp49 for video and when installing the test kp49.deb files i was asked if i wanted to update my etc/modprobe.d/bridgedriver as package maintainer supplied newer version . i chose to keep my installed version but am not sure if i should install newer version ? videos still work (test.avi etc) but still not sure which is the best action to take...

*edit* , i see on the kp49 from 1st november that no bridgedriver is supplied in kernel-power-modules_2.6.28-10power49_armel.deb so is this new addition needed for my 720p ?

patlak 2011-11-13 22:54

Re: [Announce] kernel-power unstable v49
 
@Estel

supl.google.com works. I guess Elop is really trying to kill the N900 by taking them away under warranty and now canceling a-gps server. Good thing it's not KP fault ;)

freemangordon 2011-11-14 00:38

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by patlak (Post 1123130)
500/360=33
550/520=36
600/520=39

I tested also 550 at 36, immediate error, doesn't even think about it. 39 for 600 is stable as I said in the post above.

33 for 500 seems pretty high, though.

Man, please, try to put some sanity in what you're doing. How do you think it is possible to run 550/520 when 720/520 is assumed stable, I even changed KP frequencies because of that. Meh. Otherwise 33 for 500 is a little high, I agree, but not much to be done here, some devices pretend they can run 500/30, but actually cannot, that is why there is a little voltage boost for 500.

In short, don't try some exotic frequency profiles with SR enabled, it won't work. Use dsp profile and if it is not stable re videos, move DSP overclocking to higher frequencies(look at knobby's posts).

Anyway thanks for your help testing SR.

patlak 2011-11-14 01:45

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123169)
Man, please, try to put some sanity in what you're doing. How do you think it is possible to run 550/520 when 720/520 is assumed stable, I even changed KP frequencies because of that. Meh. Otherwise 33 for 500 is a little high, I agree, but not much to be done here, some devices pretend they can run 500/30, but actually cannot, that is why there is a little voltage boost for 500.

In short, don't try some exotic frequency profiles with SR enabled, it won't work. Use dsp profile and if it is not stable re videos, move DSP overclocking to higher frequencies(look at knobby's posts).

Anyway thanks for your help testing SR.

What in the hell do you mean by saying you changed KP frequency because of 550/520??? I use those frequencies and don't go past 600 when I record/play movies. What is the problem with 550/520, seriously, I don't get it? Device is working perfectly fine and doesn't need to jump to 600 since I have DSP set at 520 at 550.

BTW, I don't use SR, just tested for you.

Oh....and you're welcome!

zeljkobo12 2011-11-14 08:10

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1122415)
here are KP49 .debs with SR (hopefully) working for range 125-900 MHz. I would appreciate if brave souls test it and comment.

There is an additional value in /sys/power called sr_vdd1_voltage. It contains current OPP voltage as calculated by SR. One can compare it and report what are the differences between what SR thinks is optimal and what he thinks is for a particular frequency. I need that info to check if current SR settings in kernel are optimal.

Any additional feedback is welcome too.

I'm on your latest kp49 for 24h, no reboots or strange behavior, 720 recording works fine, on dsp profile set @250-900.
These are sr_vdd1_voltage values:
250 MHz sr_vdd1_voltage 23-34
500 MHz sr_vdd1_voltage 36-48
550 MHz sr_vdd1_voltage 35-54
600 MHz sr_vdd1_voltage 38-60
720 MHz sr_vdd1_voltage 52-60
805 MHz sr_vdd1_voltage 48-60
850 MHz sr_vdd1_voltage 52-60
900 MHz sr_vdd1_voltage 53-60

How can I check what voltage is best to use, since current OPP voltage as calculated by SR is lower than set by dsp profile?
Thanks in advance...

freemangordon 2011-11-14 08:42

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by zeljkobo12 (Post 1123275)
I'm on your latest kp49 for 24h, no reboots or strange behavior, 720 recording works fine, on dsp profile set @250-900.
These are sr_vdd1_voltage values:
250 MHz sr_vdd1_voltage 23-34
500 MHz sr_vdd1_voltage 36-48
550 MHz sr_vdd1_voltage 35-54
600 MHz sr_vdd1_voltage 38-60
720 MHz sr_vdd1_voltage 52-60
805 MHz sr_vdd1_voltage 48-60
850 MHz sr_vdd1_voltage 52-60
900 MHz sr_vdd1_voltage 53-60

How can I check what voltage is best to use, since current OPP voltage as calculated by SR is lower than set by dsp profile?
Thanks in advance...

That is the general idea of SR, profile values are just initial voltages for auto-adjustment.

BTW are you sure you wrote correct values for 500(36) and 720(52)?

vi_ 2011-11-14 09:15

Re: [Announce] kernel-power unstable v49
 
I HAVE A BUG!!!!!!

A SERIOUS ONE TOO.




where is the freemangordon beer fund?

Gusse 2011-11-14 09:24

Re: [Announce] kernel-power unstable v49
 
Turning display on from side switch at 125M with low voltages cause reboot (32wd_to).
Voltages below 20 seems to be problematic when device is waked with side switch. Sometimes it wake -up OK, but time to time nothing happens on screen and 32k WD kick-in causing reboot. Also if side switch is pulled several times (display on & off) then this is also causing reboot.

Otherwise 125:12,90 is OK if you won't let it go sleep/deep-sleep or what it is doing when display is off.

EDIT: Verified with 2 devices. No matter if SR is enable or not.

zeljkobo12 2011-11-14 09:52

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123288)
That is the general idea of SR, profile values are just initial voltages for auto-adjustment.

BTW are you sure you wrote correct values for 500(36) and 720(52)?

I checked it again, for 500 it's(32) and for 720 (43)

patlak 2011-11-14 10:03

Re: [Announce] kernel-power unstable v49
 
@freemangordon

With your expertise and all, would you mind explaining as to why I should leave dsp overclocking for higher frequencies like knobby when it actually works on my device at low? I even had 600/600, perfectly stable, but didn't see much of a difference with 520, so lowered back.

Thanks in advance.

Estel 2011-11-14 12:18

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Gusse (Post 1123304)
Turning display on from side switch at 125M with low voltages cause reboot (32wd_to).
Voltages below 20 seems to be problematic when device is waked with side switch. Sometimes it wake -up OK, but time to time nothing happens on screen and 32k WD kick-in causing reboot. Also if side switch is pulled several times (display on & off) then this is also causing reboot.

Otherwise 125:12,90 is OK if you won't let it go sleep/deep-sleep or what it is doing when display is off.

EDIT: Verified with 2 devices. No matter if SR is enable or not.

Hey, let's remain on the sane side of the Force. If voltages below 20 result in problems while unlocking, I just imagine what may happen during more demanding (instant big differences in current) situations.

I'm also not 100% sure about risk of filesystem corruption because of "sneaky" undervoltage (one that doesn't result in reboots, but may result in CPU calculating with errors), but I do believe, that I encountered it once, long time ago. Despite being careful with things I install, many things started to act bizarrely, or just get plain broken, and it was getting worse over time. I was using so-called "ideal" undervolting profiles - without random reboots - and it was one and only time, when I had to reflash - after that, installing the same packages etc, but using custom profile with much higher voltages, I *never* encountered such problems again.

So, as I've said - I can't be 100% sure, but it seems to me that it isn't urban legend. Saving battery life is cool, but lets don't get over-excited with it, and remain in sane, 150% stable values, +1 value up, just in case ;)

/Estel

imacmillan 2011-11-14 12:24

Re: [Announce] kernel-power unstable v49
 
seems stable for me with 250-900 with SR enabled.
Could someone explain how the initial votages used - eg starving profile or ulv etc etc) will effect the smart reflex? cause my ideas on SR is that it intelligently adjusts the voltage? thanks in advance

lidow 2011-11-14 14:14

Re: [Announce] kernel-power unstable v49
 
@freemangordon

I've successfully enabled/used 720p in the very beginning of the announcement, all was fine, just battery started to drain too fast (~10-12 hours max with moderate use). Therefore I restore my previous kp48 and everything was fine, but without 720p of course.
I can see that you've managed to fix SR, so it suppose to save some battery while kp49 + 720p, so I decide to try again with 720p/kp49.
I can see everything playing fine. I'm still measuring my battery duration, but I'm optimistic.

I want to help you, so this become a stable change, here are some info that could be in use for you. Let me know if you need more info, I would be glad to share or test anything. I've tried playing 720p content @500 and @805, both played ok:



# cat /proc/cpuinfo
Code:

Processor      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 499.92
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant    : 0x1
CPU part        : 0xc08
CPU revision    : 3

Hardware        : Nokia RX-51 board
Revision        : 2101
Serial          : 0000000000000000


# cat /sys/power/Efuse
Code:

0089a5b5
009ac2ec
00aad595
00aac089
00abaffe
00ab95dd
00ab86c9
00bbfbbe
00bbecb4


# cat /sys/power/idcode
Code:

IDCODE: 4b7ae02f
Production ID: 00000000 00000000 000000cc cafeb7ae
Die ID: 1700e003 04036ecf 00000000 0ad80004


# kernel-config show
Code:

current kernel configuration:
current frequency: 805
supported frequencies: 125 250 500 550 600 720 805 850 900 950 1000 1100 1150
min. frequency: 250
max. frequency: 805
avoid frequencies: 125
active frequencies: 250:38,180 500:48,360 550:54,400 600:60,430 720:60,520 805:60,600 850:60,600 900:60,600 950:60,600 1000:60,600 1100:72,600 1150:72,600
SmartReflex VDD1=1, VDD2=1
governor ondemand: ignore nice load= 0, up threshold= 95, sampling rate= 300000, powersave bias= 0

Надявам се някой ден да те почерпя няколко бири (или каквото пиеш) някъде в София. Безспорно си заслужил.

disappear 2011-11-14 14:49

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by lidow
Надявам се някой ден да те почерпя няколко бири (или каквото пиеш) някъде в София. Безспорно си заслужил.
За пръв път чувствам задоволство когато чета мнение в този форум.Иначе да безпорно freemangordon заслужава много повече от бира а и мисля че той има най-важното което човек иска да притежава нашето уважение

fahadj2003 2011-11-14 14:59

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by disappear (Post 1123416)
За пръв път се чувствам задоволство когато чета мнение в този форум.Иначе да безпорно freemangordon заслужава много повече от бира а и мисля че той има най-важното което човек иска да притежава нашето уважение

in mader russia, u kill me.

disappear 2011-11-14 15:16

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by fahadj2003
in mader russia, u kill me
First:learn where is Bulgaria
Second:then comment
and finally:nothing personal but very stupid opinion

freemangordon 2011-11-14 15:19

Re: [Announce] kernel-power unstable v49
 
That is offtopic here, please stop it.

disappear 2011-11-14 15:24

Re: [Announce] kernel-power unstable v49
 
Ok.No problems

moepda 2011-11-14 15:30

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by moepda (Post 1123136)
just a quick question... using freemangordans 720p files +kp49 for video and when installing the test kp49.deb files i was asked if i wanted to update my etc/modprobe.d/bridgedriver as package maintainer supplied newer version . i chose to keep my installed version but am not sure if i should install newer version ? videos still work (test.avi etc) but still not sure which is the best action to take...

*edit* , i see on the kp49 from 1st november that no bridgedriver is supplied in kernel-power-modules_2.6.28-10power49_armel.deb so is this new addition needed for my 720p ?

sorry to bump my post up but @freemangordan could you explain which bridgedriver ?


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

vBulletin® Version 3.8.8