[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: QEMU Package faster



Mike McCarty wrote:
> This question is really Really REALLY off topic!
> 
> I administer my girl friend's Debian machine for her, but do
> not run Debian myself. I installed QEMU on my machine (Fedora
> Core) from source, and installed the Debian release on hers.
> She's pretty happy now running some stuff. But I noticed that
> on her machine, QEMU does not eat lots of CPU, while on my
> machine, it eats the machine. I've copied the exact raw image
> disc from her machine to mine, but QEMU eats my CPU.
> 
> I wonder what changes the Debian release team made to QEMU
> to make it run nicer. Does anyone know?

1. QEMU is slow.

2. If you install kqemu, QEMU will run faster. Make sure to "modprobe kqemu
major=0" first. QEMU will use kqemu automatically if it is installed. Run QEMU
from a terminal window and you will get a message if it is unable to find kqemu.

3. If you run QEMU with the "-kernel-kqemu" option it will run even faster.
Unfortunately, due to a bug [1] in the Debian qemu packages, kqemu does not work
with stock Debian qemu packages. In order to use kqemu, you have to either build
your own packages of qemu out of the upstream sources ("not" the Debian
sources), or use the precompiled binaries offered by upstream on qemu.org.
Alternatively, install Daniel Baumann's deb package [2] instead of the official
QEMU package.

I believe that kqemu reduces processor load. This may be the reason for your
different experience.

So... Not off-topic after all. :)

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402289
[2] http://archive.daniel-baumann.ch/debian/packages-other/qemu/

-- 
Chris.



Reply to: