Skip to main content

Easy way to throttle CPU Turbo on Windows

When you have a machine like I do that has a CPU capable of Turbo or other overclocking, then one may want to only “activate it” when really needed. This way one can avoid unnecessary fan spinups and heat.
My default CPU clock is at 2.8Ghz and capable to boost up to 3.6Ghz. To avoid always going back to the BIOS and turn the Turbo feature on and off, I have found an easier way to throttle down frequency within the Control Panel’s Power options menu.

On this video I show you an easy way to create a custom power scheme and set the CPU throttle values:

As shown on the video you can realise it’s only to change the CPU speed from 100% (with Turbo) to 99% to throttle it to the default frequency. It’s just that 1%, really! :)

To further modify/delete power schemes you really have to go to the command line.

To delete a scheme:

First let’s list all of the schemes to get their UUID:

powercfg /l

results in the list:

Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
Power Scheme GUID: dc512798-8638-4c98-9432-5e0e744ab01b (Game) *

Let’s delete Power Saver (you can’t delete the current one, marked with *):

powercfg /d a1841308-3541-4fab-bc81-f71556f20b4a

Changing power schemes with a click of the mouse

You can also create a few shortcuts to change between power schemes with just a line like this as the command:

cmd /c "powercfg /s dc512798-8638-4c98-9432-5e0e744ab01b"

This is useful when you use more than 2 schemes, because the taskbar icon only let’s you change between the most recent 2 of them.

Written with StackEdit.

Popular posts from this blog

Shrink Vmware Workstation Ubuntu guest's VMDK file size physically on Windows host

I will be short on the topic as you too only seeking the resolution to the problem in the title. This tutorial is based on using Vmware Workstation 11 on Windows 8.1 host using an Ubuntu 14.04 guest. Note : you have to have the vmware tools, client additions installed on the quest machine! First go to the Vmware client's terminal when you are ready to shrink it down and type: sudo vmware-toolbox-cmd disk list This will give you the mount points that can be shrinked individually. For me I will only go with shrinking the main disk with "/" (root). First lets wipe the free space clean so the shrinker will know what is free to get rid of: sudo vmware-toolbox-cmd disk wipe / To shrink: sudo vmware-toolbox-cmd disk shrink / That's it, after the process in my case I've had a 4.4G file shrinked down to 1.7G, which is much closer to what the client OS saw (1.5G).

Login to Ubuntu with Yubikey

DISCLAIMER: I am by no means responsible for anyone using this tutorial to lock herself out of their system, nor for any damage, data loss, etc. You get the idea, use this at your own risk. With that out of the way, let's get to the fun part. This tutorial will outline the steps I used in my current Xubuntu (Ubuntu with Xfce) 16.04 to enable my Yubikey as a hardware key as a requirement to log in. I am using the default eCryptFS encryption method to encrypt a private folder (not my home folder) which also keeps unlocking when my user logs in. This process worked on my Arch desktop too, which I took from this genius post: https://blog.jamesthebard.net/archlinux-and-u2f-login/ Big thanks and credit to him! This tutorial will be mostly copy-paste, though I wish to do it with the Ubuntu specifics. The login manager I am using is LightDM , I also removed the screensaver that comes with Xubuntu out of the box. On Arch I was able to use GDM with success....

Directory tree in Bash

I was recently searching for a bash script that could be used to create the skeleton of a yaml file containing directory structure. The best material I found is here: http://systembash.com/content/one-line-linux-command-to-print-out-directory-tree-listing/ With the modification of this line: find ./ -type d | sed -e 's/[^-][^\/]*\//--/g;s/--/ |-/' I managed to produce the best skeleton: find ./ | sed -e 's/[^\/]*\// /g' Since I still have to shape this file up with more data I am not bothering with finding a method to put the ':' at the end of each directory as I can do it myself with little effort. I use Vim's visual mode to get rid of the extra leading spaces at each line.