HopelessFantasy / openetna

Automatically exported from code.google.com/p/openetna
0 stars 0 forks source link

cpufreq up_threshold to high #341

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Did you search through the other issues to make sure that this issue has
not been already reported?
Did you look at the FAQ http://openetna.com/openetna/test ?

What steps will reproduce the problem?
1. open terminal
2. su
3. cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

What is the expected output? What do you see instead?
the value should be about 80 but it's set to 95

What version of the boot.img and system.img are you using?
boot2.4.4 system6.1rc5

Please provide any additional information below.
i think the value is set to high. maybe this is the reason while the phone is 
hangs sometimes because the cpu stays at a low freq for to lang.

Original issue reported on code.google.com by frankmai...@gmail.com on 9 Dec 2010 at 11:28

GoogleCodeExporter commented 9 years ago
have you tried to change that? does anything change?

Original comment by GiorgioM...@gmail.com on 9 Dec 2010 at 5:54

GoogleCodeExporter commented 9 years ago
I#ve tried but after reboot the original value is restored. but maybe i could 
try to set an other value in fastboot-mode... i will see this weekend.

Original comment by frankmai...@gmail.com on 9 Dec 2010 at 8:16

GoogleCodeExporter commented 9 years ago
it's been a while but i've made a little progress. i didn't find a way to 
change the settings permanently since there is no config-file (or i didn't 
found it).
But the up_threshold and powersave_bias values can be changed manually in the 
sysfs.
I've changed the up_threshold to 80% an the phone feels much smoother now. 
Before the change the phone sometimes had some "hangs" for example when opening 
the app-menu or in the browser when typing an address (the search in the 
browser-history toke quite long some times). But now these things are working 
well. So i would recommend everyone to change the up_threshold to 80%. this can 
be done with this steps:
open the terminal
get su
gut to /sys/devices/system/cpu/cpu0/cpufreq/ondemand
echo "80" > up_threshold
and if you want you can change the powersave_bias too
echo "15" > powersave_bias

this have to be redone after ever reboot. So i think it would be an good idea 
if these values become the default values in openetna. unfortunately i don't 
know where to set these values to get an permanent effect... 

Original comment by frankmai...@gmail.com on 1 Jan 2011 at 12:11

GoogleCodeExporter commented 9 years ago
amazing.....  :)

Original comment by iareh...@gmail.com on 1 Jan 2011 at 1:33

GoogleCodeExporter commented 9 years ago
you can do it easily with SetCPU APP, in advanced settings you can change 
sampling rate, up threshold, and PowerSave Bias...

But PowerSave Bias it's a value between 0 and 1000, i've to set 150 or 15?

Original comment by andreabe...@gmail.com on 1 Jan 2011 at 3:45

GoogleCodeExporter commented 9 years ago
Someone, please confirm the positive effect; then I'll include it in the next 
version.
What exactly does powersave_bias do?

Original comment by polyth...@gmail.com on 3 Jan 2011 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by polyth...@gmail.com on 3 Jan 2011 at 9:27

GoogleCodeExporter commented 9 years ago
I confirm it is much better than before. You can feel the difference while 
typing on soft-keyboard. Nice work

Original comment by iareh...@gmail.com on 3 Jan 2011 at 9:52

GoogleCodeExporter commented 9 years ago
Info on powersave bias: 
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/c
pufreq/TheOndemandGovernor.htm

Original comment by jot...@gmail.com on 3 Jan 2011 at 7:49

GoogleCodeExporter commented 9 years ago
@jotbr: good link. so i think for good response the value of should remain 0.
i changed the value of powersave_bias originally because i was assuming its the 
something like down_threshold - but i was wrong.

Original comment by frankmai...@gmail.com on 3 Jan 2011 at 8:01

GoogleCodeExporter commented 9 years ago
i can also confirm that there seems to be a improvement when typing on the 
soft-keyboard. Congratz on a nice improvement.

Original comment by sonn...@gmail.com on 3 Jan 2011 at 11:48

GoogleCodeExporter commented 9 years ago
I changes it via setcpu and confirm it works smoother on homescreen and app 
drawer. nice fix! Setcpu allows setting this change at boot :-)

Original comment by kokojojo...@gmail.com on 16 Jan 2011 at 12:40

GoogleCodeExporter commented 9 years ago
Will be included in 6.3-rc3.

Original comment by polyth...@gmail.com on 7 Feb 2011 at 9:58

GoogleCodeExporter commented 9 years ago
Verified with SetCPu.

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 12:14