Question Multicore Packet Schedular - Samsung Galaxy S21 Ultra

Hi.
Just saw this in Developer option and it was OFF.
I have put it ON for the time being as it says It improves performance and reduces consumption.
Just wanted to know what it actually does and is it helpful to Turn it On or just leave it Off.
Thanks.

Hmmm interesting, I just had a quick read about it and it seems to be universally accepted that it does good things for battery life. I just switched it on.

Don't have it on my device (G9980 on A12), if I had to guess I suppose it should be something like Receive Side Scaling queues in network adapters, that should always decrease overhead on any single core, as long as the rest aren't overloaded.

Related

[request, forum] setcpu configuration

Hello, anyone know how to configure setcpu to save the battery while maintaining a smooth flow of the phone?
I saw that we could create "rules": those who did, can you post your configuration.
Thank you
Yes, i've good settings!
Profile: Auto-detect
Max 998400
Min 245000
CPU Governor On demand
Set on boot checked
Profiles on
Sleep/standby enabled
Max 245
Min 245
Battery profiles
Power <30%
768 Max
245 Min
These are same settings as teknologist have. This is the man who did the kernel for MCR ROMs. In my eyes he is a god in this things. So I belive him full!
see this and I think should be added here. http://www.pokedev.com/setcpu/
Formel-LMS said:
Yes, i've good settings!
Profile: Auto-detect
Max 998400
Min 245000
CPU Governor On demand
Set on boot checked
Profiles on
Sleep/standby enabled
Max 245
Min 245
Battery profiles
Power <30%
768 Max
245 Min
These are same settings as teknologist have. This is the man who did the kernel for MCR ROMs. In my eyes he is a god in this things. So I belive him full!
Click to expand...
Click to collapse
With this configuration, you save the battery?
If yu wanna have the longest battery time, just use all 245/245 Mhz.
But this makes no sense.
I think you wanna have it between battery/speed, isn't it?
Formel-LMS said:
If yu wanna have the longest battery time, just use all 245/245 Mhz.
But this makes no sense.
I think you wanna have it between battery/speed, isn't it?
Click to expand...
Click to collapse
obviously! I want my battery will hold at least two days! I will try your setup throughout the weekend and I'll make a return Monday.
thx
tcastel said:
obviously! I want my battery will hold at least two days! I will try your setup throughout the weekend and I'll make a return Monday.
thx
Click to expand...
Click to collapse
Don't hold your breath. Im being serious here. It wont last unless it sits in standby most of the time and then you're still pushing it.
Spend the 25$ extra and get a second battery.
2 DAYS?! Let me know if you are able to accomplish that somehow! I've tried everything; ROMS, Kernels, Juice Defender, SetCPU, anything you can think of and about the best I can get is 15-16 hours with moderate to heavy usage. I think I am actually going to buy a spare battery today.
.. that's not hard to do, 2days... even more.
Just stop all apps to update, stop auto sync, stop background sync...
you will be surprised*
I knocked down my cpu to 500 or so in all conditions, phone still feels responsive.
If you want two days, turn off 3g, turn off sync, turn off brightness. You'll not only get great battery life but a $600 dumbphone to boot!
this is what you need to do...
sleep/standby 245min 245 max cpu governer: powersave
charging 245min 883 max cpu governer: on demand
'normal': 460min 998max cpu governer: conservative
if u find that with normal use the phone isnt as snappy as it used to be, and this bothers u, then change the cpu governer back to on demand for the normal profile.
i've had amazing battery life since i tried these settings.
Also....some apps prevent the phone from sleeping so keep an eye out if ur battery is just literally disappearing!
Setting the max too low on any profile is not a good idea. This can cause tasks to take too long to complete and queues and memory to fill. This can make your phone unstable and arguably increase battery usage due to increased management overheads.
Some overhead above minimum is always preferable. I would consider anything less than 245/576 quite extreme and normally undesirable.
djmcnz said:
Setting the max too low on any profile is not a good idea. This can cause tasks to take too long to complete and queues and memory to fill. This can make your phone unstable and arguably increase battery usage due to increased management overheads.
Some overhead above minimum is always preferable. I would consider anything less than 245/576 quite extreme and normally undesirable.
Click to expand...
Click to collapse
yeah i heard about this but i have never encountered any problems. obviously its different for everyone but i would say try 245/245...if your getting too much drain with the phone on standby then use 245/576 with on demand governor.
Formel-LMS said:
Yes, i've good settings!
Profile: Auto-detect
Max 998400
Min 245000
CPU Governor On demand
Set on boot checked
Profiles on
Sleep/standby enabled
Max 245
Min 245
Battery profiles
Power <30%
768 Max
245 Min
These are same settings as teknologist have. This is the man who did the kernel for MCR ROMs. In my eyes he is a god in this things. So I belive him full!
Click to expand...
Click to collapse
I do not see much difference!!
tcastel said:
I do not see much difference!!
Click to expand...
Click to collapse
To be honest everyone "thinks" you can see a night and say difference just by tweaking the clock's and installing more efficient kernels. You can't and wont.
Those things may save you 5-10% over the course of a day but don't expect miracles. If you look at your battery history information you'll see that the system and any CPU related item can become relatively low doing all the efficiency modifications yet the battery still poops too soon.
Now look at the display. Thats where it's all going and as far as I know there is nothing anyone can do about that on our side. I run with the display back lighting 100% OFF and it still shows at a HUGE portion of my energy use. ~50% and sometimes more.
The day we get more efficient screen technology is the day we will be able to possibly use these things for 2 days on one charge... Either that or more powerful battery technology.
You know guys, I only have 3 scales on the application. Userspace, ondemand, and performance. I also have no idea what Priority means and how high or low to put them for a good profile! What do I do?
ma1993 said:
You know guys, I only have 3 scales on the application. Userspace, ondemand, and performance. I also have no idea what Priority means and how high or low to put them for a good profile! What do I do?
Click to expand...
Click to collapse
Set a default scaling type that suits you, typically On Demand or Uberspace and then set up your profiles. All of your profiles can use the same scaling (mine do).
The set your profile priorities in the order you want them to apply, 100 is the highest priority. For example, you might want the phone to run with less overclock when the battery is low and you want this condition to apply all of the time then you would give it a higher priority than other rules so it always executes. A better example might be a temperature profile. If the phone is hot you want to clock it down and want this to NEVER be overridden by another profile then you would set this to very high (say 99) so it could NOT be substituted by another rule.

