Questions about undercvolting/underclocking - Nexus 7 Q&A, Help & Troubleshooting

I've decided to underclock and undervolt my Nexus 7, which has latest ParanoidAndroid rom and Metallice's M-kernel and TricksterMod apk to control parameters. I started with 2-core limited 1.2 Ghz and stock voltages, but there are some burning questions to be answered:
1. Is there an app which stress-tests specific values of cpu ( i.e. 1000 Mhz)? I can run SuperPi for max setting, but I don't know any way to test middle values explicitly.
2. In TricksterMod when I set max cpu speed to 1200, there's no adequate value to decrease voltage. The only ones that I see are 1170 and 1230. Should I change both, or maybe change app for sth else?

Related

SetVsel And Cyanogenmod 7 RC0

hello everyone
i have a quick question
is it true i shouldn't use setvsel with CM7?because i just read that in the FAQ thread for CM7 here:http://forum.xda-developers.com/showthread.php?t=1065798
and i need setvsel because i use it to undervolting and also i don't to overclock my cpu to 1Ghz since 800mhz can handle all the games i play and im getting 1900-2100 score in quadrant on stock cpu speed
and if i can't use it or shouldn't what program should i use ??since cpu settings in cm settings doesn't include undervolting
(although i've been use it on CM7 rom for 3 days now and i didn't have any trouble)
thanx in advance
appreciate your help guys
Hi there,
CM7 RC0 has the CPU clock speeds & Vsel in the bootmenu where you can overclock, undervolt, change the governor etc.
If you reboot your phone & go into the bootmenu when the blue led comes on then you can access the overclock menu.
There's more info in Quarx's thread in the dev forum
http://forum.xda-developers.com/showthread.php?p=13845272&highlight=smartass#post13845272
sp8y said:
Hi there,
CM7 RC0 has the CPU clock speeds & Vsel in the bootmenu where you can overclock, undervolt, change the governor etc.
If you reboot your phone & go into the bootmenu when the blue led comes on then you can access the overclock menu.
There's more info in Quarx's thread in the dev forum
http://forum.xda-developers.com/showthread.php?p=13845272&highlight=smartass#post13845272
Click to expand...
Click to collapse
ok but setvsel is quicker and easier...so can i use it or i shouldn't?
Evil Slayer said:
ok but setvsel is quicker and easier...so can i use it or i shouldn't?
Click to expand...
Click to collapse
From what I've read in the relevant threads about CM7 many people are saying not use it.
I used it in froyo but since flashing CM7 RC0 I only use the bootmenu for CPU settings.
sp8y said:
From what I've read in the relevant threads about CM7 many people are saying not use it.
I used it in froyo but since flashing CM7 RC0 I only use the bootmenu for CPU settings.
Click to expand...
Click to collapse
ok apart from the three clocks and their vsels and the up_trashhold do i need to change anything?
Evil Slayer said:
ok apart from the three clocks and their vsels and the up_trashhold do i need to change anything?
Click to expand...
Click to collapse
I used the same settings that peetr_ used in the post I've linked to above. It uses the smartass governor.
It appears that there's different settings depending upon which governor is selected:
eg; for the smartass governor then in the overclock settings list the settings that start with _smt are relevant,
interactive governor _int,
ondemand governor _ond, etc.
Think that's how it works
sp8y said:
I used the same settings that peetr_ used in the post I've linked to above. It uses the smartass governor.
It appears that there's different settings depending upon which governor is selected:
eg; for the smartass governor then in the overclock settings list the settings that start with _smt are relevant,
interactive governor _int,
ondemand governor _ond, etc.
Think that's how it works
Click to expand...
Click to collapse
How's Battery Life On Your Settings...And Gaming?
Evil Slayer said:
How's Battery Life On Your Settings...And Gaming?
Click to expand...
Click to collapse
Not sure yet as only changed the settings last night.
Also today I have changed the screen brightness levels so will see how it goes.
Sent from my MotoDefy.
sp8y said:
Not sure yet as only changed the settings last night.
Also today I have changed the screen brightness levels so will see how it goes.
Sent from my MotoDefy.
Click to expand...
Click to collapse
i just applied it too...although i don't need 1GHz
Would You Please Report Back To See If Your Result Match Mine?
Thanx alot for helping btw...i really appreciate it
Evil Slayer said:
i just applied it too...although i don't need 1GHz
Would You Please Report Back To See If Your Result Match Mine?
Thanx alot for helping btw...i really appreciate it
Click to expand...
Click to collapse
No problem pleased I could help
I left the bootmenu cpu frequencies as to what they were but undervolted them slightly.
300/22, 600/34, 1000/54 - I tried many settings using setvsel when running froyo so I know these work fine for me.
As for the other settings I just used those that peetr_ posted for the smartass governor & it seems to run nicely. Haven't had any issues yet
sp8y said:
No problem pleased I could help
I left the bootmenu cpu frequencies as to what they were but undervolted them slightly.
300/22, 600/34, 1000/54 - I tried many settings using setvsel when running froyo so I know these work fine for me.
As for the other settings I just used those that peetr_ posted for the smartass governor & it seems to run nicely. Haven't had any issues yet
Click to expand...
Click to collapse
btw...when i used the values in the post you gave me the phone was running without any issues but if you open setvsel and looked at the cpu it keeps changing from 300 to 1000 even if you are not doing anything but if you used the ondemand scale governor you will notice that if you are not doing anything the value stays 300mhz so im not sure that smartass is a good governor after all...or maybe its just me
anyways i think i will keep the settings like this:
[email protected]
[email protected]
[email protected]
also change the other values in menu like this(i think you must change them according to the values you gave your cpu in the 3 vsels):
smt_min:30
smt_max:80(although i suspect this one should be 100 but since the user in the thread you gave kept it 80 im keeping it 80 )
smt_awake:300000
smt_sleep_max:300000
smt_up_min:1000000
smt__wakeup:1000000
smt_ramp:300000
ond_up_threshold:75
what do you think of these values ?
and also...can you tell my your temp in normal state and in after heavy use ?i think mine stays hot
oh and btw could you provide me with a link for the youtube apk you are using i can't seem to find a one that works
Evil Slayer said:
btw...when i used the values in the post you gave me the phone was running without any issues but if you open setvsel and looked at the cpu it keeps changing from 300 to 1000 even if you are not doing anything but if you used the ondemand scale governor you will notice that if you are not doing anything the value stays 300mhz so im not sure that smartass is a good governor after all...or maybe its just me
anyways i think i will keep the settings like this:
[email protected]
[email protected]
[email protected]
also change the other values in menu like this(i think you must change them according to the values you gave your cpu in the 3 vsels):
smt_min:30
smt_max:80(although i suspect this one should be 100 but since the user in the thread you gave kept it 80 im keeping it 80 )
smt_awake:300000
smt_sleep_max:300000
smt_up_min:1000000
smt__wakeup:1000000
smt_ramp:300000
ond_up_threshold:75
what do you think of these values ?
and also...can you tell my your temp in normal state and in after heavy use ?i think mine stays hot
Click to expand...
Click to collapse
My cpu sometimes jumped from 300-1000 when I used setvsel on froyo.
Temperature wise it seems to be running similar if not slightly cooler than when on froyo. Now the hottest I have seen battery temp is 35C but it is mostly much cooler than that.
Sent from my MotoDefy.
Evil Slayer said:
oh and btw could you provide me with a link for the youtube apk you are using i can't seem to find a one that works
Click to expand...
Click to collapse
I just have the current market youtube app. Not sure if it was included in the gapps package?
Sent from my MotoDefy.
sp8y said:
My cpu sometimes jumped from 300-1000 when I used setvsel on froyo.
Temperature wise it seems to be running similar if not slightly cooler than when on froyo. Now the hottest I have seen battery temp is 35C but it is mostly much cooler than that.
Sent from my MotoDefy.
Click to expand...
Click to collapse
hmm..mine reached 39c on very heavy use...normaly its around 30c
and about the youtube app..no it wasn't included and i downloaded the app in the market but it crashes on most videos
btw im getting 2000-2500 in quadrant...how come?i think that is too good to be true
Here's what i've come up with, using google (lets correct them, if some are wrong) :
con_up_threshold: [80] # system load in % above which increases the CPU frequency?
con_down_threshold: [20] # system load in % above which drops the CPU frequency?
con_freq_step: [5] # frequency step?
con_sampling_rate: [160000] # interval (in milliseconds) between polls of the system. In fact, the intervals between changes of CPU frequency? Times in 160 seconds?
int_min_sampling_rate: [50000] # minimal interval (in milliseconds) between polls of the system. In fact, the intervals between changes of CPU frequency? Every 50 seconds?
ond_up_threshold: [86] # CPU in % above which increases the frequency of the processor.
ond_sampling_rate: [50000] # second? interval (in milliseconds) between polls of the system. In fact, the intervals between changes of CPU frequency? Every 50 seconds?
smt_min_cpu_load: [40] # CPU usage in % in achieving a reduced frequency of the processor
smt_max_cpu_load: [85] # CPU in % above which increases the CPU frequency
smt_awake_min_freq: [30000] # The minimum frequency of waking up?
smt_sleep_max_freq: [30000] # CPU frequency during sleep?
smt_up_min_freq: [1200000] # The minimal jump. so default made the cpu jump every time to max speed
smt_wakeup_freq: [1200000] # The frequency of waking up. It is important to not lose calls.
smt_ramp_up_step: [250000] # How much to increase the frequency at one time?
Click to expand...
Click to collapse
So witch is the best governor and settings for normal daily usage like some texts, calls, 3g/wifi, maybe some games ?
I'm on smartass right now with these settings
Vsel1 - 20
2 - 31
3 - 54
smt_min... - 30
smt_max... - 80
smt_awake_min... - 300000
smt_sleep_max... - 300000
smt_up_min... - 1000000
smt_wake_up_... - 1000000
smt_ramp_up_step - 400000
Click to expand...
Click to collapse
SpawNyK said:
Here's what i've come up with, using google (lets correct them, if some are wrong) :
So witch is the best governor and settings for normal daily usage like some texts, calls, 3g/wifi, maybe some games ?
I'm on smartass right now with these settings
Click to expand...
Click to collapse
i don't know...really..i can't seem to relate what are the values for with the available governors
my only problem with smartass governor that even if im not using the cpu the values keep changing between 300mhz-1000ghz but when im using on demand if im not doing anything with the phone the cpu stays at 300mhz but when i start using the phone(moving the screen up and down for example)the values changes to 1000ghz and when i stop the values goes back to 300mhz that's why im using on demand...but again it might be just my cpu
looks like it requires to dig more in the differences between each governor
anyway i read in the latest post in CM7 DEV thread that some people is actually using setvsel so i opened my boot menu,and went to overclock,selected set default,reboted,and installed setvsel and applied these values:
20/300
33/600
47/800
up_therhold:75
oh and btw...how's your battery life ?
Dudes, so please, quick answer:
Use SetVsel - no
use build in "overclock" settings in CM7 RC0 - yes?
Any one using CM7 RC0 bootmenu> Overclocking?
There are more values than in peters thread.
Please advise with all info/numbers according to present in overclocking bootmenu 0.8.6 values.
m_zet said:
Dudes, so please, quick answer:
Use SetVsel - no
use build in "overclock" settings in CM7 RC0 - yes?
Any one using CM7 RC0 bootmenu> Overclocking?
There are more values than in peters thread.
Please advise with all info/numbers according to present in overclocking bootmenu 0.8.6 values.
Click to expand...
Click to collapse
Yes I've got CM7 RC0 & using the bootmenu overclock.
There's many values in the menu as it depends upon which governor you have set it to so only those values relevant to that governor will be used.
For instance on Smartass governor - the values starting with _smt will apply

