7

I was able to install and dual boot Windows 7 and Ubuntu 13.04 (both x64) just a while ago. As a newbie in Ubuntu, I'm still searching for ways to install my games because I'm planning to make Ubuntu my main OS because it's like really cool and smooth and uses less resources.

So, I was wondering if there are softwares that are similar to ThrottleStop. I need it because my Laptop throttles upon reaching 75C (processor). I play heavy games so, I need to stop it from throttling. Of course I'm not trying to kill my laptop. I adjust my multiplier so that it wont reach as much as 95C. Nothing much I can do. I'm just making the most out of my Laptop since I can't buy a new one yet. I don't have a job :| I'm still just a student.

Anyways, Is there any software similar to ThrottleStop so that I can adjust the multiplier and disable throttling.

10

ThrottleStop writes data to the multiplier request register. This is MSR 0x199. You should be able to write a simple batch file that writes the same data to this register when you are using Linux.

You can use the MSR Tool to see what values ThrottleStop is writing to this register.

http://www.mediafire.com/download/myjkxzkzzmd/MSR.zip

It lets you read and write data to various CPU registers in Windows. Doing the same thing should be doable in Linux. Setting a multiplier in MSR 0x199 that is less than the default maximum should allow you to slow your CPU down which will reduce how much heat it puts out. That's all the ThrottleStop - Set Multiplier feature does. Clock modulation is hiding in MSR 0x19A. Using that register is useful on the 2nd and 3rd Gen Core i CPUs when your goal is to limit heat output.

| improve this answer | |
  • Oh, hey. I'm quite surprised when I saw your userID. You're the one who made ThrottleStop :D Didn't know you're into Ubuntu because I was searching for ThrottleStop for Ubuntu and there were none. Anyways, I still haven't tried that file you gave. Will try it out in a while. Had some problems with my Windows, so can't do it right now. Reformatted my drives :| Now, for my question. Can that file that you just sent be able to prevent CPU Throttling. Like, how it works when BDPROCHOT is unchecked? Because that's what I really need. – Dizeke Aug 26 '13 at 11:00
5

MSR 0x1FC - bit[0] is where BD PROCHOT is hiding.

You would need to write some simple code to read this register, clear only that one bit and then write the results back to the same 0x1FC register.

Here is some C/C++ code that ThrottleStop uses to turn off BD PROCHOT

DWORD dwEAX, dwEDX;

Readmsr( 0x1FC, &dwEAX, &dwEDX );

// save all of the original bits in that register and only clear bit[0]

dwEAX = dwEAX & 0xFFFFFFFE;  

Writemsr( 0x1FC, dwEAX, dwEDX );

I don't ever use Linux but I know writing some simple code like this should not be too difficult. To turn BD PROCHOT back on you would just replace the middle line in that code with:

dwEAX = dwEAX | 0x1;
  • where that | line means "OR"

Send me an email if you need some more help. The address is in the About... box of ThrottleStop or RealTemp.

Edit: The WinRing0 software I am using has dwEAX and dwEDX reversed in that routine. dwEDX refers to the high 32 bits in that MSR and dwEAX contains the lower 32 bits.

| improve this answer | |
  • 1
    Did you really mean to post another one as you already posted another? On its own it doesn't really look like an answer to me. I know what MSRs are for the Intel processor, but I don't think most readers here will. Could you rewrite your answer so that it contains practical steps for users to answer the question? – gertvdijk Aug 26 '13 at 18:32
  • 1
    You can do stuff like this using: msr-tools However, you need to load the msr module first: sudo modprobe msr The tools are rdmsr and wrmsr – mchid Jan 9 '18 at 11:07
  • 1
    @unclewebb, maybe you can make an utility for Ubuntu? – Alexander Kim Oct 10 '18 at 4:20
1

I found this utility (https://github.com/georgewhewell/undervolt) to be a very useful means of undervolting my i7-7700HQ in ubuntu. You need Python and Python-PIP but it's otherwise pretty straightforward.

| improve this answer | |
1

I came across the same problem and I found a solution which works for me.
You'll have to download cpufrequtils.
Run every command in Terminal: Note: The '-c' argument is for core number. If your CPU has four cores, run the given command for 0 through 3 and if your CPU has eight cores, then run the command for 0 through 7.

sudo cpufreq-set -c 0 -g performance
sudo cpufreq-set -c 1 -g performance
sudo cpufreq-set -c 2 -g performance
sudo cpufreq-set -c 3 -g performance
sudo cpufreq-set -c XX -g performance
sudo modprobe msr
sudo rdmsr 0x1FC

The XX here is the number of your core. After this step you'll get an output which you need to note down and then use in the next command.

sudo wrmsr 0x1FC XXXXX

Here, XXXXX is the output from the previous command execution.
Finally, to check if it has worked, run:

cpufreq-info
| improve this answer | |
1

There is now a new cmdline utility for linux with some features in it. It is available here:

https://github.com/agoose77/throttlestop

It still does not have everything and is pretty basic overall when compared to windows throttlestop. A slow progress, but still is going to be helpful for improving the support gradually. (as of may 2019 - we are not there yet!)

| improve this answer | |
0

Resolve problem cpu lock in ubuntu

$ sudo apt-get install cpufrequtils
$ sudo apt-get install msr-tools

$ sudo cpufreq-set -c 0 -g performance
$ sudo cpufreq-set -c 1 -g performance
$ sudo cpufreq-set -c 2 -g performance
$ sudo cpufreq-set -c 3 -g performance
$ sudo modprobe msr
$ sudo wrmsr 0x1FC 17422

Resolve problem cpu lock in Windows

Just download throttlestop and Disable BD PROCHOT and Turbo

Specs:
Model # ASUS Vivobook s551ln
CPU Intel i7-4710U @2.6Ghz
Ram: 6 gig DDR3
Hard drive: SSHD 1tb
GPU: Intel hd 440 + NVIDIA GeForce 840M
OS: Dual boot of Windows 10 home Ver 1809 KB4497934 and Lubuntu 19.10

| improve this answer | |
  • Can you please explain, that the commands are doing? specially the sudo wrmsr 0x1FC 17422! – Simon Sudler Apr 21 at 19:54
  • they ask the cpu to work as normally as possible, probably our problem came once the components that detect the heat have stopped working, which indicates an error to the cpu, then it limits it, with these commands we say it does don't worry, work as normally as possible. sorry for the delay. – Rashid Ladjouzi May 4 at 16:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.