Code Monkey home page Code Monkey logo

turbo-boost-switcher's Introduction

Turbo Boost Switcher 2.12.0 (October 29, 2022)

Turbo Boost disabler / enabler app for Mac OS X

You can download the binary v2.12.0 version or get the pro version here . More info about this update on the blog.

Please, find additional info on http://www.rugarciap.com/turbo-boost-switcher-for-os-x/.

Supports 10.6+ up to macOS Ventura (13.x).

Starting on macOS Sierra, due to Translocation feature introduced on that version, just unzip and move the app to other folder before running. Read more here.

Apple now (since macOS High Sierra) forces the user to manually allow kernel extensions to be used so, if you're running for the first time on macOS High Sierra and never granted permissions, you need to manually allow it to be used. More details here.

OSX El Capitan Users: Please read this and this

Features:

Turbo Boost Switcher is a little application for Mac computers that allows to enable and/or disable the Turbo Boost feature.

It installs a precompiled kernel extension (32 or 64 bits depending on your system) that updates the Turbo Boost MSR register, so It will ask for your admin password when using it.

It’s installed on your Mac status bar and allows you to:

  • Visually know if Turbo Boost is enabled or disabled at any time.
  • Enable / Disable Turbo Boost.
  • Auto Disable on launch
  • Restore Turbo Boost on Exit
  • Check your CPU temp, load and fan speed.
  • Customize sensors update time
  • Charts to see how Temp and Fan speed values are affected by Turbo Boost status.
  • Set it to open at login.
  • Translated to English & Spanish. Other languages in beta (Russina, Chinese, German, French, Polish).
  • More features detailed on http://www.rugarciap.com

How to install:

You can download the binary application or the source code to compile it with XCode.

Once downloaded/compiled, just unzip and double click on your “Turbo Boost Switcher.app”. If using macOS Sierra, before running move the decompressed app to other folder or it won't run.

If you see a message saying the app “can’t be opened because it is from an identified developer”, then you need to change your settings to allow not-signed apps to be installed. Go to your System Preferences->Security and Privacy and mark the option “Anyhwere”. Try again, it should work.

Also, and just if you're running on macOS High Sierra for the first time, you'll need to allow the kernel extension to be used the first time you try to disable Turbo Boost. Just go to System Preferences -> Security and Privacy and click "allow" after trying to disable Turbo Boost for first time. You can read more about this here.

Depending on your user configuration, OSX may ask for root password when enabling / disabling Turbo Boost. That's because kernel extensions must be installed as root and the user privileges are stored on a system cache. To avoid this behaviour, you can follow two approaches:

  • Buy the PRO version that installs a daemon and doesn't need to as for root since it uses IPC to communicate with the main app. It also offer another features so you can get cool things in exchange for supporting the app :).
  • Just run the app as root doing something like 'sudo /Applications/Turbo\ Boost\ Switcher.app/Contents/MacOS/Turbo\ Boost\ Switcher'

Motivation:

Turbo Boost is enabled by default on all Macs that support it, but why anyone should want to disable it?

Ok, here are some reasons:

  • CPU Overheat: When Turbo Boost is activated, prepare to experiment high temperatures on your CPU, since it pushes till it reaches almost the Junction Tº, usually 100 ºC. This is controlled by hardware, but if you want your computer to live long, better keep it as low as possible. With Turbo Boost disabled I’ve been able to get up to 20 ºC degrees less!!!, that’s a value worth considering.

  • Parallel Processing: Turbo Boost is enabled when one of the CPU cores reaches 100%, increasing the core Mhz, but It won’t do it if all or your cores are 100%, since that will create a lot of overheat. This will reduce your parallel processing performance so, in some situations, you better disable it. If you are like me, you probably do some high cpu demanding tasks from time to time, like photoshop editing, video transcoding, casual gaming, etc. and your fans go to max speeds while your CPU keeps crazy ranges like 93 – 98 ºC.

I’ve started to look for applications, and the only thing I found was this cool kernel extension https://github.com/nanoant/DisableTurboBoost.kext created by “nanoant”. This is a very simple extension that manipulates the MSR record writing the Turbo Boost flag.

If you don’t want to always be opening your terminal, compile the code, make sure you don’t forget to re-enable it, etc. then Turbo Boost Switcher is for you.

How to know if Turbo Boost is enabled (or not):

