I've been working on some tweaks to make our Leon's work better
Please make a backup before modifying anything, i will provide the default files in the attachments
thease are all system tweaks, I don't think there is a need to talk about lowering brightness, disabling auto-sync, etc xD
i'll include the modified files as a whole, but I recommend editing thease files with notepad ++ or some other editor, be sure to set rw r r permissions:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Build.prop
ro.wifi.channels=13 (was 11) for 13 wifi channels, Europian standard, it seems to work
ro.lge.lcd_default_brightness=100 (was 171, reduces default brightness, better battery life by default)
dalvik.vm.heapstartsize=5m (was 8, should reduce ram usage)
dalvik.vm.heapgrowthlimit=90m (was 96, more free ram in compensation for eventual performance )
dalvik.vm.heapsize=180m (was 256, more free ram in compensation for eventual performance )
ro.sys.fw.mOomMinFree1=8192 (was 73728(really aggressive app killing), doesn't kill perceptible apps until they literally dry the device out of ram)
ro.sys.fw.mOomMinFree2=16384 (was 92160, really better multitasking e.g playing music while playing HD Games is possible)
ro.sys.fw.mOomMinFree3=184320 (was 122880, saves ram)
ro.sys.fw.mOomMinFree4=202752 (was 204800)
I've left the last 2 to be at stock values to keep more free ram
thease ones are to be added:
Disables data collection and logging, less cpu processing:
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
logcat.live=disable
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
debugtool.anrhistory=0
profiler.debugmonitor=false
profiler.launch=false
profiler.hung.dumpdobugreport=false
rendering tweaks:
debug.fb.rgb565=1 (enables 16 bit)
debug.composition.type=gpu
persist.sys.ui.hw=1
force_hw_ui=true
debug.overlayui.enable=1
persist.sys.use_16bpp_alpha=1 (Smother scrolling)
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
everyone should know thease but why not:
persist.sys.purgeable_assets=1
wifi.supplicant_scan_interval=180
windowsmgr.max_events_per_sec=90
system/etc
thermal-engine-8916.conf
this is the file which controls how our device reacts to temperature, the default settings are somewhat unfair so this is what I did(rather cheap demonstration):
to
the default settings already begin to take action at 38 degrees cpu temperature, some people are fine with 50 degrees I bumped it all up by 2 degrees
and delayed the gpu throttling so that games wouldn't lag, I also increased the LCD dimming value so that it makes sense, by default it was capped at 78% for maximum temperature reduction, I put it to 60
init.qcom.post_boot.sh
this is the file where a bunch of stuff is controlled, including the cpu frequency
LG put the minimum frequency at 800 MHZ for some reason and set it so that
the phone never goes into deep sleep.
head down to about line 459:
Code:
case "$target" in
"msm8916")
echo 533333 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq (I found 400000 to cause lag but that's a vaild option too)
echo "25000 1152000:50000"> /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay (this will allow the cpu frequency to jump higher faster in case there is a demand, useful for Games)
echo "70 800000:80 998400:90 1152000:95" > /sys/devices/system/cpu/cpufreq/interactive/target_loads (LG's settings just didn't make any sense to me but this should let the phone go into deep sleep and save battery while allowing it to draw out performance faster)
init.lge.zramswap.sh
Our device uses half of it's ram as ZRAM, this simulates having more ram by
compressing ram, this is a generally good thing but our devices use too much ram for this and the cpu has to constantly work to decompress it and compress it, losing resources and wasting the battery life, around line 31:
sz_zram=$((((memtotal_kb/3) / ${nr_zramdev}) * 1024)) , the changed part is memtotal_kb/3 where by default it is memtotal_kb/2. you may also use memtotal_kb/4, 4 uses around 220 mb for zram, and 3 310,
choose your pick, with the increase in zram amount there is a drop in battery life and cpu resourcefulness but more available ram and vice versa
in this file is also the value for swappiness, and it is set to 80, this means that the OS will aggressively swap ram when it's not yet needed... lower it to something like 50, 60.
line 61,
swappiness_new=60
camera_config.xml
this is really just a simple hack to enable panorama mode in the default camera app
around the first lines, change
Code:
<item name="mode_rear_supported">
mode_normal
</item>
to
Code:
<item name="mode_rear_supported">
mode_normal,
mode_panorama
</item>
com.lge.music
one more cheap demonstration but in a nutshell it will allow audio effects and better audio quality in the default music application
media_profiles.xml
to be honest I was lazy for this, but my pal over here:http://forum.xda-developers.com/android/development/fix-low-mic-volume-bad-quality-headset-t3270558 covered it up and gave me permission for use
mixer_paths.xml
I was lazy for this too, see here:http://forum.xda-developers.com/android/development/fix-low-mic-volume-bad-quality-headset-t3270558, the file from tweaks.zip is his modification
anyone is free to correct me if i'm wrong
To-Do:
-LCD Density tweak
-ADJ Entries
-gps
-Explain Odexing
Reserved ^^
will these work on the leon h320 mt6582?
Related
Plans for next revision:
*Add in Decad3nce's temperature control
*Bug nullghost till he gets init scripts running so we can have this startup at boot
This is really a tool for power users
If you don't consider yourself 'comfortable' with messing with your phone, then don't.
This is mostly the work of collin_ph, all the ideas are mostly his and I have only contributed in part to getting some things functioning correctly and some optimizations for the Epic.
What does it do?
This tweak creates a service that periodically checks the phone's power source.
If the power source changes, it reconfigures the device for maximum performace, battery and safety.
Tweaks memory settings for current power source
Re-clocks CPU based upon battery remaining or current power source
Reclocks for maximum performance if on AC power
Reclocks for maximum performance and charging safety if on USB
Reclocks for performance and battery if on Battery
As Battery life is diminished, Maximum CPU frequency is lowered
Tweaks scaling charactaristics depending on power sourcee
CPU Scales up less frequently on battery power
CPU Scales up more frequently on USB/AC power
The CPU is allowed to scale dynamically in all charging states based upon CPU usage
Includes a batt-cfg utility to configure the system
You may load 1 of 3 pre built profiles
Manually configure CPU Frequencies in all charging states
Determine the percentage of underclocking as the battery drains
Configure how often to poll the power state / battery statys
Disable batt.sh service from running at startup
Includes a batt-rm.sh uninstall utility
Includes a batt-diag diagnostic utility
Includes optional Disk performance tweaks (enabled by default)
The Tools
The entire 'application' is written in shell code and was first written just to give a performance and battery boost, but since has evolved more and more.
All the tools mentioned will be utilized either through the terminal, or in adb shell.
batt.sh
This is the core of the entire script. Don't mess with it.
The one thing you should do after installing the script:
Code:
Code:
pidof batt.sh
If theres any number showing up after it, then it's working fine.
batt-cfg
This is the 'main menu' of sorts, as it gives the user all the options and allows them to toggle tweaks/mods on the fly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
batt-diag
It's a diagnostics utility, allowing you or someone knowledgeable to figure out any issues that you may be having with your device and be able to pinpoint exactly where the problem is.
batt-diag -v gives a more thorough output as you can see here; http://pastie.org/1162034
batt-rm.sh
It's a battery tweak removal script, follow the onscreen prompts and it should remove just about any trace of the battery tweak script.
The Presets
The presets are just default configurations that I have set up that can make your phone more efficient without you, the user, having to manually set everything.
The preset of 800 literally means that 800000 is the scaling_max_freq, or the max frequency, that your phone can achieve after you enable it.
Just typing 1, and then enter, you'll be ready and set to go. Same with 2 or 3.
Customize Settings
This is only for the experienced user, and it allows you to manipulate most/ifnotall the configurables on your device.
Note, you do not need to configure anything to enable this battery mod. Default settings will be assigned at 800MHz.
All the settings explain what each option does, so read them carefully.
Disk Boost
Remounts via noatime and nodiratime. Look up what that means on your own, and why it benefits performance the way it does.
Prerequisites needed to run this
Phoenix kernel 1.48 with Epic Experience should run this just fine
If you're running any other kind of rom, feel free to try it but i cannot guarantee that it will work.
This script will WORK even if you don't have the import call at boot, but it won't survive on the next reboot.
You can check via:
Code:
Code:
pidof batt.sh
NOTE: This script will also prompt you to try to run itself as root if you use it in terminal.
Contributors:
Collin_ph
Decad3nce
myn
onicrom
shabbypenguin
nullghost (aka tehdarkknight)
*make sure you are running these as root*
*disable setcpu while running this*
*been reported as rom manager fc's after batt tweak, simple fix reinstall rom manager* - thanks for the tip Raiderep
Finally got that working
This is perfect. As a former hero user, I was thinking to myself a couple days ago "I wonder if anyone is going to port the collin_ph battery tweak," and here it is.
Thanks!
I'm about to head into work and I got this downloaded. I'll put it to the test for the day. Thanx for the port or whatever you call it, I had this on hero and loved being able to get rid of setcpu(which I never really liked) but still have something governing battery use
Is this compatible or even needed with the mix up kernel?
compatible? maybe as i said this is known working on phoenix kernel as for others i cannot say. needed? well that depends are you happy with your current battery life?
Using Phoenix kernel 1.48 with Epic Experience bogged down my phone after installing, im only at 76% battery life, i cant imagine how slow it would be at 20%
edit:
its fine now, i guess it had to load initially?
Whats the best settings you think we should run..for the best battery life
800mhz or you can use configure to keep that even lower... obviously the lower the cpu freq the less voltage it uses = better battery life
I just set this up to the 800mhz defaults. I will come back with results
How does this govern cpu clocking and usage? I'm assuming there's no live governer such as ondemand or interactive at play here?
phoenix 1.48 has a working interactive governor
shabbypenguin said:
compatible? maybe as i said this is known working on phoenix kernel as for others i cannot say. needed? well that depends are you happy with your current battery life?
Click to expand...
Click to collapse
I don't think anybody is That being said, great work shabby, can't wait til nullghost gets his init scripts working.
shabbypenguin said:
phoenix 1.48 has a working interactive governor
Click to expand...
Click to collapse
So how does this affect setcpu? I'm runnin baked 1.3 ghz kernel..does this mean after I install I won't be at 1.3?
Sent from my SPH-D700 using Tapatalk
this is set for 800/1ghz/1.2ghz i included the configure option so people can make teh .conf however they see fit.. if batt.sh runs on it then it will scale from 1.3ghz after you configure it. witht he beta versions i dont believe anyone got it working on baked snack but if you try please let me know if it works what doesnt etc etc
when i try to run batt.sh i get this message...Mount: cant find /mnt/sdcard in /proc/mounts..what does this mean
its an issue im trying to figure out, batt.sh works fine without it, thats part of the disk speedups, in batt-cfg you can disable it
new feature will update tomorrow
not sure why but shootme is screwy for me recently as you can see. i have 0% tws, 37% voice calls at 30 mins 29s display is on for over an hour. screen is at auto, 3g, drm services RUNNING. oh yea im at 1.2ghz
Still have problems with this tweak...this is wat iam getting when I do batt-cfg I hit number one and I get this....
Loading 800mhz default
[: Bad number
Save settings...
Settings saved
Starting batt.sh
Note: when you exit ADB or terminal, you may have to hit
CTRL-C
Then my phone freezes and I have to pull the battery
Sent from my SPH-D700 using Tapatalk
So i was playing music today (first time in a while) and not doing much else. I noticed the battery was draining rapidly so here is CPU spy:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I suspect most of that 1200 is the music. How can i keep it down? I am using the stock music player btw
Sent from my pocket-sized, Linux-based computer using electromagnetic radiation... and Tapatalk.
I've found if you go into the market and type in android music you will get the stock froyo music player. It sounds the same and uses about 1/4 as much ram as the stock player
Sent from my SCH-I510 using XDA App
Go to you're about phone in settings and look at battery use. If music is what's causing the battery loss, you can stop overclocking and undervolt at 800 and 1000 aggressively and that should help while you're listening to music.
What CPU governor are you using?
HTCluva said:
I've found if you go into the market and type in android music you will get the stock froyo music player. It sounds the same and uses about 1/4 as much ram as the stock player
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Thanks; I'll try this.
hazard209 said:
Go to you're about phone in settings and look at battery use. If music is what's causing the battery loss, you can stop overclocking and undervolt at 800 and 1000 aggressively and that should help while you're listening to music.
Click to expand...
Click to collapse
I don't know why, but UV has never worked properly for me. The phone always restarts itself when the CPU enters a UV'd state. Maybe i just need specifics on how to do it.
imnuts said:
What CPU governor are you using?
Click to expand...
Click to collapse
I am using smartassv2. Would conservative help?
Well start simple and test UV values. Just do -50 across the board to start.
Here's what I use: IO Scheduler - noop, CPU Governor - smartassV2, 1200/-50, 1000/-50, 800/-100, 400/-100, 200/-125, 100/-125
But those are pretty aggressive UV settings.
Firstly, I suggest trying the free Mortplayer or the non-free Poweramp. I like them both.
I have the stock music player frozen and I didn't test it. I did test Poweramp and Mortplayer with 160kbps MP3 as well as uncompressed WAV while virtually nothing was running on my phone.
I found the results with OS Monitor. I stared at OS Monitor for quite a while without music playback first to make sure stuff doesn't jack the CPU. Android System jumps from 0 - 1% every now and then. System jumps from 0 - 2 % every now and then. All EQ and Tone filters were disabled.
Each of the following OS Monitor values were averaged in my mind while playing music for a few minutes for each playback type.
Poweramp 160kbps MP3: System and Poweramp processes together averaged 12% (each process was roughly the same average, so the load was split)
Poweramp 44.1 kHz 16bit stereo WAV: System and Poweramp processes together averaged about 9% (Poweramp process was between 1 and 2%- System took most of the load.)
Mortplayer 160kbps MP3: Mortplayer process 0% with System taking the load at 12% average.
Mortplayer 44.1 kHz 16bit stereo WAV: Mortplayer process 0% with System taking the load at 9% average.
In conclusion, Mortplayer and Poweramp use the same overall CPU resources during playback. Playback of MP3 uses more CPU resources than uncompressed WAV files. Mortplayer uses the System process while Poweramp shares the load with the System process.
My setup.
IMO 4.0 kernel with Tegrak Overclock with Interactive X governor. Overclocked to 1.252Ghz. Minimum scaling frequency is at 200Mhz.
CPU Spy shows that I use multiple CPU states (mostly 200, my minimum scaling frequency) during playback, as evidenced by resetting the timers in CPU Spy and refreshing after some time has lapsed while playing music. Is there a way to see the active state? My guess is that the state changes in microseconds, so the existing state status would be pointless (just a guess.)
Does anybody know if OS Monitor is calculating the CPU usage with respect to the maximum frequency all the time? I suspect this is the case.
Sorry for the derailing action.
MonitorZ
MonitorZ is a monitoring tool to gather infos about usage stats, resources and events at a desired time interval.
Data are provided into csv format @ sdcard/MonitorZ/ once a session is stopped.
No real time graphs to minimize overhead.
Mainly intended for developers
Stats monitors
These monitors provide a view on usage stats calculated on the selected time interval. cpu sleep time is always reported, stats are calculated on th "not sleeping time" of the each interval.
Scaling
This is the most innovative stats monitor. It provides a statistical measure of how cpu frequencies/states are used by the governor. The KPI is based on time spent on each state/frequency. This monitor gives 0 when 100% of the time is spent @ min frq and 100 when 100% of the time is spent @ max frq
Are provided two different alghoritms:
scaling A: it takes into account just the number of the available frequencies between min and max. It measures how governor goes through the differents available steps.
scaling B: it takes into account the number and the value of the available frequency between min and max. It measures how governor goes through the differents steps considering also their value and distribution between max and min.
cpu
standard cpu stats monitor
cpu + scaling
this monitor provides both scaling and cpu measure.
state
this monitor reports the time spent on each available cpu state frequency
Real time monitors
memory
standard memory monitor
battery
standard battery monitor
governor
this monitor reports the current governor
Event monitors
battery
standard battery monitor based on event (charge or % variation)
screen state
screen state monitor
airplane monitor
airplane status monitor
power connection
power connection status monitor
links
MonitorZ on market
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screen
Just thought I'd be nice and drop a working link here
https://market.android.com/details?id=com.chiabre.monitorz
version
1.1.1
scaling monitor
scaling + cpu monitor
label redesign
sdk to 2.2 for device compatibility
Click to expand...
Click to collapse
1.0.0
stop/play icon by andrea chiabrera
stats based monitors + deep sleep time %
cpu state monitor
cpu % + cpu state monitor aka governor intruder
memory monitor
Click to expand...
Click to collapse
0.9.8
governor monitor fix
sqlite backend
Click to expand...
Click to collapse
0.9.7
governor real time monitor
Click to expand...
Click to collapse
0.9.6
firmware version info fix
Click to expand...
Click to collapse
Hi all,
version 1.1.1 released.
AWESOME NEW SCALING MONITOR a fresh way to look into governors!
look @ first post 4 more infos!!!
Here some examples of what you can do with this monitor.
I did 3 test sessions on the 3 most used governor: conservative, performance e ondemand.
session detail:
- browser navigation for 2 minutes
- cpu+scaling monitor running @ 200ms.
session output:
- graph about cpu & scaling evolution
- avg governor efficiency based on cpu & scaling data
performance
avg efficiency 51%
conservative
avg efficiency 65%
ondemand
avg efficiency 75%
ANY COMMENT APPRECIATED
Hello M2 users, y'all probably wondering what did I mean by the thread title above so I'll get straight to the point nice and simple.
Using a stock kernel sucks, any CPU Tuner will go bonkers adjusting frequencies only to see it revert to stock again. So, while browsing for ways to optimise performance and battery in the Xperia, I came across this guide (now updated to this) on our Interactive governor. While it's on a different phone, the explanations are clear enough to tell anyone that yes, this can be adapted so long as you are rooted.
So read the whole post to give yourself an idea on the functions available for you. I use Kernel Adiutor for this as it seems most reliable.
But first, go into your build.prop files and edit this code:
Code:
ro.min_freq_0=300000
Set the frequency to 300000 (300Mhz) and restart or your phone will always be stuck on a higher frequency.
Also in the Kernel Samepage Merging, turn it off. There isn't much of an impact between battery and performance so this function is useless.
So now head into the CPU section, towards Tunables and add the following values according to the screenshot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/img]
This gave me 50% battery usage over 26 hours, with 5 hours of Screen on Time used by chatting, gaming, and web surfing. Pretty good looking at all the times I've run the battery with less usage.
Anyhoo, I hope these settings are useful for y'all and if anyone has any modifications to these settings please do share it with your results. This may perhaps be the only guide where we control the governor on a deeper level rather than taking it as it is, so let's squeeze as much juice out of this phone as possible.
Update: These are the settings I've settled with, no negligible battery life and not much of an impact on performance. The voltage tables for the SD400 looks to be dynamic so you can't get an exact reading and anyone who looks at it will suggest you buy a new phone instead >.>
How do you add multiple values on one settings ?
I can't seem to be able to
FrWhyMe said:
How do you add multiple values on one settings ?
I can't seem to be able to
Click to expand...
Click to collapse
Right now you can only add multiples for above_hispeed_delay and target_load. Just tap the space bar each time you add in new values and the app will auto-arrange it for you. If it still doesn't work, what kernel are you using?
Can you repost the photo or write the values please?
basem_ym said:
Can you repost the photo or write the values please?
Click to expand...
Click to collapse
I'm not using this anymore, Sony's stock setting is fine unless you can somehow change the voltage.
AutumQueen92 said:
I'm not using this anymore, Sony's stock setting is fine unless you can somehow change the voltage.
Click to expand...
Click to collapse
I spent last week trying to study and understand those govenors.
Since yesterday, I was trying and tunning the stock interactive govenor
I didnt notice any major changes in performance but I was surprised by power consumption
Ex: I used to play Solitaire everyday more than 2 times a day, each time I spend like 1 hour and my battery drops like 10%
After tunning the interactive govenor my battery drops like 4-6%
Which means its much better than stock
I'm using EagleExperience rom which come with stock kernel
Anyway I just want to know your tunnables because the photo you posted is not opening
I want to compare them with my numbers
Thank you for this post and sorry for bad english
It's not my first lang.
basem_ym said:
I spent last week trying to study and understand those govenors.
Since yesterday, I was trying and tunning the stock interactive govenor
I didnt notice any major changes in performance but I was surprised by power consumption
Ex: I used to play Solitaire everyday more than 2 times a day, each time I spend like 1 hour and my battery drops like 10%
After tunning the interactive govenor my battery drops like 4-6%
Which means its much better than stock
I'm using EagleExperience rom which come with stock kernel
Anyway I just want to know your tunnables because the photo you posted is not opening
I want to compare them with my numbers
Thank you for this post and sorry for bad english
It's not my first lang.
Click to expand...
Click to collapse
These are my current settings, the 300Mhz and 787Mhz share the same voltage and any higher frequency has the same voltage too so it's more efficient to use Sony's settings. The only difference in here is I used Intelliplug to better control how they ramp up.
AutumQueen92 said:
These are my current settings, the 300Mhz and 787Mhz share the same voltage and any higher frequency has the same voltage too so it's more efficient to use Sony's settings. The only difference in here is I used Intelliplug to better control how they ramp up.
Click to expand...
Click to collapse
In target loads, you have frequencies that aren't supported on stock kernel (1.4GHz)
DavidMKD said:
In target loads, you have frequencies that aren't supported on stock kernel (1.4GHz)
Click to expand...
Click to collapse
That's because my kernel is overclocked.
above_hispeed_delay: 40000 998400:45000 1090400:50000 1190400:55000
boost: 0
boostpulse_duration: 0
go_hispeed_load: 99
hispeed_freq: 787200
io_is_busy_: 0
min_sample_time: 0
sampling_down_factor:1
sync_freq:300000
target loads: 80 600000:80 787200:90 998400:95 1090400:97 1190400:99
timer_rate: 60000
timer_slack: 480000
up_threshold_any_cpu_freq: 0
up_threshold_any_cpu_load: 0
Ksm off , no hotplug min:300 mhz max:1190 mhz
I am using this settings for now. I tried to lock 300-787 mhz for the my daily usage (whatsapp, youtube, cm browser, simple games like fun run) high frequences for heavy games, installing apps.
Is that config fine ? I tried semil's config its battery performance was great but i think it is slow config.
batuskas said:
above_hispeed_delay: 40000 998400:45000 1090400:50000 1190400:55000
boost: 0
boostpulse_duration: 0
go_hispeed_load: 99
hispeed_freq: 787200
io_is_busy_: 0
min_sample_time: 0
sampling_down_factor:1
sync_freq:300000
target loads: 80 600000:80 787200:90 998400:95 1090400:97 1190400:99
timer_rate: 60000
timer_slack: 480000
up_threshold_any_cpu_freq: 0
up_threshold_any_cpu_load: 0
Ksm off , no hotplug min:300 mhz max:1190 mhz
I am using this settings for now. I tried to lock 300-787 mhz for the my daily usage (whatsapp, youtube, cm browser, simple games like fun run) high frequences for heavy games, installing apps.
Is that config fine ? I tried semil's config its battery performance was great but i think it is slow config.
Click to expand...
Click to collapse
I try not to limit my frequencies since the point is to go high performance only when needed. I'm not sure about your config since I never turn off hotplugs.
Hello guys, we have another new option in L Speed.
We are now able to control a swappiness tendency, how much aggressive we want to swap the memory.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can find this option under virtual memory section as you can see on this image. If there is any issue, please report.
Governor tuner doesn't work on this build.
Thanks for testing
Paget96 said:
Hello guys, we have another new option in L Speed.
We are now able to control a swappiness tendency, how much aggressive we want to swap the memory.
You can find this option under virtual memory section as you can see on this image. If there is any issue, please report.
Thanks for testing
Click to expand...
Click to collapse
Question: does this just change the swappiness percentage, that also can be changed in KA, or are other perimeters changed as well?
Thanks
martyfender said:
Question: does this just change the swappiness percentage, that also can be changed in KA, or are other perimeters changed as well?
Thanks
Click to expand...
Click to collapse
As you can see in L Speed logs, just swappiness.
Sent from my Nexus 5 using Tapatalk
Paget96 said:
As you can see in L Speed logs, just swappiness.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
My 1GB device uses zram by default with a 400mb swap file and swapiness set to 100%. I have overcommit ratio set to zero. I have played with these settings in the past, but I'm not sure if I noticed any difference. Does lowering swapiness improve battery and cpu useage. Also what about lowering the amount of zram space? The only memory intensive app I have is GT Racing 2 Real Racing, but I rarely ever play it. Based on an xda guide, I have dirty_ratio set to 40 and dirty_background_ratio set to 10.
https://forum.xda-developers.com/android/general/guide-comprehensive-guide-to-kernels-t3121088
Thanks
martyfender said:
My 1GB device uses zram by default with a 400mb swap file and swapiness set to 100%. I have overcommit ratio set to zero. I have played with these settings in the past, but I'm not sure if I noticed any difference. Does lowering swapiness improve battery and cpu useage. Also what about lowering the amount of zram space? The only memory intensive app I have is GT Racing 2 Real Racing, but I rarely ever play it. Based on an xda guide, I have dirty_ratio set to 40 and dirty_background_ratio set to 10.
https://forum.xda-developers.com/android/general/guide-comprehensive-guide-to-kernels-t3121088
Thanks
Click to expand...
Click to collapse
It depends on whether you use swap/zram or no, lowering swappiness will reduce a "aggression" of how often kernel swap the memory. If it's lower, it's less, so less frequent CPU usage.
Paget96 said:
It depends on whether you use swap/zram or no, lowering swappiness will reduce a "aggression" of how often kernel swap the memory. If it's lower, it's less, so less frequent CPU usage.
Click to expand...
Click to collapse
I hadn't investigating vm changes much on this newer rom until yesterday. My device uses zram only, by default. Size 400mb, swapiness 100%. About 24 hrs ago I changed them to: size 250, swapiness, 40%. So far, my device appears to have less lag. Other settings I changed recently are dirty_ratio, 40, dirty_background_ratio,10, overcommit_ratio, 0, vfs_cache_ pressure remains at the system default of 100%
Do your cache reclaiming and cache allocation settings in lspeed, tune these parameters?
I/O tweak related: I had also enabled I/O boost and I/O extended que. I was experiencing some system lag, especially after wakeup, device unused overnight. Is it possible these two settings were the cause of the lag? I have them disabled now to test.
Thanks
martyfender said:
I hadn't investigating vm changes much on this newer rom until yesterday. My device uses zram only, by default. Size 400mb, swapiness 100%. About 24 hrs ago I changed them to: size 250, swapiness, 40%. So far, my device appears to have less lag. Other settings I changed recently are dirty_ratio, 40, dirty_background_ratio,10, overcommit_ratio, 0, vfs_cache_ pressure remains at the system default of 100%
Do your cache reclaiming and cache allocation settings in lspeed, tune these parameters?
I/O tweak related: I had also enabled I/O boost and I/O extended que. I was experiencing some system lag, especially after wakeup, device unused overnight. Is it possible these two settings were the cause of the lag? I have them disabled now to test.
Thanks
Click to expand...
Click to collapse
Yes, L Speed tune those parameters. And yeah, those can result a lag, test it and report to me.
Since we don't have anything to complain about this option, I assume we don't have to test it anymore. You are pleasured with those parameters, so I'll close this thread.
Thread re-opened, waiting for some reports about this option and potential improvements.
Thanks for support
We are also fine with this option, nothing much to test here.
If you have any problems with this option, please write to this thread.
Thanks for support