maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Question] - Does the Smartreflex work in P.R. 1.3? (https://talk.maemo.org/showthread.php?t=73040)

arnoldux 2011-05-14 14:12

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
i actually tried enabling SR via qcpufreq and rebooted has soon has i enabled.... never tried since

Erazor 2011-05-14 14:27

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by f2thak (Post 1006015)
apparently you should have VDD 1 and 2 both on, but if it works, I guess its fine

i'll test this now ;)


//edit

OMFG the battery life is incredible
how can this be?
only with two 1 in a config file oO

thats awesome

Only 300mAh for the whole day?
(GSM and Online)

thats more than awesome. tomorrow i make a hardcore test with music and online mode.

i love my N xD

<3 allways in love :D

HellFlyer 2011-05-16 02:11

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
SUCCESS :D

Your profile settings seems to work Erazor. I just gonna try higher frequency at least 805...Now lets see how battery holds up :)

Erazor 2011-05-16 04:19

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by HellFlyer (Post 1007069)
SUCCESS :D

Your profile settings seems to work Erazor. I just gonna try higher frequency at least 805...Now lets see how battery holds up :)

:D sounds great

my "hardcore" day starts now.

good luck 2 u :D



//edit:


ok Test-Day 1 over ^^

after 10h nonstop music+online+email usage the Battery gives up ^^
Hm
OKAY
looks nice and sounds good : )

tomorrow i test it without music.

stay tuned :D

//edit2:
Test Day 2 is over

with online+email+internet+sms and 2 reboots the Battery gives up after 12.5h

i think thats ok :)

compare it with a Netbook/Notebook ;)
the battery must be charged here also each day


//edit:

here is the profile again for the people who are interessted in my lifetime profile :D

Code:

# minimum frequency to use
MINFREQ=250
# maximum frequency to use
MAXFREQ=700
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 250:30,360 600:38,430 700:45,440"
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
GOVERNOR=ondemand
UP_THRESHOLD=70
SAMPLING_RATE=150000
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=0



based on the ideal profile.
but i modified it :)

i'm happy :)

yasirrfc 2011-05-17 22:23

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by Erazor (Post 1007098)
:D sounds great

my "hardcore" day starts now.

good luck 2 u :D



//edit:


ok Test-Day 1 over ^^

after 10h nonstop music+online+email usage the Battery gives up ^^
Hm
OKAY
looks nice and sounds good : )

tomorrow i test it without music.

stay tuned :D

//edit2:
Test Day 2 is over

with online+email+internet+sms and 2 reboots the Battery gives up after 12.5h

i think thats ok :)

compare it with a Netbook/Notebook ;)
the battery must be charged here also each day


//edit:

here is the profile again for the people who are interessted in my lifetime profile :D

Code:

# minimum frequency to use
MINFREQ=250
# maximum frequency to use
MAXFREQ=700
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 250:30,360 600:38,430 700:45,440"
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
GOVERNOR=ondemand
UP_THRESHOLD=70
SAMPLING_RATE=150000
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=0



based on the ideal profile.
but i modified it :)

i'm happy :)

overall, how fast is it? do u still feel its overclocked? and isnt 250 min a bit low? will 500 still be fine with smartreflex? and how did u manage to edit up_threshold?

yasirrfc 2011-05-17 22:25

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
a little tutorial or help would be appreciated on enabling smartreflex other than in qcpufreq and editing some stuff other than frequency like up_threshold. :)

Erazor 2011-05-17 22:45

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
how fast it is?

ahhhhh VERY FAST.
don't need to be faster for me :)
And i don't know why people overclock it to the max.....

the Tutorial? hmm okay let me help you a little ;)

1.forgot all the apps xD
2.get rootsh and leafpad

Code:

apt-get install rootsh
apt-get install leafpad

3. reboot your N
4. enter X-Term and type in root
5. enter the following command
Code:

leafpad /usr/share/kernel-power-settings/myprofie
write your name for "myprofile"

6.copy the code into it

Code:

# minimum frequency to use
MINFREQ=250
# maximum frequency to use
MAXFREQ=700
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 250:30,360 600:38,430 700:45,440"
# enables SmartReflex
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
# controls the cpu frequency
GOVERNOR=ondemand
# say the cpu change to a higher clockspeed when ** % are reached
UP_THRESHOLD=70
# set the time where the cpu change to a higher clockspeed
SAMPLING_RATE=150000
# ignore quick usage
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=0


7.save it

8. type in
Code:

kernel-config load myprofile
9. test the settings

10. when no reboot are happen then you can set it to the default profile. so the profile starts everytime when you boot your N

