egoshin
|
2010-04-16
, 00:24
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#41
|
The Following 2 Users Say Thank You to egoshin For This Useful Post: | ||
|
2010-04-16
, 00:26
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#42
|
Did you guys experiment with changing the CPU sampling rate? (the interval between changing frequencies) The default is 300ms. To me it seems that lower values are better for responsiveness and also allow the CPU to go back to lower frequency quicker. On the other hand, higher values tend to spread background CPU load more evenly, so the CPU is less likely to go to higher frequencies unnecessarily due to short load peeks.
Do you have any recommendations regarding the CPU sampling rate?
The Following User Says Thank You to egoshin For This Useful Post: | ||
|
2010-04-16
, 06:32
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#43
|
1.41 == sqrt(2)
EDIT2: But my experience with artificially keeping some background applications on low frequency doesn't support that value, it looks like low frequency wins in battery saving.
They are linked as
No. No. May be.
|
2010-04-16
, 06:52
|
Posts: 61 |
Thanked: 51 times |
Joined on Feb 2010
@ Zurich
|
#44
|
|
2010-04-16
, 07:17
|
Posts: 20 |
Thanked: 10 times |
Joined on Jan 2010
@ Australia
|
#45
|
I'm right with what? :-)
That the voltage is still in the limits of correct operation of the CPU or that the data can be corrupted??)
|
2010-04-16
, 17:49
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#46
|
Hmm.
Rough estimation for power consumption on CMOS is:
C*V^2*f
250 Hz * 1.2^2 = 360
500 Hz * (1.2*0.71)^2 = 363
1000 Hz * ( 1.2*0.71^2)^2= 365
I thought that encoding mp3 needs at least some power from processor or is it possible to put main processor sleep and leave the whole encoding to dsp. Can we control dsp's voltage or is it same as main cpu voltage.
The Following User Says Thank You to egoshin For This Useful Post: | ||
|
2010-04-16
, 17:49
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#47
|
The Following User Says Thank You to egoshin For This Useful Post: | ||
|
2010-04-16
, 23:28
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#48
|
I don't know what to say. Just today in IEEE Computers I read that doubling frequency quadruples an energy, without explanation.
And my experiments with "ignore_nice_load" and putting some background applications to nice acknowledges it. So, Nokia engineer, who wrote linear energy increase from frequency may be wrong.
Decoding mp3 requires a CPU cycles and that is a constant load. Basing on my measurements it is not the "second to zero MHz" but something more intensive. But it mya be just codec - some codecs are not processed in DSP but inside software, you need more systematic measurement. Get 'powertop', start music, run powertop from shell and lock N900 for 1min. After that you will have a histogram of CPU states and frequencies.
|
2010-04-17
, 01:14
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#49
|
What explanation you need for that pretty general and widely used equation on cmos chips? It´s just rough estimation and as i said there is other variables also that depend on frequency. I was talking ONLY about processor, not whole mainboard.
Hmm. I stated before that when playing music n900's processor stays on second lowest state and you answered/"corrected" to that saying "no". I´am a bit bedazzled. I´am quite sure that when playing music (headphones) processor stays on 250 MHz even when screen is off. And you are also saying here that i should test it with powertop, but you already said "no". Is this because of my rather bad english or what´s happening here?
The Following 2 Users Say Thank You to egoshin For This Useful Post: | ||
|
2010-04-17
, 14:23
|
Posts: 171 |
Thanked: 114 times |
Joined on Feb 2010
|
#50
|
#UP_THRESHOLD=75
#SAMPLING_RATE=150000
VDD1_OPPS_VSEL="20 20 28 30 33 38 45 45 48 48 54 54 60 72 72"
DSP_OPPS_RATE="90 90 180 360 400 430 430 430 430 500 500 500 500 520 520"
MIN_FREQ=250000
MAX_FREQ=850000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
The Following 3 Users Say Thank You to arbitrabbit For This Useful Post: | ||