Comments (9)
Sounds like a good idea for settings file idea in #26. Something like this: limit number of cores (available cores: xy)
from auto-cpufreq.
I have doubts that disabling CPU cores would improve battery life. I suspect this would decrease battery life, because you need to do the same amount of work either way, and forcing work onto fewer processors just keeps the fewer cores operating at higher frequencies for longer periods of time. Efficiency tends to reduce at higher frequencies.
from auto-cpufreq.
@mmstick yep, you a right. But what if to disable/enable cores depending on the average CPU load % ?
So, if my laptop is on IDLE, than maybe disabling CPU cores will decrease power consumption?
from auto-cpufreq.
The more I'm thinking about this, this shouldn't be part of the settings file, as it will definitely have counter effects as @mmstick pointed out. But I'm sure if load/cpu usage is very low and cores are dropped it'll only increase battery life. Real life example, certain cars (i,e: BMW) are doing this where at low speeds/eco boost mode they only use 1 cylinder to use as little fuel as possible.
Hence we should go in direction of handling this automatically. Where if absolutely minimum load/cpu usage is detected to proceed with disabling the cores. Then with slightness change in cpu/load to enable cores. @Red-Eyed I think we should only make these changes while in powersave.
from auto-cpufreq.
I think that internal combustion engine(ICE) is a bad analogy as CPU and ICE has different nature, so it needs to be investigated and tested firstly.
Yes, sure in powersave only.
from auto-cpufreq.
I think that internal combustion engine(ICE) is a bad analogy as CPU and ICE has different nature
Agreed, I realized the same as soon as I posted it :)
so it needs to be investigated and tested firstly.
Of course, research and testing is what's it's all about.
Yes, sure in powersave only.
👍
from auto-cpufreq.
I have lightly experimented with disabling CPU cores using cpufreq, and in my case, it increases battery life substantially. On Ryzen 5800h going from 16 threads to 4 increases the battery life from 7.5h to 9.5h while doing very light work/reading and from 4:20 to 5:20h while watching youtube. But more exact testing is needed.
from auto-cpufreq.
With v1.7.0 release it's now possible to manually define some of the settings instead of leaving everything to be picked up automatically. Could you try tweaking some of the available options and report back on how that worked for you?
Considering #26 is now also closed, I'll close this issue as well. Please re-open it if the problem persists.
from auto-cpufreq.
@LadislavMalecek Can you please post your configuration on how to disable cores automatically? Are you using cpufreq and auto-cpufreq in parallel or how does it work?
from auto-cpufreq.
Related Issues (20)
- How to enable Battery Threshold on Asus Vivobook K3502ZA_S3502ZA HOT 4
- KeyError on updating auto-cpufreq during exhausted GitHub API calls HOT 4
- System doesn't boot after disabling intel_pstate HOT 8
- CPU Frequency on battery power very low on a Intel 12gen HOT 2
- Intel CPU: Spamming of 'line 105: echo: write error: Device or resource busy HOT 14
- Not setting EPP (not supported by the system) HOT 1
- Intel CPU: Dell fans cycling
- Do not set any Turbo boost flags when using amd_pstate_epp driver HOT 3
- No "Warning: CPU turbo is not available" when using amd-pstate-epp
- service stops on nixos after boot HOT 7
- [FEATURE] Add battery threshold option for HP Victus 16 HOT 1
- Intel i7-1260p on Asus Laptop won't go past 2.5GHz
- Bluetooth disabled after reboot HOT 2
- Should warn about the threshold feature can not be applied. HOT 20
- scaling_min_freq doesnt work HOT 1
- Issue with auto-cpufreq-gtk when packaged as RPM HOT 5
- performance mode not working like a performance
- Max frequency and gui not working HOT 1
- auto-cpufreq locks up on Fedora/Gnome HOT 5
- auto-cpufreq Ubuntu 24.04 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-cpufreq.