Code:

kernel-config default myprofile
you have to do this as root ;)



ahm yeah

Have Fun @ testing

vi_ 2011-05-17 23:04

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
For total max bro style battery life you may wish to consider limiting the device to 600MHz, you will notice the voltage jump from 600-700MHz is quite significant.

Code:

power=voltage^2*frequency

obviously how you are connected to the net also has a significant effect in battery.

i.e.

under-powered wifi>wifi>2G>3G


The other major pest is crumby software. Python+QML appz? forget it...hardware polling appz? forget it...

F2thaK 2011-05-17 23:56

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by Erazor (Post 1008684)
how fast it is?

ahhhhh VERY FAST.
don't need to be faster for me :)
And i don't know why people overclock it to the max.....

the Tutorial? hmm okay let me help you a little ;)

1.forgot all the apps xD
2.get rootsh and leafpad

Code:

apt-get install rootsh
apt-get install leafpad

3. reboot your N
4. enter X-Term and type in root
5. enter the following command
Code:

leafpad /usr/share/kernel-power-settings/myprofie
write your name for "myprofile"

6.copy the code into it

Code:

# minimum frequency to use
MINFREQ=250
# maximum frequency to use
MAXFREQ=700
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 250:30,360 600:38,430 700:45,440"
# enables SmartReflex
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
# controls the cpu frequency
GOVERNOR=ondemand
# say the cpu change to a higher clockspeed when ** % are reached
UP_THRESHOLD=70
# set the time where the cpu change to a higher clockspeed
SAMPLING_RATE=150000
# ignore quick usage
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=0


7.save it

8. type in
Code:

kernel-config load myprofile
9. test the settings

10. when no reboot are happen then you can set it to the default profile. so the profile starts everytime when you boot your N

Code:

kernel-config default myprofile
you have to do this as root ;)



ahm yeah

Have Fun @ testing




Ive got min and max @ 805
up threshold @ 75

have not had 1 single reboot, device is still fast and smooth..
profile based on ideal


Code:

MINFREQ=805
MAXFREQ=805
FREQS="0:25,90 805:48,430"
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
GOVERNOR=ondemand
IGNORE_NICE_LOAD=1
UP_THRESHOLD=75
SAMPLING_RATE=150000
POWERSAVE_BIAS=0


yasirrfc 2011-05-18 00:28

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
hows the battery life?

F2thaK 2011-05-18 00:42

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
much better. :D

I used to be O/C'd @ 1150 starving

But now im @ 805 ideal.

Cant notice any slow down in performance

I use WIFI quite a lot and usually by the end of the day my phone is flat. but now its around 20-30%.

Erazor 2011-05-18 01:20

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by vi_ (Post 1008699)
For total max bro style battery life you may wish to consider limiting the device to 600MHz, you will notice the voltage jump from 600-700MHz is quite significant.

Code:

power=voltage^2*frequency

obviously how you are connected to the net also has a significant effect in battery.

i.e.

under-powered wifi>wifi>2G>3G


The other major pest is crumby software. Python+QML appz? forget it...hardware polling appz? forget it...

i'm on 2G btw

when i'm on 2G it needs much more power than on wifi

my cpu works great with the voltages :)

Quote:

Originally Posted by yassirc

i make test days with 805 for you with my profile ;)


Quote:

Originally Posted by f2thak

when it works for you i test it too

but 805 is my max that i go.
don't see a sense in clocking a 600MHz CPU to 1150MHz

Xagoln 2011-05-18 05:33

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
It seems for most people SR vdd1 works fine.

I enabled it again yesterday and within 5 minutes, my /var/lib/dpkg/available file was corrupted during an apt-get install operation.

But then my phone crashes if I even try to use the 'ideal' overclocking profile.

yasirrfc 2011-05-18 06:14

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
okk thanks a lot

Erazor 2011-05-18 06:31

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
every cpu is unique :D

not every cpu can handle all settings.
i'm one of the lucky guys who get a imba cpu.

no problems so far ;)

btw my testday with 805MHz started for 1h

Greetz
Erazor

yasirrfc 2011-05-18 07:06

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
ok lets see how this works

Erazor 2011-05-18 13:16

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
okayyyyy

reboot @ 805MHz
played over the night music (with wallcharger)
and now 7.5h after i unpluged it, there is a reboot

seems that anything goes wrong with a process

for me it says that i set mine to my default clock ;)

IcyMoustache 2011-05-18 13:22

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
k guys, posted this somewhere else but I guess this is the right place....

does smartreflex work on the stock kernel??

Erazor 2011-05-18 13:32

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by IcyMoustache (Post 1009136)
k guys, posted this somewhere else but I guess this is the right place....

does smartreflex work on the stock kernel??

hmm i think no.
because you dont have a prfile for editing.

nothing wrong with the power-kernel

try it :)

vi_ 2011-05-18 13:41

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by IcyMoustache (Post 1009136)
k guys, posted this somewhere else but I guess this is the right place....

does smartreflex work on the stock kernel??

Yes. Either:

1. as root:

Code:

echo "1" > /sys/power/sr_vdd1_autocomp
echo "1" > /sys/power/sr_vdd2_autocomp

or

2. set it in qcpufreq.

reinob 2011-05-18 13:43

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
It does work with the stock kernel, at least theoretically.

Edit /etc/pmconfig and change the values in the two lines starting with "sr_vdd1_autocomp" and "sr_vdd2_autocomp".

OR, for the one-time test:
# echo “1″ >/sys/power/sr_vdd2_autocomp
# echo “1″ >/sys/power/sr_vdd1_autocomp

reinob 2011-05-18 13:44

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
oops, vi_, you beat me :)

yasirrfc 2011-05-18 14:40

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by Erazor (Post 1009127)
okayyyyy

reboot @ 805MHz
played over the night music (with wallcharger)
and now 7.5h after i unpluged it, there is a reboot

seems that anything goes wrong with a process

for me it says that i set mine to my default clock ;)

hey thats what i was talking about :) although your settings work fine and i have set min to 500. it is fast but not as fast as 805 :( but i havent noticed any significant improvement in battery life. i actually have this problem and my battery is acting all weird. i think its with the bq27x00_battery thing. my widget shows a greater percentage than in status bar like widget on homescreen shows 50 percent and status bar shows 12 percent. i have noticed that on 0.4 percent left battery i can play music for 2 hours and take some fcam pics. i dont know why is this but sometihng has gone wrong in my phone after the overclocking because before it on 0.4 percent, i could play max 4 songs. i think its not showing the right batt percentage

edit: solved the problem :) but still dont notice any saving in battery

Flandry 2011-06-07 08:39

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Posting to report: I've enabled SR for a few weeks now with no noticeable problems. I have my doubts it actually does anything in PR1.3, given that PR1.2 change, but there you go. In any case any power saving is not so amazing as to be obvious.

Currently using power kernel 47 with min=250:29,180, max=750:45,430

Erazor 2011-06-07 09:06

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by yasirrfc (Post 1009213)
hey thats what i was talking about :) although your settings work fine and i have set min to 500. it is fast but not as fast as 805 :( but i havent noticed any significant improvement in battery life. i actually have this problem and my battery is acting all weird. i think its with the bq27x00_battery thing. my widget shows a greater percentage than in status bar like widget on homescreen shows 50 percent and status bar shows 12 percent. i have noticed that on 0.4 percent left battery i can play music for 2 hours and take some fcam pics. i dont know why is this but sometihng has gone wrong in my phone after the overclocking because before it on 0.4 percent, i could play max 4 songs. i think its not showing the right batt percentage

edit: solved the problem :) but still dont notice any saving in battery



it seems that p-k47 and da bq battery module have a big problem with each other.

got a high battery drain

im on the tests to see what it is exactly

but im under heavy load in the RL so i can't test it 24hrs :D

F2thaK 2011-06-19 09:04

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Ive pushed my CPU to 850mhz with SR

Quote:

MINFREQ=850
MAXFREQ=850
FREQS="0:25,90 850:48,430"
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
GOVERNOR=ondemand
IGNORE_NICE_LOAD=1
UP_THRESHOLD=90
SAMPLING_RATE=150000
POWERSAVE_BIAS=0

MONVMENTVM 2011-06-19 09:15

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by F2thaK (Post 1031897)
Ive pushed my CPU to 850mhz with SR

And that's working stable? You sure have a heck of a cpu on your n900 if it runs at 850 with such a low voltage and SR enabled.

F2thaK 2011-06-19 10:50

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
yeh just tried it for a while, seems stable

installed an app, browsed the net and played a web os game

no probsso far :D

kolos 2011-06-19 11:16

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by F2thaK (Post 1031956)
yeh just tried it for a while, seems stable

installed an app, browsed the net and played a web os game

no probsso far :D

You are the lucky one. I tested two N900 and both of them can't go above 750 MHz.

MONVMENTVM 2011-06-19 11:20

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by kolos (Post 1031972)
You are the lucky one. I tested two N900 and both of them can't go above 750 MHz.

