Code Monkey home page Code Monkey logo

Comments (1)

JamesTheAwesomeDude avatar JamesTheAwesomeDude commented on July 21, 2024

The i7z_rw_registers tool correctly determines the architecture, however:

$ sudo ruby i7z_rw_registers.rb


This script is totally experimental 
use it in superuser mode to get access to r/w access 
also i need msr-tools installed so that rdmsr and wrmsr can work in sudo
write quit or ctrl+C to exit

Now for the blurb on why you might find this script useful:
Throttling cpu on battery is one place, some machines including W520
have a wierd bios which switches off turbo when machine is booted in
battery or some bios implement throttling even when the power is within limit
and this tool should allow you to manually set the multiplier
Whenever you run a command it will print out what goes in the background
like what registers were read/written etc, this should allow one to even
write different scripts to automatically run specifics multiplier in battery
power and other modes.
msr-tools are needed. Furthermore "modprobe msr" on command line needs to be executed
Do you need help? 
Possible commands are 
help : which will print this list again 
turbo : which examines the turbo status 
multiplier : examines the multipliers 
power : which prints current wattage of the system
clock : allows for software clock modulation ( a form of throttling )
system : allows to print some system info
quit : which will quit the program or just do ctrl + c
>> system
number of cores 4
trying to distinguish between nehalem/sandy bridge via AVX support... Nehalem
>> quit
exiting, thanks for using
$ 

from i7z.

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.