
You should now see the contents of the Xcode app., as shown below.

But since you're interested in CPU limits, I assume you're a developer.įirst up, after installing Xcode, locate it in Finder, right-click and select "Show Package Contents". The best solution for OS X Lion (and forward) However, this solution requires rebooting AND limits the system until you set the limit back to normal. For more info, take a look at this artice for instance. Using nvram you can force the CPU cores to be unavailable to the kernel. This is one of the solutions I've seen most times online, and it does work. It should be possible to limit the amount of CPU's in OS X's kernel So, if you're using an older Mac running something before OS X Lion, this is a viable solution. However, I've had no luck getting this up and running in Mountain Lion, either due to the OS, or due to the fact that my processor may not be supported.Īlso, from Apple's Developer pages, it seems CHUD hasn't been developed for 3+ years. It was part of the CHUD (Computer Hardware Understanding Developer) tools included in Xcode. The Processors preference pane existed, and was used until a couple of years ago. I've seen a "Processors" preference pane, allowing for deselecting processors on-the-flyĪlso, no luck. This was my first attempt at a solution, to no avail.

#LIMIT PROCESSOR FOR APP MAC FOR MAC#
The taskset command is not available for Mac OS. Surely this would be the case in Mac OS ?

A few ways around this issue (That really don't cut it)įirst up, when this problem arose, there were a few solutions that came to mind: In Linux, taskset allows you to set cpu affinity to a single processor for a given process. So, I needed a way to down-throttle my Mac, when running this software. However, the development licenses covers only 2 CPU's (or, in this case, a CPU with 2 cores), causing an issue with running the software on my Mac, as it's a 4-core i7. Recently, we acquired a piece of software, which will be used to improve performance of our internal business processes.