Mine seems stuck at 750 too. I can do a lot of things at 805 MHz too but after several hours it reboots and it seems that it also doesn't matter how much I raise the voltage.

On the other hand though I don't seem to save a lot of battery with smartreflex enabled.

kolos 2011-06-19 12:29

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Quote:

Originally Posted by MONVMENTVM (Post 1031974)
On the other hand though I don't seem to save a lot of battery with smartreflex enabled.

I share the same experience.

ammyt 2011-06-19 12:40

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Hmmmmmmmmm, I'm on PR1.3, no CSSU, kernel-power v46 (don't ask why) and my limits are set to 500 1150 using the starving profile. SR VDD2 if set at "1" causes no reboots, (dunno if it really works) but SR VDD1 if set at "1" causes an instant reboot....

F2thaK 2011-06-19 12:40

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
I get at the very least a few hours more uptime @ idle.

Havent really measured it properly but I am 100% certain the battery lasts longer.

It may depend on your overclocking settings, kernel version, etc.



Quote:

Originally Posted by ammyt (Post 1032015)
Hmmmmmmmmm, I'm on PR1.3, no CSSU, kernel-power v46 (don't ask why) and my limits are set to 500 1150 using the starving profile. SR VDD2 if set at "1" causes no reboots, (dunno if it really works) but SR VDD1 if set at "1" causes an instant reboot....

If your lucky you can use a max MHz of 850. most people use 700-805 mhz. but like I said above, It may depend on your overclocking settings, kernel version, etc.

geneven 2011-06-19 12:54

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
For me, anything above 805 causes a reboot.

Anyone running a starving profile should consider it the first suspect in case of problems, I think.

F2thaK 2011-06-19 13:07

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
Mines based on the ideal profile. Im currently running:

Quote:

MINFREQ=850
MAXFREQ=850
FREQS="0:25,90 850:48,430"
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
GOVERNOR=ondemand
IGNORE_NICE_LOAD=1
UP_THRESHOLD=90
SAMPLING_RATE=150000
POWERSAVE_BIAS=0

Mara 2011-06-19 14:02

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
I did try SmartReflex on my N900 few days and it worked fine as long as my max frequency was 805MHz.

However, I did not notice any battery life improvement (actually it felt shorter...) over my own custom overclocking profile I made for my phone long time ago.

OK. here is some information that I have read on TI DSP's designs I'm currently working on my daytime job, and how the SmartReflex works on them. The purpose of SmartReflex is really to improve the manufacturer (=TI) manufacturing yields allowing them to custom program the core voltage profile for each chip during production testing. Each chip is different, where some require slightly higher voltage than others to operate reliably at given clock speeds. The old method is to set a fixed power envelope and core voltage, and bin all parts to meet that requirement. Obviously this leads to fair amount of scrapped parts. Now, with SmartReflex they can program the optimal core voltage table into the chip itself. Some may require a slightly higher voltage, but as long as total power consumption is not exceeding their target, they can release that part as "good part".

When the SmartReflex part is used in actual board the core voltage power supply starts with some predefined (high) core voltage. The chip will now boot up and load its SmartReflex power management block. After this point the chip does use the VID control lines to talk to the core voltage power supply dynamically adjusting the core voltage with optimal values just for that chip.

Now when I did my own custom overclocking profile I did basically the same thing: I do have optimal core voltages for each frequency steps, so the SmartReflex does not offer any benefit. (Actually SR can be worse since they normally add a bit more stability margin than I did...) Therefore I'm not at all surpriced that I did not gain anything by enabling SmartReflex.

To summarize:

If you are using stock kernel and/or stock voltage profiles, you can gain battery life by enabling SmartReflex. (But it is not quaranteed... if you are the unlucky one you may have got the "bad" chip that requires the high end of voltages that are already in use by the default profile.)

If you are using a custom made voltage profile with overclocking kernel most likely you do not gain anything. You may actually lose a bit depending on how aggressively you have built your voltage/frequency profile.

Dragoss91 2011-06-19 14:30

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
I enabled vdd2 at 250-1000 limits but I don't see any difference .

F2thaK 2011-06-20 05:37

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
after 12 + hours of testing I have had a handfull of reboots. back to 805mhz

mr_pingu 2011-06-20 19:47

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
handfull reboots even with 805 when SR enabled, back to 900 mhz without SR :P

iscio 2011-07-05 20:18

Re: [Question] - Does the Smartreflex work in P.R. 1.3?
 
but qcpufreq changes vdd1 and vdd2? or only vdd1? thanks


All times are GMT. The time now is 22:19.

vBulletin® Version 3.8.8