10.5: Set CPU usage limit per Parallels virtual machine
Apr 08, '09 07:30:02AM
Contributed by: john_g
I wrote a small free application called CpuLimiter which allows you to limit the CPU usage for a selected virtual machine running in Parallels Desktop or Parallels Server. The download file contains two programs:
- cpu-limit which may be used in Terminal as a standalone app to limit any process, not just Parallels' virtual machines.
- GUI, which wraps the cpu-limit in a traditional GUI application, and is suitable for most Mac OS users.
Installation is very simple -- just double-click the CpuLimiter-0.1.zip file, and drag the application to the Applications folder, or any other desired location. To start the program, just double-click it then select a running virtual machine from list and set the CPU limit in percentage. That is, to limit a VM's CPU usage to 20%, you'd enter 20. You can start as many instances of applications as you want to handle more than one virtual machine.
Please note that at least one VM should be running, so that the application can detect it. This works in Leopard with either Parallels Desktop 4 (build 3522 or higher) and Parallels Server 3 (build 2251 or higher). This is beta version 0.1, and I welcome any bug reports.
[robg adds: I haven't tested this one, beyond downloading the zip file and confirming its contents.]
Comments (9)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20090405103337218