http://ift.tt/2acdV4j
CPU - Interactive is the best for performance; ondemand will let us drop the freq for some battery savings, check /etc/init.qcom.post_boot. HMP polls every 10 ms so keep this in mind. My settings: HMP polls 5x reports load to CPU scheduler "ondemand" every 50 ms when it polls cpu load. 20*50ms=1sec?
200mhz is to low unless you dont mind ##Ms of lag while it polls and ramps up try it. its most noticeable on screen on and when it dips from 1.2ghz to 200mhz micro stutters. msm8226 min is 386mhz for reference.
echo 0 > /sys/module/msm_thermal/core_control/enable
Change Frequency
echo 1 > /sys/module/msm_thermal/core_control/enable
Min: 400mhz, Max: 1209
Ondemand: sampling_rate 50000, up_threshold 95, sampling_down_factor 1
I/O Scheduler - Internal Storage: CFQ 512kb
LMK - Foreground: 4mb, Visible: 8mb, Secondary: 16mb, Hidden: 80mb, Content: 88mb, Empty: 128mb.
Virtual Memory - Hard to tune the zram because its affected by the dumb lmk as well as these settings. I did some number crunching and 300mb/440 zram usage is probably the best performance/multi tasking. However, less apps can be running before lmk kicks in when tuning for that. My settings should push near max zramp swap 400mb but its a lot easier to hit kernel panic.
Swappiness: 100, VFS Cache Pressure: 50
overcommit ratio: 0 100% swap, uses more zram mb - i like apps running.
overcommit ratio: 50 linux default: french montana "dont panic"</span>
Build.Prop - Default VM heap is 256*.75=192mb | 384*.75=288mb | 256*.9=230.4mb | 384*.9=345.6mb | Nexus 5x 512*.75=384mb
dalvik.vm.heapsize=384m, dalvik.vm.heapgrowthlimit=96m, dalvik.vm.heapminfree=512k, Add wifi.supplicant_scan_interval=60
HMP - what i tried to do here was the opposite of big.Little keep on the cpu0 as long as possible since we have 4 cores @1.2 they all have the same performance so no reason to downmigrate just finish task. Give it a try, then tune shed_upmigrate to a cpu % load that is on par with the apps your using. For example, my cpu is idling at like 40-60ish running gba rom, Pandora, navigating to San Francisco so setting upmigrate to 70 will boost the cpu faster as soon as surface finger hits the cpu.
sched_mostly_idle_load 60, sched_upmigrate 95, sched_downmigrate 9, sched_small_task 10
[Sprint] LG G Pad 7 LK430 zv3 [root,romdump,restore]
Aucun commentaire:
Enregistrer un commentaire