To see the differences between having Turbo Boost enabled or not, you can do the following tasks:

  • Install smcFanControl, a cool app that will help you to set your fan speeds to desired values.
  • The simplest one, do some high demanding gaming with Turbo Boost enabled and disabled, checking the CPU temperature values and see the differences.
  • You can also launch some long time high demanding tasks, like the Geekbench benchmarks app. You’ll get a lower value since Turbo Boost will not be triggered. On my Macbook Air I go from 7500 to 4000 points aprox. with Turbo Boost disabled.
  • Check the MSR register for yourself (0x1a0), but that could be tricky and we’re not going to go deeper here.

Thanks to:

Reporting Issues:

Before opening issues, make sure you read the project faqs (https://www.rugarciap.com/faqs/), other issues openend and answered, etc.

A lot (if not all) of usual questions about enabling / disabling Turbo Boost are answered there, like how to allow the kext to run, installing first time, etc. Issues on Github are not ment to offer support to particular questions when installing, they're ment to register reproducible issues on all installations (like a bad translation, a feature request, etc).

The app and kext extensions are compatible will all macOS versions released so far (Intel CPUs with Turbo Boost, of course). The app is tested against all betas before final versions are released, so if any incompatiblity is found in the future will be reported here and on the blog, like when El Capitan was released.

If you still think you found an issue and it's not a support question, please attach all info needed to reproduce (steps you follow, app configuration, screenshots, etc) so I'm able to debug and fix the bug if any.

Thanks.

turbo-boost-switcher's People

Contributors

rugarciap 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  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  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

turbo-boost-switcher's Issues

2016 rMBP w/ TouchBar -- should default to using TouchID

Hey there,

Quick issue I came across,

When Turbo Boost Switcher asks for a password, it's possible to use TouchID to enable (a really nice addition which makes the process super smooth and doesn't force me to type my password at all while logging in). This is possible but the issue is TBS asks me for my password, I have to click cancel once, and then it asks me again using TouchID. Typically if it's not the first time and I'm switching back and forth between on and off modes, it asks for TouchID on all subsequent prompts after that first time entering in the password.

If possible, can we have that first prompt ask for the fingerprint?

Not working on Sierra.

Im trying to disable turbo boost but nothing changed.
Am i miss something or it doesn't work anymore?

SMC 'error' still spamming console

Every three seconds, my console is filled with two smcReadKeyAction error (TCAH & TC0D) from the kernel on OS X 10.9.5. As noted in the other issue, this isn't a problem, but it makes reading anything in the console a pain. Allegedly, this was fixed in v1.1.0, but it persists in v1.2.0 and now that Mavericks is (beyond) mature, is there any update on this?

Fans always spinning

When I'm using Turbo Boost Switcher, after a couple minutes the fans start spinning at min RPM and they won't stop until I reset the SMC. This seems to happen with both turboboost enabled and disabled.

As far as I know having the fans always spinning is not something desirable, and it doesn't make any sense either. So I thought it must be a bug.

