[APP][2.2+] MonitorZ - Android Apps and Games

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

Related

Music player CPU usage?

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.

How to fix terrible battery life after update?

I used search and looked through several pages of Q&A threads and didn't see an answer to this. If I missed the thread, please point me to it and accept my apology.
I updated to check for the recall and I'll be getting a new Shield Tablet eventually but my battery life nosedived immediately after the update. I read that Lollypop has had battery issues but the only fix I seem to read about elsewhere is flashing CM which does not interest me particularly. My battery life instantly dropped from 4-6 hours to barely 2 since the update.
When I went to battery stats prior to the update, I saw all the apps that were running and after the update I only see things like "screen," "android os," "android system," and "chrome." I'll have lost 50% of the battery and battery stats will tell me that the screen has used 15%, os & system have used 5% but there aren't enough percentages to add up to either the 50% lost or 100% of used battery life. I'm not even sure how to read the stats anymore.
Is there a kernel I can flash or something to regain the battery life I had prior to the update?
Any assistance is most appreciated.
{
"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"
}
Hi
I've actually noticed the same thing, thought I had lost my mind or something. Luckily I'm getting a RMA ( faulty battery recall)
But I would really like to find a solution to this in the mean time...
Tried a factory reset?
Its all about using hardware ....
Narsil007 said:
I used search and looked through several pages of Q&A threads and didn't see an answer to this. If I missed the thread, please point me to it and accept my apology.
I updated to check for the recall and I'll be getting a new Shield Tablet eventually but my battery life nosedived immediately after the update. I read that Lollypop has had battery issues but the only fix I seem to read about elsewhere is flashing CM which does not interest me particularly. My battery life instantly dropped from 4-6 hours to barely 2 since the update.
When I went to battery stats prior to the update, I saw all the apps that were running and after the update I only see things like "screen," "android os," "android system," and "chrome." I'll have lost 50% of the battery and battery stats will tell me that the screen has used 15%, os & system have used 5% but there aren't enough percentages to add up to either the 50% lost or 100% of used battery life. I'm not even sure how to read the stats anymore.
Is there a kernel I can flash or something to regain the battery life I had prior to the update?
Any assistance is most appreciated.
Click to expand...
Click to collapse
Okay so In your tablet you got 4 core
4 core means twice as much battery use because you can adjust it y dividing them to half
which is with update they made the cpus using full capacity all 4 of them
so when your not gaming or with your gaming which is it didnt show any difference to me while Im playing heartstone
settings >shield power control>my power mode enable again and customize my power mode >max cpu cores 2
then try with this and youll be allright also
another poing I would love to make and share my experience with you
So far if any of your google apps or location apps is on they draw approx 30 percent more battery
Its disgracefull I know so for that
Settings>location>off
then another thing is I come across a lot
settings > wifi >advanced options ( top of right corner 3 dots)>Scanning always available is off
:fingers-crossed:
Limiting the number of active cups is not the option. But three are other settings related to CPU which not te reduce their number but reducing their frequency first. Your room possibly is too much conservative about power usage because Android is made to used the "on demand" governor for CPU settings and assumes that there's a scheduler that will update the frequency every few seconds instead of every minute where all cups will email active for at least some time, so that it is never really idle. The exists some tools like CPU tuner that allows defining the CPU parameters and the threshold of time usage for which the usage rates can be updated down or up.
Envoyé de mon Desire 816 en utilisant Tapatalk
Has anyone noticed that under the shield power control --> apps , one can no longer set apps to "let Nvidia optimise it" . Only two option available, disabled or custom
Running the latest update
Anyone else?
verdy_p said:
Limiting the number of active cups is not the option. But three are other settings related to CPU which not te reduce their number but reducing their frequency first. Your room possibly is too much conservative about power usage because Android is made to used the "on demand" governor for CPU settings and assumes that there's a scheduler that will update the frequency every few seconds instead of every minute where all cups will email active for at least some time, so that it is never really idle. The exists some tools like CPU tuner that allows defining the CPU parameters and the threshold of time usage for which the usage rates can be updated down or up.
Envoyé de mon Desire 816 en utilisant Tapatalk
Click to expand...
Click to collapse
Well I did it and its perfect.
I even got blissrom now
And I did customised again cooler then ever so
Your wrong by saying that "not the option" matey .
Sent from my SHIELD Tablet using Tapatalk

Stock Kernel Optimisation

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.

[TESTING] Control Swappiness tendency

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

How To Guide Optimise Stock Kernel Scheduler & Governor Setting

So, after months of using Pixel 7 family, surely we all know that Tensor 2 is not exactly the best flagship SOC in term of raw power or energy usage, probably due to it's "Exynos Genetics Trait"
that being said, doesnt mean it's down bad. And with some optimisation, we can always try to make it run better. One of the example is by seeing how much better it run on custom kernel. But what about other stock kernel user ?
Well, fortunately, as long as we have root access, the stock kernel still allow us to play with some parameter. And here are some tunables parameters that i use to balance the energy usage and responsiveness of the device. (my aim is 10% battery for 1 Hour of SoT and ±0-1% decrease during 6-10hrs idle)
If you want to know more about each parameters, you can google a lot of linux kernel documentation (like here for example : https://access.redhat.com/solutions/177953)
but for now i'll just write down the change and my configurations. (I used EX Kernel Manager to change the parameters) :
CPU Section :
Switch governors for all CPU clusters from 'sched_pixel' to 'shedutil'
Open "Governor Options" and change the 'rate_limit_us' for all clusters from '10000' to '0'
Open "CPU scheduler options" and use bellow value for respected parameters :
sched_wakeup_granularity_ns : 10000000
sched_tunable_scaling : 1
sched_min_granulatity_ns : 2000000
sched_latency_ns : 12000000
Memory Section :
Disable "ZRAM"
That's it for now. Try and feedback if you find any improvement in your energy usage.
I've been using it for weeks, and pretty happy especially with idle drain. As for SoT, normally i end up with 5-6 Hrs screen time when i down to bed with ±30% battery remaining.
otonieru said:
So, after months of using Pixel 7 family, surely we all know that Tensor 2 is not exactly the best flagship SOC in term of raw power or energy usage, probably due to it's "Exynos Genetics Trait"
that being said, doesnt mean it's down bad. And with some optimisation, we can always try to make it run better. One of the example is by seeing how much better it run on custom kernel. But what about other stock kernel user ?
Well, fortunately, as long as we have root access, the stock kernel still allow us to play with some parameter. And here are some tunables parameters that i use to balance the energy usage and responsiveness of the device. (my aim is 10% battery for 1 Hour of SoT and ±0-1% decrease during 6-10hrs idle)
If you want to know more about each parameters, you can google a lot of linux kernel documentation (like here for example : https://access.redhat.com/solutions/177953)
but for now i'll just write down the change and my configurations. (I used EX Kernel Manager to change the parameters) :
CPU Section :
Switch governors for all CPU clusters from 'sched_pixel' to 'shedutil'
Open "Governor Options" and change the 'rate_limit_us' for all clusters from '10000' to '0'
Open "CPU scheduler options" and use bellow value for respected parameters :
sched_wakeup_granularity_ns : 10000000
sched_tunable_scaling : 1
sched_min_granulatity_ns : 2000000
sched_latency_ns : 12000000
Memory Section :
Disable "ZRAM"
That's it for now. Try and feedback if you find any improvement in your energy usage.
I've been using it for weeks, and pretty happy especially with idle drain. As for SoT, normally i end up with 5-6 Hrs screen time when i down to bed with ±30% battery remaining.
Click to expand...
Click to collapse
Someone said that it reverts back once you reboot?
elong7681 said:
Someone said that it reverts back once you reboot?
Click to expand...
Click to collapse
In the Franco Kernel Manager, there's an option to "keep" the new settings on a reboot. (Not sure about the EX Kernel Manager.)
elong7681 said:
Someone said that it reverts back once you reboot?
Click to expand...
Click to collapse
Right, it reverts back for CPU Governor (Cluster 3) after a reboot. (with EXKM)
{
"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"
}
Then I tried with FKM and problem is the same.
I will see after the night how is my battery drain.
But i can't complain because i loose only 2 or 3% during night (8h)
(Bluetooth and 5G on) No wifi because 5G signal is good.
No custom rom, rooted, january update.
Plathoon said:
Right, it reverts back for CPU Governor (Cluster 3) after a reboot. (with EXKM)
View attachment 5817379
Then I tried with FKM and problem is the same.
I will see after the night how is my battery drain.
But i can't complain because i loose only 2 or 3% during night (8h)
(Bluetooth and 5G on) No wifi because 5G signal is good.
No custom rom, rooted, january update.
Click to expand...
Click to collapse
It's expected that it reverts back to default because it's controlled by multiple things. People shouldn't change the governor. There is a write-up on this in Freak's kernel thread.
ekin_strops said:
It's expected that it reverts back to default because it's controlled by multiple things. People shouldn't change the governor. There is a write-up on this in Freak's kernel thread.
Click to expand...
Click to collapse
Can you provide a link to the write-up please?
Pixel86 said:
Can you provide a link to the write-up please?
Click to expand...
Click to collapse
Post
Mrcactuseater what's your deal always laughing at genuine posts?
ekin_strops said:
It's expected that it reverts back to default because it's controlled by multiple things. People shouldn't change the governor. There is a write-up on this in Freak's kernel thread.
Click to expand...
Click to collapse
Actually you can change the CPU governor from the default one to one of the additional existing alternatives.
The issue is just that the frequency scaling driver for the affected CPU cluster(s) will break if the PowerHAL detects that the Sched_Pixel governor isn't "there" anymore for doing the job that it is supposed to do.
Plathoon said:
But i can't complain because i loose only 2 or 3% during night (8h)
(Bluetooth and 5G on) No wifi because 5G signal is good.
No custom rom, rooted, january update.
Click to expand...
Click to collapse
Damn that's less than half of mine...
Not_Purgatory said:
Actually you can change the CPU governor from the default one to one of the additional existing alternatives.
The issue is just that the frequency scaling driver for the affected CPU cluster(s) will break if the PowerHAL detects that the Sched_Pixel governor isn't "there" anymore for doing the job that it is supposed to do.
Click to expand...
Click to collapse
I never wrote you can't change it, I wrote people SHOULDN'T change it to avoid the issues you mentioned.
You say to try to deactivate zram. Is there any real benefit? Zram is useful?
Techboyz97 said:
You say to try to deactivate zram. Is there any real benefit? Zram is useful?
Click to expand...
Click to collapse
You save CPU cycles at the expense of additional vRAM.
If you use smartpack kernel manager there's an option to apply all changes with a script on boot. That's the way I've always worked with kernels that won't allow changes to stick on boot
Pixel86 said:
You save CPU cycles at the expense of additional vRAM.
Click to expand...
Click to collapse
WUT? lol

Categories

Resources