Git Product home page Git Product logo

ryzen-stabilizator's Introduction

Ryzen Stabilizator Tabajara

Simple Go program to enable/disable C6 C-state, processor boosting, address space layout randomization (ASLR) and the Power Supply Idle Control workaround on an AMD Ryzen processor, in order to help with the infamous "MCE-random-reboots-while-idle" issue.

Code licensed under Apache License 2.0.

Basic usage:

Check status of C6 C-state, processor boosting, ASLR and Power Supply Idle Control workaround:

Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>


Power Supply Idle Control workaround is ENABLED.
C6 C-state is ENABLED.
ASLR is ENABLED.
Processor boosting is ENABLED.

Enable C6 C-state:

sudo ./ryzen-stabilizator --enable-c6
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Enabling C6 C-state:   SUCCESS

Power Supply Idle Control workaround is DISABLED.
C6 C-state is ENABLED.
ASLR is ENABLED.
Processor boosting is ENABLED.

Disable C6 C-state:

sudo ./ryzen-stabilizator --disable-c6
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Disabling C6 C-state:   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is ENABLED.
Processor boosting is ENABLED.

Enable processor boosting:

sudo ./ryzen-stabilizator --enable-boosting
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Enabling processor boosting:   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is ENABLED.
Processor boosting is ENABLED.

Disable processor boosting:

sudo ./ryzen-stabilizator --disable-boosting
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Disabling processor boosting:   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is ENABLED.
Processor boosting is DISABLED.

Enable address space layout randomization (ASLR):

sudo ./ryzen-stabilizator --enable-aslr
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Enabling address space layout randomization (ASLR):   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is ENABLED.
Processor boosting is DISABLED.

Disable address space layout randomization (ASLR):

sudo ./ryzen-stabilizator --disable-aslr
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Disabling address space layout randomization (ASLR):   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.

Enable Power Supply Idle Control workaround:

sudo ./ryzen-stabilizator --enable-psicworkaround
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Enabling Power Supply Idle Control workaround:   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.

Disable Power Supply Idle Control workaround:

sudo ./ryzen-stabilizator --disable-psicworkaround
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Disabling Power Supply Idle Control Workaround:   SUCCESS

Power Supply Idle Control workaround is DISABLED.
C6 C-state is ENABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.

ryzen-stabilizator's People

Contributors

qrwteyrutiyoup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ryzen-stabilizator's Issues

C6 and PSIC exclusive

Hey, what a nifty utility, thanks.

I am on Fedora 17 @ Ryzen 1700 and I have stock BIOS with stock settings, only SMT enabled and Advanced C-States Control disabled. When I try ryzen-stabilizator, I can only disable C6 or PS Idle Control. Is this expected behavior? Is this an exclusive setting?

[lzap@box ryzen-stabilizator]$ sudo ./ryzen-stabilizator --disable-c6 
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Disabling C6 C-state:   SUCCESS

Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.
[lzap@box ryzen-stabilizator]$ sudo ./ryzen-stabilizator 
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>


Power Supply Idle Control workaround is ENABLED.
C6 C-state is DISABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.
[lzap@box ryzen-stabilizator]$ sudo ./ryzen-stabilizator --disable-psicworkaround
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>

Disabling Power Supply Idle Control Workaround:   SUCCESS

Power Supply Idle Control workaround is DISABLED.
C6 C-state is ENABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.
[lzap@box ryzen-stabilizator]$ sudo ./ryzen-stabilizator 
Ryzen Stabilizator Tabajara unspecified/git version
Copyright (C) 2018 Sergio Correia <[email protected]>


Power Supply Idle Control workaround is DISABLED.
C6 C-state is ENABLED.
ASLR is DISABLED.
Processor boosting is DISABLED.

Is this still a thing?

Hey,

is this still needed for Ryzen 1700? I am too scared to stop using this tool :-)

I got the latest BIOS for ASUS B350-PLUS.

Save settings?

Thanks for this solution to a really annoying and disappointing problem with Ryzen freezing on Linux.

My settings don't stick around after a reboot. Any recommendations?

Installation instructions?

I apologize if I missed them, but I don't see any installation instructions for this? I'm a bit familiar with go, but I see the examples use ryzen-stabilizer in them and I'm not quite sure what dependencies to install to get this working.

Could you write up a quick installation procedure? I think it would be very helpful for people not used to programming in Go.

Thanks!

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.