Main menu:

Site search

Freedom

Creative Commons License

Sponsorship

Categories

Archive

Meta

And assorted junk

Making Parallels less of a CPU Hog when Idle.

Clever Dave likes Parallels for development, but doesn’t like that it is a cpu hog. An idle vm swallowed up 40-50% of cpu on his new Macbook.

He had the idea that reducing the speed of the kernel clock to 100MHz might make the idle vm less resource hungry, so we tested it out. Changing the clock speed did indeed reduce cpu usage from 40-50 to 10%. If you use debian in your Parallels VM and want the same kernel that has given him success, then you can download a Debian Kernel Package with this change in it from here. It’s the standard debian options, with the clock speed altered, and the version bumped to the latest on kernel.org.

[linux-image-2.6.22.3_slowclock.100_i386.deb] Just download and dpkg -i in your VM.

3 Responses to “Making Parallels less of a CPU Hog when Idle.”

  1. Comment from davecardwell:

    Thanks again, Andy. To shave off another couple of % I turned off some default devices I wasn’t using, like USB, and floppy and CD drives.

  2. Comment from crispy:

    I remember seeing something somewhere (possibly LWN) about dynamic tick support going into the kernel recently.. perhaps that might be worth a look? I’ve not played with it myself yet though, mind.

  3. Comment from andy:

    I shall have a look around. If this relies on the same time sources as the tickless kernel, then it is unlikely to work yet :

    http://forum.parallels.com/thread14710.html

Write a comment

You must be logged in to post a comment.

Related articles