qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Multi process. using threads in qemu


From: Alexandre Muller
Subject: [Qemu-devel] Multi process. using threads in qemu
Date: Fri, 26 Mar 2010 21:26:52 -0300

Hi Qemu developers, I use the Qemu emulator for years, and recently I experienced things that made me think. Specially in how to speed up the emulator (for example if I have a 32 bit x86 with 2 ou more processors emulating 64 bit processor).

First I noticed that even my virtual machine was very slow, my others applications were fine. Making top I saw that qemu consumes 100% of CPU, but I have 2 processors. Using a multithread app, is consumes 200%. So I think there is a way to double speed of emulation with some hack. I looked a little at qemu source code and I really have no Idea about the high level functionality of it. I think if I could find a main loop of "instructions execution" I can call thread for each processor and makes the control properly.

Lets go to questions that I have to do:
1 - The is a known discussion about it?
2 - There is a patch or a dirty and quick way to do it? (I not worried about safety)

Thanks for attention
Alexandre

reply via email to

[Prev in Thread] Current Thread [Next in Thread]