How to slow down clock speed of processor

Solution 1:

I do not think it is possible to manipulate the minimum clock speed bar, simply because of the direct relation between power, frequency and the clock speed of a micro processor. Obviously the clock has a range, so for example for running simulations the system takes more power to run faster under the range, and then when you stop simulating you see the drop.

A Solution: Alternatively did you consider, running the programs within MAC OS but on an virtualizer (e.g., virtual box)? You can then limit the number of cores/RAM dedicating to running the second OS. In that case, the programs can forced to be run much slower; because the virtualizer has much lower resource. This will give you much more flexibility and in case of a failure, you can go back and change the virtualizer settings. More interestingly, you can bring the packaged settings that run on the virtualizer to another machine and run it there as well, by having the virtualizer there of course.

Solution 2:

If your concern is how efficient your software is, let me suggest a more engineering-oriented solution that will let you keep your MacBook running at full speed:

Use the profiler built into Mathematica. This will let you identify the parts of your computations that consume the most time without having to resort to seat-of-the-pants measurements that only work on slow hardware.

Solution 3:

Profiling, as suggested in Blrfl's answer, is the more appropriate way to identify whether or not your Mathematica code is efficient. However if you really want to slow down its execution, you may be able to do this by changing the priority of the Mathematica process. I haven't tried this but you may find helpful information or software among these links:

Is there any way to set the priority of a process in Mac OS X?

How to permanently “renice” a process on Mac OS X (or iOS, etc)?

Appriority (formerly Renicer) by Northern Softworks

Some of those discussions are a bit old though, so you may need to experiment or search further to find what works on your Mac and OS X version. Also you may find the technique works more effectively if you set your Mac some other heavy processing task to run at the same time - converting a big video file, say.

Solution 4:

Unfortunately, no. You can't alter the clock speed on Macintosh computers. They don't have a BIOS in the same way that Windows motherboards do, so there's no way the user can change the clock speed or fiddle with I/O stuff.

The reason for this is mostly because on a Mac, you don't need to manually change these things. The hardware is already pre-built and the OS knows what hardware it will/can be attached to.