* [Qemu-devel] [patch] Concurrent IO Support
@ 2005-09-30 7:53 John Coiner
0 siblings, 0 replies; only message in thread
From: John Coiner @ 2005-09-30 7:53 UTC (permalink / raw)
To: qemu-devel
Folks,
Here's a patch which allows guest CPU cycles to run concurrent with IO
syscalls:
http://people.brandeis.edu/~jcoiner/qemu_idedma/qemu_dma_patch.html
It's actually two patches -- a patch which enables DMA support (the same
one posted here a few days ago) and a second patch which applies on top
of the first. The second patch is the big one, because there was a
little bit of refactoring and a few chunks of new code needed to get
concurrent IO going.
If you try this, please let me know what your experience is. This patch
makes the IDE code a little more gnarly, so it's only worth applying if
people notice the speed-up.
Under both CPU load and IO load, the patch improves the performance of
each, at least on my system. I haven't seen it make anything slower yet.
Troy and Henrik: thanks for suggesting AIO. That is probably the way to
go. This patch uses pthreads, because I was more comfortable with them.
The Linux Posix AIO stuff looked a little young. In the future, though,
it should be pretty easy to convert this implementation to AIO.
Regards,
--John
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-30 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 7:53 [Qemu-devel] [patch] Concurrent IO Support John Coiner
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).