CPU governor or SetCPU or both questions

I currently have UD 1.1b2 with sibere kernel v13 installed.
Now I think, it clocks not to 1200 but to 1000, due to a report of Quadrant System information.
Do I have to edit a file (which one) on my device so CPU governor is clocking to 1200 or is installation of SetCPU required?
Somewhere I read, these two interfere with each other.
Posted the same in the other Thread:
I installed Stab. Test but it tells me with the root testing (name forgotten) that only 1000 MHz max are tested.
I have an overclocking kernel which should go to 1200.
How can I test 1200 with this app?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=16548823#post16548823
€dit:
It seems the 1200 max freq setting is constantly overwritten by something.
The governor is responsible for the adjusting of the clock while Android is running.
SetCPU allows for an easier switching between installed governors and to set other Min-Max Frequencies.
They both do a complete different job.
Please check with either SetCpu or Overclock Widget that the min-max values are 300-1200 and then you should be good.
And keep in mind, with any other governor then performance you will prob. never see 1200 on any widget.
Setcpu has an info page where you can see (time in state ) what freqs are used.
I just let Uruk handle the CPU governor. I also use the following...
CPU Spy is simple app to display the time the CPU spends in each frequency state:
https://market.android.com/details?id=com.bvalosek.cpuspy
Temp+CPU V2 is a widget and will show current CPU speed, CPU load, batt temp, and ram:
https://market.android.com/details?id=com.sanels.tempcpuv2
That is the problem.
I set SetCPU to 300 - 1200.
Shortly after doing that, it switches automatically to 800 or 300 - 1000.
No more 1200 anymore on SetCPU main Screen.
I like to minimize the number of apps not written by me doing stuff behind the scenes, and so I just use a startup script to set the CPU settings. This also fixes a problem with video player apps on the Gen8 archos automatically fixing the CPU rate at 800 MHz (which is sometimes not enough for Netflix and sometimes too much for other things), though it may be that the current version of SetCPU also fixes this (I reported the issue to the SetCPU author).

