Comments (8)
Good idea- should be possible. Maybe one problem is that I've seen my machine crash when setting the temp limit to something lower than the current temperature. Consider the scenario where your machine is on AC running something intensive, core temp is 95C. Then you unplug AC- your cpu is 20C over critical limit, I think this causes a reset. Maybe check if you can replicate this?
from undervolt.
@georgewhewell thank you for getting back to me. In a case like that, I would expect the system to gradually go down within the limit. So for your case it would be:
- plugged - 93 / limit 95
- plugged - 95 / limit 95
- unplugged - 95 / limit 95
- unplugged - 93 / limit 93
- unlugged - 88 / limit 88
... - unlugged 75 / limit 75
I will give it a shot later during the day.
from undervolt.
@georgewhewell thanks for a reset ;) I guess the only idea I would have is to have something like stated above. If there is a limit over which it restarts (let's say the base +5) it should be enough as it would be throttled constantly lowering the temp.
from undervolt.
good to know it's not just me :)
After experimenting a bit I'm not sure now this is to do with temperature limits- I've been running the following simultaneously with mprime torture test and i7z (to observe temperatures):
while true; do sudo undervolt -r --temp 60 && sleep 5 && sudo undervolt -r --temp 95 && sleep 5; done
I get a reset pretty quickly with my normal undervolt settings applied, but I haven't observed a reset with stock voltage settings. Perhaps this is just very stressful for CPU, and requires dialing back the undervolt settings a bit?
from undervolt.
I've been playing with it with following settings:
undervolt --gpu -75 --core -100 --cache -100 --uncore -100 --analogio -100
With 120
for core and cache my system becomes unstable. What you're saying would mean, that it would be good to have different undervolt settings not only for the throttling but also for the rest of the values. That way it could be prevented.
from undervolt.
Perhaps that could be a solution, but it makes things more complicated. I think probably the reset indicates that the undervolt is just too aggressive, and it's not truly 'stable' at those offsets- I suspect reset could be triggered in ways other than rapid temperature change such as full GPU utilization. Maybe we need a 'torture test' script to find lowest safe voltages, then add 10mV for safety.
Anyway, I added --temp-ac and --temp-bat in this branch: https://github.com/georgewhewell/undervolt/commits/feat/selective-temp-on-ac-status
Note that it's stateless, so you need to run it periodically to pick up ac status change, eg using systemd timer in README
from undervolt.
Yeah anyhow you've added a systemd integration si it should't be a problem :) Great job with this one really!
from undervolt.
Great job! Thank you!
from undervolt.
Related Issues (20)
- Write to unrecognised MSR 0x150 HOT 4
- Any chance for turbo ratio configuration support? HOT 1
- PermissionError: [Errno 13] Permission denied: '/dev/cpu/0/msr' HOT 4
- Works on Acer Aspire 5 A515-51G-5072
- Does not work with thinkpad x1/p1 gen4 HOT 4
- Cannot use 'undervolt' after upgrading to Fedora 35 HOT 1
- Does this work with KVM/QEMU? HOT 2
- Undervolt service failed HOT 2
- PermissionError: [Errno 13] Permission denied: '/dev/cpu/0/msr' HOT 9
- MSI GS65
- Not working on mint 20 - command not found HOT 4
- Confirmed working on Dell G15 5510 (i5 10200H)
- Macbook air mid 2013 | Failed to apply core HOT 1
- No package metadata was found for undervolt HOT 1
- Turbo boost not working
- Confirmed Lenovo Thinkpad T490, Intel i5-8265U HOT 1
- sudo: undervolt: command not found HOT 4
- Power limit is not permanent HOT 1
- ERROR:root:Failed to apply - undervolt settings on Intel Celeron N5100 and Clear Linux HOT 2
- How do ThrottleStop's FIVR Control names map to those of undervolt? 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 undervolt.