View Single Post
Posts: 7 | Thanked: 3 times | Joined on Apr 2010
#3013
My current settings for the cold Finnish climate, note that these voltage settings go far further than XLV kernel. 1GHz has been tested that it won't work with voltage 48. 54 however is stable. Rest of voltages still need fine tuning, but posting this now since tuning is bound to reboot the device after voltage limit is passed^H^H^Hfound. Kernel is Titan's v25.

Code:
echo "30 15 25 30 33 38 45 45 48 48 54 54 54 60 60" >/sys/power/vdd1_opps_vsel
echo 0 >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies
echo 125000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1000000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 99 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
# Not sure if this has any effect .. (it has, 5M caused mediaplayer to skip like hell)
echo 150000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo 1 >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load

# Renice all those background processes that are running on idle -> no powerup for these.
renice +1 `pidof hildon-status-menu` `pidof hildon-home` `pidof hildon-desktop` `pidof BatteryGraph\
d` `pidof intellisyncd`
125MHz speed is in use, and IMHO I think disabling it is counter productive for battery endurance because voltage needed for it is below anything else. If you renice those background processes, it won't raise the cpu frequency. (And no, I haven't noticed any slowdowns in UI use in result of that)

Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
1150000 0
1100000 0
1000000 114970
950000 1032
900000 257
850000 1050
805000 1428
750000 895
700000 328
600000 8283
550000 978
500000 296393                                                                                       
250000 12083                                                                                        
125000 6946135
Above is 21h 40 min uptime statistics. 1GHz speed is actual use or calculating 1M pi digits to verify that the device is stable. It very rarely jumps to 1GHz on idle (maybe still some processes left to renice).

Althought I am pretty satisfied with the results, does anyone know any other tweaks for further improvement?

Last edited by vjs; 2010-04-19 at 05:48.