Changing GPU Frequency (using motley kernel)

Evenin all.
I have just flashed the motley kernel to my nexus 7 and have been able to change the cpu speed to 1.6ghz but am comming up blanks when figuring out how to change the gpu speed? (i have searched everywhere and cannot see how people do it?)
the only tip i saw was to explore the root of my device and go to sys/devices/system/cpu/cpu0/cpufreq and change a value in a gpu_oc file however there is no cuch file anywhere only cpu files.
anyone have a clue as to how i can change my gpu frequency?
thanks all.
aikon359 said:
Evenin all.
I have just flashed the motley kernel to my nexus 7 and have been able to change the cpu speed to 1.6ghz but am comming up blanks when figuring out how to change the gpu speed? (i have searched everywhere and cannot see how people do it?)
the only tip i saw was to explore the root of my device and go to sys/devices/system/cpu/cpu0/cpufreq and change a value in a gpu_oc file however there is no cuch file anywhere only cpu files.
anyone have a clue as to how i can change my gpu frequency?
thanks all.
Click to expand...
Click to collapse
big question.. has motley enabled the ability to change/edit gpu speed. without him enabling it, theres no way to change it. not all developers enable changing gpu speeds in their kernels.
You can run Trinity kernel and use trickster mod (app) to tweak your CPU and GPU to whatever you want.

