Power Saving Trick for Mac Pro

by ,

I put this in my crontab:

# save energy by disabling unused CPUs
0 0 * * * /usr/bin/hwprefs cpu_disable 2; /usr/bin/hwprefs cpu_disable 3; /usr/bin/hwprefs cpu_disable 4
30 8 * * * /usr/bin/hwprefs cpu_enable 2; /usr/bin/hwprefs cpu_enable 3; /usr/bin/hwprefs cpu_enable 4

This turns three of my four CPUs off between midnight and 8:30am every day.
Since each CPU burns a fair number of watts, I’m hoping this will save me some power costs.
I looked for a way to set the CPUs to “power conserve” mode or something in the energy/sleep settings, but no luck.


About rae

I'm a long-time Mac and iOS developer. I'm also a big fan of Ruby on Rails and relational databases. I tend to work remotely, in my basement with occasional trips to the office. I'm also a big videophile, both TV and film, and can't wait for a good, inexpensive home 4k solution.

Leave a Reply

Your email address will not be published. Required fields are marked *