GithubHelp home page GithubHelp logo

Comments (8)

georgewhewell avatar georgewhewell commented on May 30, 2024

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.

mensfeld avatar mensfeld commented on May 30, 2024

@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.

mensfeld avatar mensfeld commented on May 30, 2024

@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.

georgewhewell avatar georgewhewell commented on May 30, 2024

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.

mensfeld avatar mensfeld commented on May 30, 2024

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.

georgewhewell avatar georgewhewell commented on May 30, 2024

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.

mensfeld avatar mensfeld commented on May 30, 2024

Yeah anyhow you've added a systemd integration si it should't be a problem :) Great job with this one really!

from undervolt.

mensfeld avatar mensfeld commented on May 30, 2024

Great job! Thank you!

from undervolt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.