[Q]Cpu Governors / IO Schedulers question

ive been seeing this kernels with lots of CPU governors and stuff.. but i just wanted to ask do i really need a CPU control app like no-frills or SETCPU to use or switch between these governors? or android does this automatically?
You need no frills cpu to set cpu govenors
android will automatically scale up and down between the min and max frequency you set depending on the govenors settings
ie performance govenor will keep frequency at max higher boosting phone performance but at a cost of draining the battery alot quicker
full list of governors and what they do can be found by searching

Basic Tuning for Hardrock kernel (Noob freindly Guide)

ok , I am writing this guide to help those users who are not able to configure kernel tweaks themselves...(Just summarized way).Depend upon preferences, users need to adjust settings.I am not going in details but just what everyone need to adjust for battery, performance or balanced profiles.
All these settings is for Hardrock kernels so dont ask for other kernel related settings.
First of all to adjust settings you need Kernel auditor or similar tools. You can download from playstore
Lets get started(I am taking into consideration Hardrock kernel governors, io schedulers , gpu settings etc):
** one more thing is even If I am sharing, the experience or thoughts might be different from person to person.so I am just providing some initial ideas for tweaks
1) For Battery related settings (sorted from best) :
select anyone of these cpu governors:
a) ZZmove (add from cpu tunables profile no 2)
b) smartmax EPS
c) ondemand
d) conservative/powersave
cpu clock frequency :
set cpu frequency min 480 mhz and max 2.4 ghz
set gpu governor to ondemand
I/o scheduler : Noop
2) For Extreme Battery realted settings :
a) ZZMOVE (Profile no 3)
b) smartmax eps
set cpu frequency min 480 mhz and max 2.2 ghz
set gpu governor to ondemand
I/o scheduler : zen
3) For balanced profile settings :
a) InteractiveX
b) Interactive pro
b) Intelliactive
c) Impulse
d) cultivation
min cpu frequency 480 and max 2.4 ghz
I/o scheduler : maple or zen
4) For performance settings:
a) InteractiveX
b) Performance
c) Hyper
d) blue active
set min freq 650 mhz and max 2.8 ghz
set I/O scheduler to Fiops or BFQ
5) For gaming settings :
a) InteractiveX
b) Performance
c) Ironactive
d) Intelliactive
e) on demand
set min freq 650 mhz and max 2.8 ghz
set Gpu min frequency 100 and max 999 mhz and select adreno gz or ondemand
set I/O scheduler to Deadline
6) For completely insane beast settings
a) Performance
b) InteractiveX
c) Intelliactive
d) nightmare
min frequency 1036 mhz and max 2.8 ghz
set gpu min 100 and max 999 mhz and select adreno-gz or ondemand
set I/O scheduler to Fiops
7) For Multitasking settings
a) Interactive
b) interactive_pro
min frequency 650 mhz and max 2.8 ghz
Open governor tunables and change the following(if You can't find those settings then leave it):
* boostpulse_duration = 80000
* go_hispeed_load = 95
* hispeed_freq = 499200
* input_boost_freq = 960000
* min_sample_time = 100000
** target_loads = 98 422400:15 729600:30 1190400:35 1344000:40 1497600:55 1574400:60 1651200:65 1728000:75 1958400:85 2035200:90 2265600:95 2496000:98
set I/O scheduler to CFQ OR BFQ
Remember I am not focussing on gpu since if its idle then it wont drain, it will only pump up once you are into game.so select either ondemand or msm adreno gz gpu governor for any kind of settings..
For I/o schedulers, I/O Read Ahead Buffer is dependent on the size of your flash storage (internal/external). Below is the recommended settings for the given size that will yield the best performance .
Less than 8GB - 128KB
8GB - 512KB
16GB - 1024KB
32GB or above - 2048KB
please set this as read ahead for internal or external storage depending on volume size..
and please do not touch other kernel settings , just leave them as it is..
** and try to read more from google.It will be big help instead of asking again and again
Something like this was much needed, keep tweaking this as and when any changes made to the kernel in future..
awesome........simply awesome........ thank you
Xiaomi4X said:
Something like this was much needed, keep tweaking this as and when any changes made to the kernel in future..
Click to expand...
Click to collapse
Yeah will be posting or updating this thread once I am having something new to offer
Friend I don't know what I did , but your profile zip V3 worked
Hard_Rock83 said:
ok , I am writing this guide to help those users who are not able to configure kernel tweaks themselves...(Just summarized way).Depend upon preferences, users need to adjust settings.I am not going in details but just what everyone need to adjust for battery, performance or balanced profiles.
All these settings is for Hardrock kernels so dont ask for other kernel related settings.
First of all to adjust settings you need Kernel auditor or similar tools. You can download from playstore
Lets get started(I am taking into consideration Hardrock kernel governors, io schedulers , gpu settings etc):
** one more thing is even If I am sharing, the experience or thoughts might be different from person to person.so I am just providing some initial ideas for tweaks
1) For Battery related settings (sorted from best) :
select anyone of these cpu governors:
a) ZZmove (add from cpu tunables profile no 2)
b) smartmax EPS
c) ondemand
d) conservative/powersave
cpu clock frequency :
set cpu frequency min 480 mhz and max 2.4 ghz
set gpu governor to ondemand
I/o scheduler : Noop
2) For Extreme Battery realted settings :
a) ZZMOVE (Profile no 3)
b) smartmax eps
set cpu frequency min 480 mhz and max 2.2 ghz
set gpu governor to ondemand
I/o scheduler : zen
3) For balanced profile settings :
a) InteractiveX
b) Interactive pro
b) Intelliactive
c) Impulse
d) cultivation
min cpu frequency 480 and max 2.4 ghz
I/o scheduler : maple or zen
4) For performance settings:
a) InteractiveX
b) Performance
c) Hyper
d) blue active
set min freq 650 mhz and max 2.8 ghz
set I/O scheduler to Fiops or BFQ
5) For gaming settings :
a) InteractiveX
b) Performance
c) Ironactive
d) Intelliactive
e) on demand
set min freq 650 mhz and max 2.8 ghz
set Gpu min frequency 100 and max 999 mhz and select adreno gz or ondemand
set I/O scheduler to Deadline
6) For completely insane beast settings
a) Performance
b) InteractiveX
c) Intelliactive
d) nightmare
min frequency 1036 mhz and max 2.8 ghz
set gpu min 100 and max 999 mhz and select adreno-gz or ondemand
set I/O scheduler to Fiops
Remember I am not focussing on gpu since if its idle then it wont drain, it will only pump up once you are into game.so select either ondemand or msm adreno gz gpu governor for any kind of settings..
For I/o schedulers, I/O Read Ahead Buffer is dependent on the size of your flash storage (internal/external). Below is the recommended settings for the given size that will yield the best performance .
Less than 8GB - 128KB
8GB - 512KB
16GB - 1024KB
32GB or above - 2048KB
please set this as read ahead for internal or external storage depending on volume size..
and please do not touch other kernel settings , just leave them as it is..
** and try to read more from google.It will be big help instead of asking again and again
Click to expand...
Click to collapse
I was messing with my device , and I backed up my device with twrp recovery , and then installed China miui developer ROM just to see the difference in China and global ROM, when I returned to global ROM , by restoring the backup I made , I booted my device and just uninstalled the kernel adiutor ,
Then I tried to follow this guide and tried creating profile in kernel adiutor, when one profile I created is shown in the list.. I thought let's try flashing the zip of profiles by @Hard_Rock83
And falshed the V3 profile zip, and it worked all profiles are in the list removing mine..that I created
beingtejas said:
I was messing with my device , and I backed up my device with twrp recovery , and then installed China miui developer ROM just to see the difference in China and global ROM, when I returned to global ROM , by restoring the backup I made , I booted my device and just uninstalled the kernel adiutor ,
Then I tried to follow this guide and tried creating profile in kernel adiutor, when one profile I created is shown in the list.. I thought let's try flashing the zip of profiles by @Hard_Rock83
And falshed the V3 profile zip, and it worked all profiles are in the list removing mine..that I created
Click to expand...
Click to collapse
I just want to say lol:laugh:
I never trust miui..it behaves strange or weird always..
What is the difference of this one from the V3 profile?
fgaurano said:
What is the difference of this one from the V3 profile?
Click to expand...
Click to collapse
lol I am just guiding here, whoever having issues flashing profiles.. its all same...
Where can i find profile file?
As i using free version of kernel audiutor i need twrp flashable zip file.
Can anyone help me?
MiladHashMan said:
Where can i find profile file?
As i using free version of kernel audiutor i need twrp flashable zip file.
Can anyone help me?
Click to expand...
Click to collapse
Lol you need to open your eyes and find the profile v3 thread.. https://forum.xda-developers.com/mi-max-2/development/kernel-profiles-hardrock-kernel-v1-t3804630
Hi, thanks for your work, is there any guide on how to prevent aggressively killing of this kernel? After apllied this kernel on MIUI 10 v8.8.23, apps that's supposed to be running all the time like whatsapp, gsam, etc keep getting killed aggressively.
Nice..thanks for the info
Thanks Hard_Rock83.
Anybody knows how to port this over to Xiaomi Note 4/4x which has Snapdragon 625 as well?
Updated THread for multitasking..PLease check OP.
I've only just discovered this thread, thanks for putting all the information together!
Nice tips
Sent from my MI MAX 2 using Tapatalk

Categories

Resources