MacBook Pro 14,2 (13" mid 2017 with Touchbar)
Turbo Boost Switcher 2.6.1
macOS High Sierra 10.13.2

Does not work on Mojave

Hello, thanks for the App.

However, after clicking disable turbo boost it prompts for the password and then does nothing.

It still shows On.

There is no request to allow kernel extensions as seen below.

screen shot 2018-09-29 at 16 49 26

What can I do to help debugging?

Refresh rate not remembered after quit & relaunch / feature: disable stat logging?

Hi, I'm currently testing Turbo Boost Switcher on my old mid-2010 i7 (Arrandale) MacBook Pro (macOS 10.13.6), and I'll probably go for the Pro version on the new 2018 i9 MBP.

I noticed a little bug, namely that TBS doesn't remember the refresh rate after quit & relaunch. I want to set the rate to 60 seconds, because I already have iStat Menus to deal with system stats. However, TBS always resets to the default 4 seconds. (Preferences getting messed up maybe?)

In this regard, I thought about an additional feature for TBS (free or pro, probably pro), namely the option (simple tick box?) to disable system stat logging completely (CPU load, fan speed, temperature). Possible?

Prompted for password after sleep/wake/unlocking.

Every time my Mac sleeps and is woken up I'm prompted to enter my administrator credentials for Turbo Boost Switcher. Because the Turbo Boost Switcher process is constantly running I would only expect to have to do this when it's initially launched.

I have a MacBook Pro (Retina, 15-inch, Mid 2014) running 10.10.5, although this issue existed on previous versions of Yosemite as well.

Not all translation is working

Hi,
I have found out, that translations of menuCharting and sliderRefreshTimeLabel are not working.

screen shot 2018-08-02 at 10 42 38

And are we able to get the translation for CPU Load, rpm texts?

Thank you.

There is only one problem...

In my MBP in windows 10 using Throttlestop etc., when disabling Turbo this leads to the CPU not having dynamic clocking anymore.

Essentially by disabling Turbo, the base clock becomes the only clock, locks multiplier, and that's it.
its called LOCKED to base frequency.

Enabling Turbo not only increases cpu multiplier and frequency when there is demand, but also and more importantly is the same dynamic ability that drops multiplier frequency, reduces multiplier and has the initial features of "Haswell" onwards for "8h - all day battery" on mobile/laptops for Intel.

What I am saying is its impossible the CPU is cooler at idle or normal by disabling turbo especially in non-demanding (low to medium tasks, Turbo was created exactly for these tasks), its impossible to extract more power than with Turbo ON for any power users (like editing, etc.) since it takes more time to process.

SO
With Turbo:

  • Optimised to perform either when demanded or during idle (any user task).
  • Focus on user experience

In comparison: the computer reacts to user demand specifically, which can be demonstrated by peaks and troughs of productivity from high on high demand tasks to low until 0. The computer pushes the envelope for the system intended use as designed by the manufacturer.

Without Turbo: enough power

  • Constant base clock means a non-optimised locked energy consumption regardless of user task demand
  • Focus on reducing quality of experience, compatibility of hardware and long-term issues associated to preserve longevity when in fact you kill the cpu anyway....

Override in Auto Mode

Hi,

would it be possible to enable Auto Mode and have the ability to manually enable/disable Turbo Boost?
e.g. Auto Mode is set to "Disable on battery, except [apps] are running"; I would love to be able to disable Turbo Mode for a set time or till the next sleep event. This could prevent having random fan noise during meetings.

Yosemite compatible?

After upgrading to Yosemite I'm having an issue.

I have to click a few times to turn it off until it finally becomes "Off", so I'm kinda worried to use it since it messes with the Kernel and might not be prepared to Yosemite.

Thanks

Doesn't Appear To Toggle

I just installed TBS and trying to toggle the TB off never works. I tell the program to turn it off and it sort of pauses for a few seconds and it still indicates that it is on. Am I missing something?

I'm using this on a MacBook Pro Mid 2015.

Failed update to Turbo-Boost-Switcher Pro v2.7.1

Hello. Pro version updating is pain.
App itself can't find updates and gives no error dialogs on menu "check for update" pressed.
I just got email that new version v2.7.1 available, but I can't find download url anywhere.
Even if I login to gumroad website, I can find only 2.7.0 version.
Please do automatic update, or at least send download url to emails when released.

Persistence during standby

Hey,

A few years ago I did a fork of nanoants extension (which I guess you're still using?) and added persistence during sleep. When using the switcher I always get prompted to enter my password after, this should solve that.
Might make sense to merge this into your next release?
Can contribute if you like.

Add option to use less space in the menu

It would be great if it was possible to make the menu bar entry narrower than it is now. For example, maybe instead of spelling out On/Off, it could change the color of the icon?

P.S. I bought the Pro version, so if you make it a paid feature, I'll be perfectly happy.

Can't disable CPU boost 2.3.0

Hello,

I'm not able to switch boost to off since I updated to 2.3.0.

I have a macbook pro 13" 2015 installed with macOs Sierra.

capture d ecran 2016-12-03 a 19 42 02

Turbo does not turn off

On a rMBP Mid 2014 with 10.13 (17A405) disabling turbo boost still allows i7-4980HQ to go beyond 2.80GHz. Any clues?

Turbo boost switches back on automatically

Hi,

This app is very useful for me to turn off the turbo boost feature. But after a period of times, the feature is (mysteriously) automatically turned on without any notification. The icon of the app is still in "Off" status.
I can only figure it out by using the app Intel Power Gadget which shows the current speed of the CPU in real time.

Could you take a look at this bug?

Tweak project discription

Now it says:

Turbo Boost disabler / enable app for Mac OS X

I think it should be disabler / enabler instead

Does not work with 10.12.6

I can't turn off with the binary.
If I checkout the project and launch it, can't load the kext because of signature.

No longer works on 2016 MacBook Pro

I'm guessing something must have changed with the required register on the Skylake CPUs. I click "Disable Turbo Boost" and nothing happens.

Not sure if it's something that's fixable, but it would be sweet if it was! Thanks!

Can't download update from wife's mac book

Hi, I don't remember how did I purchase the second license for my wife, perhaps I purchased both from my own mac. Now, when I am trying to download an update from wife's mac it proposes me to make a purchase, no download link.

Password prompts in pro version?

Does the pro version still prompt for an admin password every time you open the lid of your MacBook, like the free version does?

Working on 10.11?

I have SIP enabled to --without debug mode. (I use it because I had some problems with other tools.)
The tool works (At least the graph on Intel's Power Gadget, shows evident change on the clock.)
The only problem is the tool sometimes confuses and shows as "On" when its really off, but if you open it, it refreshes itself and works.
My macbook now goes up to 2.9 ghz 😄

Always getting sudo window after wakeup

I don't really know why it does this, when I click it away 3 times turboboost still stays off?
Could you recheck the state and if the state did not change don't ask for credentials?

As I can imagine after a few hours your authenticationRef has been expired by the auth server.

Thanks for the tool though! It's great and allows my energy hungry, late 2011, (first 45W TDP model, quad core) to stay silent much more easily. And all while I don't notice the difference one bit.

It even stays around 50 degrees when I'm running a VM!

Mojave?

Seems to be currently broken on Mojave beta at least for me, doing nothing when try to enable.

Sensor read error (since Mavericks?)

Hi,
the console now periodically outputs this error message:

05/11/2013 12:10:10.000 kernel[0]: SMC::smcReadKeyAction ERROR TCAH kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff802c05c000
05/11/2013 12:10:12.000 kernel[0]: SMC::smcReadKeyAction ERROR TC0D kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff802c05c000
05/11/2013 12:10:12.000 kernel[0]: SMC::smcReadKeyAction ERROR TC0D kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff802c05c000
05/11/2013 12:10:12.000 kernel[0]: SMC::smcReadKeyAction ERROR TCAH kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff802c05c000

It's probably not a problem, but it fills up the system log...

Not sure when it started, maybe with Mavericks update? Or has it always been there on my hardware: rMBP 10,1 (15 inch). Sorry, I only discovered it while looking for something else, but thought you might want to know...
Best
.r.

Not working on macOS Mojave

Hey, I've been trying the new macOS beta for a few days and it seems that Turbo Boost Switcher is not working on it.
The app launches, but disabling turbo boost doesn't trigger anything.

[PRO] Turbo Boost state/rules are not preserved after wake up w/o login

When MacBook Pro (10.11.6) goes to sleep (lid is closed for 30 sec or so) the Turbo Boost is turned on right after waking up (automatic logout is disabled).

Free version (2.2.0) updates its status and and asks for a password to toggle defined state.

Meanwhile, Pro version says it is Off when it is actually On.
It is set to correct state once you select Enable/Disable Turbo Boost option.
It is a bit annoying to toggle it manually each time Mac went asleep.

The app is great and it would be nice if daemon is polled and state is set according to app preference after system wakes up (I guess now it is done for login event and controlled by Open at Login setting).

Trying to verify if turbo boost is actually disabled.

Hi,

I've been using TurboBoostSwitch for a month on macos 10.12.4 and now with 10.12.5

Apart from loading extension, how can I verify that Turbo Boost is actually disabled on macos?

With TurboBoostSwicther set to Disable the notebook CPU temperature regularly reached 85% and gets far too hot to use. This is particularly evident when playing Eveonline.com. The notebook is too hot to touch and fan speed is maximum.

Should the CPU reach such high temperatures when Turbo Boost is disabled?

How does the kernel extension disable Turbo Boost? What proof is there of this?

Kind regards.

Error log in Console

When Trubo-Boost-Switcher 1.20 is running, the Console print error log pre second.
Like this:
kernel[0]: SMC::smcReadKeyAction ERROR TCAH kSMCBadArgumentError(0x89) fKeyHashTable=0x0xffffff80da1f5000

Mac OS 10.14 beta

Unable to switch Turbo Boost off, nothing happens.
Using Pro version 2.7.0

Question:About Intel(R) Power Gadget log show some error~

Hi,
I have a question ,when I turn off the turbo boost use the Turbo Boost Switcher,the Intel Power Gadget will show some error about every few seconds,the error is “Error: Invalid time interval. Either 1) the computer was put to sleep or 2) the app was app nap'd.”,I want to know why have this error,It`s ok?
Thank you!
qq20150406-2 2x

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.