The Following User Says Thank You to Gusse For This Useful Post: | ||
![]() |
2010-04-23
, 19:33
|
|
Posts: 168 |
Thanked: 206 times |
Joined on Apr 2010
@ Finland
|
#3282
|
CPU in idle has (at least in theory) clocks switched OFF. However, it has VDD1/2 and it has power leakage too. If we set (somehow) the idle VDD1/2 to a minimum for any frequency we may not need lowfreq anymore (because it looks from my measurement that CPU in high freq may consume energy less per CPU cycle or same. However, SmartReflex should be switched on for that).
![]() |
2010-04-23
, 19:34
|
Posts: 9 |
Thanked: 0 times |
Joined on Apr 2010
|
#3283
|
![]() |
2010-04-23
, 19:53
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#3284
|
OK, when system is in sleep or deep sleep modes, then clock is not probably running. But from time_in_state -file you can check that when system is running what frequencies you have used and how long times. In my case, idle (i.e. nighttime) CPU is at 125MHz 95% of the time, so from that perspective lowers CPU voltage is also best for battery life. Or is it?
The Following 2 Users Say Thank You to egoshin For This Useful Post: | ||
![]() |
2010-04-23
, 20:19
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#3285
|
The Following User Says Thank You to egoshin For This Useful Post: | ||
![]() |
2010-04-23
, 20:41
|
|
Posts: 168 |
Thanked: 206 times |
Joined on Apr 2010
@ Finland
|
#3286
|
I can't say - if energy consumption in your N900 at 500MHz is less than 4 times of energy consumption at 125MHz then it may be advantage to stick to 500MHz only. 4times - because at 500MHz CPU cycle is 4 times shorter and any energy dissipation less than 4 times of 125MHz can be a battery saver.
Why in your case - I don't know your energy consumption. You can load bq27x00_battery.ko driver ("modprobe bq27x00_battery.ko"), open a second X-Term window, run a simple set of commands:
while true
do
true
done
and look into values back in first X_Term window by
cat /sys/class/power_supply/bq27200-0/current_now
cat /sys/class/power_supply/bq27200-0/voltage_now
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
cat /sys/power/vdd1_opp
cat /sys/power/vdd2_opp
Try it with 500MHz and limit your N900 by 125MHz only (into scaling_max_freq) and see the values. It would be very interesting (that voltage do you use for each frequency too?)
@ 125 MHz | @ 250MHz Run #1 Run#2 | Run #1 Run#2 737 737 | 824 824 4113 4113 | 4094 4094 124800 124800 | 249600 249600 2 2 | 3 3 3 3 | 3 3 ---------------------------------- @ 500MHz | @ 850 MHz Run #1 Run#2 | Run #1 Run#2 1051 1051 | 1623 1623 4105 4105 | 4089 4086 500000 500000 | 849920 849920 4 4 | 10 10 3 3 | 3 3
![]() |
2010-04-23
, 22:45
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#3287
|
Thanks. I think, it is working now. But, device reboots after couple minutes automatically. I am assuming this is a sign of instability? Is there any other options that I could try? Or shall I go back to Lethos 125-900 kernel?
The Following User Says Thank You to AlMehdi For This Useful Post: | ||
![]() |
2010-04-23
, 23:22
|
Posts: 9 |
Thanked: 0 times |
Joined on Apr 2010
|
#3288
|
![]() |
2010-04-23
, 23:26
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#3289
|
Here are results in same order as you listed. I did several runs, which all showed very similar values. Here are 2 results per frequency.
The Following 2 Users Say Thank You to egoshin For This Useful Post: | ||
![]() |
2010-04-23
, 23:50
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#3290
|
The Following 2 Users Say Thank You to egoshin For This Useful Post: | ||
![]() |
|
Thanks You 白い熊 once again!