[Q] dynamic overclocking

.
..
I use setcpu to do this.
Look into the governors, choose one.
Then choose the appropriate thresholds (in the advanced menu) for what you do.
It doesn't allow you to tweak per app, but tells the cpu governor at what %of cpu to move to the next cpu speed (up or down).
I set mine very low, as i care more about battery than performance. So my up threshold is like 95% or something.
But my down threshold is a lot more agressive.
But you do the opposite.
MuF123 said:
Hello,
my question is regarding dynamic overclocking. I've used the ones that raise the speed when under a load - but my question is -
Is there a way to return to stock clocks after certain time?
Explanation:
situation1: I want to check new single mail or open new single IM or check university's website for some news, I want the device to be FAST as possible, nevermind the battery.
situation2: I want to use maps/navigation/IM/games/web browsing for longer period of time (hours?) with the screen on. I don't need all the power when I play solitaire, text on IM or browse not-so-important news websites.
I think when I've seen the realtime clock displayed on my phone it jumped to max clock right after I've clicked almost anything on the screen. I want the speed-up, but after certain period of time to stop doing this in favor of the battery life-time.
Any ideas how to do this? Thanks!
Click to expand...
Click to collapse
Sent from my Milestone using Tapatalk
Yes, just throttle the cpu to give you more power when you are sluggish. That could work for you.
Me? I have my droid do 110 when screen is off (works quite well!), and then I FORCE the unit to 1000 when plugged in. Besides that i throttle the cpu based on battery power: more cpu power with more battery life. Makes my droid last longer.
I might want to add a throttle up when sluggish and not in my personal battery red zone and a throttle down when the cpu gets too hot period.
Any cpu frequencies that you all would suggest?
..
MuF123 said:
Thanks for the reply, but - think about this, I will start a 3D game, it will use 100% of the cpu so it would always stay at the highest possible frequency (+highest voltage). I don't want that.
Click to expand...
Click to collapse
I dont get it?
You dont want max speed in game? Why do you overclock?
If the game requires 100%, the it will (and should) clock up.
As soon as the game doesnt, it will clock down (depends on your threshold).
The only other i could see, is to change the max clock rate in setcpu before you play the game. This will ensure it doesnt clock higher than your choice, but requires a manual step.
But seriously, if your cpu is pegged at 100, why would you not want it to step up the higher speed?
Sent from my Milestone using Tapatalk
..
MuF123 said:
exactly - I don't want minimum battery in game, that's why I don't want to overclock.
actually from the nature of 3d rendering I think every game will run at 100%, but the situation when the game hits the frame limiter (not likely on milestone).
I want snappy performance while doing few quick tasks:
e.g.: new IM comes, I want to unlock, load the application, get to the IM, reply, lock. (40seconds)
or
taking phone from cradle - I want the phone to load homescreen fast, rotate the screen, open phone app, to look at last missed call and call back (20seconds).
Battery life won't be affected by 40 or 20seconds of ~1100mhz, okay.
And then I start a game for a prolonged time. It will run smoothly even on 550MHz, the additional frames I see are just waste of battery = I don't want that.
So now I have two options - either run at max speed and it will be always fast and it will drain my battery when I decide to play for an hour.
OR
I can use default speeds for longer battery life for everything and I will wait an hour to rotate the screen in browser or IM app.
Click to expand...
Click to collapse
You could compromise and find a max speed that you could undervolt to make it drain battery like stock. My 800mhz vsel is less than the default vsel @550. So the battery drain is less...
It requires some trial and error, but most "slight" overclocks (700,800; depends on the phone) can be configured to drain less than stock.
Of course, if you feel you need 1000 or 1100, this wont work as it requires increasing the vsel (or at least not decreasing it).
Sent from my Milestone using Tapatalk

