From: "John R. Hogerhuis" <jhoger@pobox.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU_TMPDIR temp folder for KQEMU for Windows.
Date: Mon, 29 Aug 2005 11:53:26 -0700 [thread overview]
Message-ID: <1125341607.28382.28.camel@aragorn> (raw)
In-Reply-To: <20050829180505.84705.qmail@web50512.mail.yahoo.com>
On Mon, 2005-08-29 at 11:05 -0700, Francois Rioux wrote:
> I notice that QEMU is quite slower than VMWare.
It certainly is.
> Apparently due to the way IO occur. What are the strategies to
> enhance that performance?
Curious, why do you think that? There are probably a whole host of
reasons that VmWare is faster, IO devices are only one part of the
picture.
The more interesting place for optimizations is on the dynamic code
generation. VmWare is a virtualizer while QEMU employs a default
strategy of dynamically generating direct (I think) threaded code. So
the way to achieve improved speed is to improve the dynamic code
generator.
KQEMU presumably does this on X86 by inlining more of the original code
with minimal changes (i.e more tokens containing bigger swaths of native
code, and less simple instruction emulation tokens), so performance will
be more like what you could expect from a virtualizer. KQEMU is not open
source though, so if you want to fiddle with that, you probably would
have to do it on qvm86.
As to IO, one thought is to run a Windows X server (such as the free one
that comes with Cygwin) natively on the host rather than under
emulation. Do testing with tuntap networking. User-net networking is
slow, Slirp code could certainly stand some bugfixes and optimizations.
There are different tricks you can do to improve the experience. For
example, avoid booting your virtual images from scratch. Boot to
desktop, and savevm. Then in the future, boot straight off the savevm,
it is much faster that way.
-- John.
next prev parent reply other threads:[~2005-08-29 19:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 16:56 [Qemu-devel] Re: qemu 0.7.1 + dkms-qvm86-0.7.1 (mandriva 2005 / cooker) produces version mismatch Hannes Fuchs
2005-08-29 18:05 ` [Qemu-devel] QEMU_TMPDIR temp folder for KQEMU for Windows Francois Rioux
2005-08-29 18:53 ` John R. Hogerhuis [this message]
2005-08-29 21:59 ` Jim C. Brown
2005-08-30 7:29 ` [Qemu-devel] qemu optimization John R. Hogerhuis
2005-08-30 11:17 ` Paul Brook
2005-08-30 18:05 ` John R. Hogerhuis
2005-08-30 18:30 ` Paul Brook
2005-08-29 22:01 ` [Qemu-devel] QEMU_TMPDIR temp folder for KQEMU for Windows Jim C. Brown
2005-08-30 3:45 ` Francois Rioux
2005-08-30 9:08 ` Filip Navara
2005-08-30 13:42 ` Francois Rioux
2005-08-30 14:02 ` Paul Brook
2005-09-03 13:51 ` ace
2005-09-03 17:35 ` Doctor Bill
2005-09-03 14:48 ` Filip Navara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1125341607.28382.28.camel@aragorn \
--to=jhoger@pobox.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).