CPU governor on .213 ICS leak

Ever since I flashed the 213 leak, battery life has been a bit disappointing. To help things along, I downloaded SetCPU (haven't used it since my good ole OG Droid) and let it autodetect settings. To my surprise the governor was set to 'interactive' instead of hotplug like it was on stock GB.
My understanding is that hotplug allows the phone to disable unneeded cores during periods of low utilization, while interactive does not (although both cores can be disabled when the phone is sleeping). Do you think switching to hotplug from interactive will improve battery life?
My battery life is much better since switching, but I also disabled 4G (on WiFi most of the time) and added screen off and low battery profiles (600mhz and 800mhz max respectively) which muddy the waters a bit. I thought I would mention it on here for those of you who feel the same, it might be an easy way to improve battery life on the leak.
That's interesting. I've been using the .213 leak and my battery life has been quite good. I haven't noticed any particular drop in battery life, and I keep 4G on all the time. If I don't use my phone much, it's not uncommon for me to have 60% left at the end of the day.
Do you use anything like SetCPU? I am wondering whether I can confirm that the default governor of the leak does not shut off one of the CPUs when it is idle. If nobody can confirm I'll get around to checking it myself this weekend :laugh:
Sorry, I haven't messed with my cpu settings.

how much does the governerr really effect the battary?

im just wondering how much does the governerr effect battary life? i changed from ondemand to smartass2 and im not sure i see any diffrent...
and im scheduales which one is best for multitasking and which is for when playing games?
and should i change the governerr setting?
i also read that sleep_ideal_frequency should be 200 and not 100 beacuse 100 wastes more or something like that, is that true?
using galaxy i9000 semaphore kernal jb
bump
I use Performance governor all the time for 3 months now, battery life is same as on demand, smartass v2 or any other governor, except my phone lags much rarely than on any other govenor. For those that dont know, CPU of PC, your phone, calculator or anything else always works at 100% of its frequency even it has no work to do (Let's take for example your PC, even cpu usage is 5%, CPU still works at full frequency, the same works for your phone), so to me there is no point of any other governor except for Performance. If you have problem with battery life, it's mostly your screen. When I drain out my battery, my battery mostly get drained by screen (70-90%), I use about 0-30% of brightness always. Screen of 60-100% brightness will probably drain your phone's battery in 2-3 hours.
Lavoslav said:
I use Performance governor all the time for 3 months now, battery life is same as on demand, smartass v2 or any other governor, except my phone lags much rarely than on any other govenor. For those that dont know, CPU of PC, your phone, calculator or anything else always works at 100% of its frequency even it has no work to do (Let's take for example your PC, even cpu usage is 5%, CPU still works at full frequency, the same works for your phone), so to me there is no point of any other governor except for Performance. If you have problem with battery life, it's mostly your screen. When I drain out my battery, my battery mostly get drained by screen (70-90%), I use about 0-30% of brightness always. Screen of 60-100% brightness will probably drain your phone's battery in 2-3 hours.
Click to expand...
Click to collapse
This is so wrong its a pain to read.:banghead: Why do we have the max and min frequency options in the semaphore app? Why do we have "Max Performance" and "Max Battery" power settings on laptops?
Sent from my GT-I9000
There was a thread some while ago that concluded in OnDemand and Performance being to two to give longest battery life and best performance.
I don't have specifics or even a link, but the thread was about schedulers and governors and which went together for best performance and battery life. I'm sure it's google'able
Sent from my GT-I9000 using xda premium
i found that thread but im just wondering how much battary life is wasted if i prefer preformence?
lets say i use smarassv2 since its faster will my phone drain lets say insted 20%\hour - 22%\hour? or is it more then that?
itzikd1 said:
i found that thread but im just wondering how much battary life is wasted if i prefer preformence?
lets say i use smarassv2 since its faster will my phone drain lets say insted 20%\hour - 22%\hour? or is it more then that?
Click to expand...
Click to collapse
maybe you can try and tell us
There should be a significant impact regarding battery life when using Performance for example. But it also depends on what you are used to. If you play games all the time or do heavy tasks, the governor will kick the CPU to 100% all the time anyway. But if you mostly surf on the Internet or read texts there's no need to let the CPU go rampage.
Oh and Btw: Modern CPUs in notebooks or computers in general clock themselves down as well when they're idle.
Sent from my Gameboy Color
BlueFlame4 said:
There should be a significant impact regarding battery life when using Performance for example. But it also depends on what you are used to. If you play games all the time or do heavy tasks, the governor will kick the CPU to 100% all the time anyway. But if you mostly surf on the Internet or read texts there's no need to let the CPU go rampage.
Oh and Btw: Modern CPUs in notebooks or computers in general clock themselves down as well when they're idle.
Sent from my Gameboy Color
Click to expand...
Click to collapse
I do use internet mostly so what will be the most effective governerr any idea?
itzikd1 said:
I do use internet mostly so what will be the most effective governerr any idea?
Click to expand...
Click to collapse
Try OnDemand or SmartAssV2.

What are your CPU Settings?

Hey, was just wondering what settings you all have under Kernel Auditor in order to ensure 5 hours+ SOT. I personally have a dual core setup and have the other two cores kick in when the load gets to 90%, but this seems sort of sluggish now and I only get about 3.5-4 hours SOT and I don't play any games; just simple browsing and productivity. Others manage to get up to 5-6 hours SOT and I wonder how, I have NEVER been able to get this much. Standby is great though, 10 hours overnight and I lose only 3% battery. I am running on Pure Nexus Project ROM and latest Hells Core Kernel.
thats about the regular time I get outa mine. If I had to guess a lot of these 5+ hours are from watching videos or something that doesn't involve touching the screen. I've been using HC kernel with just zen decision on max performance settings and gpu on performance governor (since it idles 27mhz anyway might as well ramp up to full 600mhz for touches) for smoothness.
I have it setup that all my cores are on all the time, no hotplugging. ondemand/deadline, mpdecision disabled, fsync disabled. and I get 5+ hours sot every single day. no, I do not watch videos. but I do keep my brightness all the way down.
Hey, where do you go to disable fsync
aroy97 said:
Hey, where do you go to disable fsync
Click to expand...
Click to collapse
it has to be an option in the kernel that youre using, at least the kernel has to expose it so that you can disable it. if its not xposed in general, then you cant disable it. im using despair kernel.
Try undervolting. Unless you severely under clock your cores you won't really see battery life improvement.
I keep my max CPU speed at 2803mhz. You might think "oh well if you're running higher frequencies then more battery drain". Not exactly. The difference between 2649mhz and 2803mhz will be negligible in terms of battery life so I'm seeing a slight performance increase with no significant battery loss. For example, on 2649mhz after a full day of normal usage I'd have about 49% battery life. On 2803mhz I'd have about 43%. I got a good performance increase and a more snappier device in terms of loading web pages, apps, opening documents etc so that extra 6% I lost doesn't matter to me, because its not significantly impacting me, I barely notice most of the time.
So yeah, the same goes for lowering CPU speeds to unless you significantly lower them. Putting max CPU speed to something like 2572mhz, you wouldn't even notice e the difference in battery. Now lowering it to like 1958mhz, or 2188mhz and you'll see a difference because at that point your severely under clocking.
You could also be draining your battery by hotplugging. That's why some people like Zen and MP Decision to keep all cores online when screen is on. If you use your device often, its better to have all cores running. If you don't and its kept in your pocket for hours at a time, hotplugging is the way to go.
Try under volting too. I do. Global Under Volt of -60.
TransportedMan said:
Try undervolting. Unless you severely under clock your cores you won't really see battery life improvement.
I keep my max CPU speed at 2803mhz. You might think "oh well if you're running higher frequencies then more battery drain". Not exactly. The difference between 2649mhz and 2803mhz will be negligible in terms of battery life so I'm seeing a slight performance increase with no significant battery loss. For example, on 2649mhz after a full day of normal usage I'd have about 49% battery life. On 2803mhz I'd have about 43%. I got a good performance increase and a more snappier device in terms of loading web pages, apps, opening documents etc so that extra 6% I lost doesn't matter to me, because its not significantly impacting me, I barely notice most of the time.
So yeah, the same goes for lowering CPU speeds to unless you significantly lower them. Putting max CPU speed to something like 2572mhz, you wouldn't even notice e the difference in battery. Now lowering it to like 1958mhz, or 2188mhz and you'll see a difference because at that point your severely under clocking.
You could also be draining your battery by hotplugging. That's why some people like Zen and MP Decision to keep all cores online when screen is on. If you use your device often, its better to have all cores running. If you don't and its kept in your pocket for hours at a time, hotplugging is the way to go.
Try under volting too. I do. Global Under Volt of -60.
Click to expand...
Click to collapse
undervolting doesnt really save you battery, but it does reduce heat. and hotplugging or having all your cores on doesnt really factor in when you dont use your device that much. as, if you have all your cores on or hotplugging, your phone should be in deep sleep anyways. it does make a difference when your phone is awake. i get much better battery life when all my cores are on all the time.
Should there be a sticky of suggested settings of differing requirements of speed, battery life, etc?
ronaldheld said:
Should there be a sticky of suggested settings of differing requirements of speed, battery life, etc?
Click to expand...
Click to collapse
honestly, I don't think so. as the settings/setup used is always dependent on how you actually use the device. and many people have different opinions on how it should be set up.

Categories

Resources