qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu (cvs-version) performance?
@ 2006-03-11  3:34 Sven Köhler
  2006-03-11 22:25 ` Paul Brook
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Köhler @ 2006-03-11  3:34 UTC (permalink / raw)
  To: qemu-devel

Hi,

i'd like to know, what the qemu-project aims at.
Do the authers aim at writing (together with kqemu or qv86) an
alternative to VMWare? (At least in the x86 virtualization case)

I first thought that way and i still hope that, but i was disappointed
by qemu 0.8.0 and the latest version from CVS.

I thought, that qemu-0.8.0's problem would be disk-IO. I installed
Windows 2000 and in the task-manager the CPU-Time is 100% during intense
IO. A "dir c:\ /A /S /B >NUL:" on the console causes 100% CPU-time and
most of it being that red-colored "in-kernel-time".

The DMA-mode is active according to the device-manager, since i upgraded
to qemu CVS (version from an hour ago).

So IO still seems to be very expensive. AFAIK, IDE-DMA or BusMastering
should enable the CPU to do other things while waiting for the Interrupt
that signals the finished transfer. (My knowledge about hardware is not
that good though.) But the virtual CPU is not idle and the host's CPU
isn't either.

Of course i'm using kqemu.


So what might be wrong?
Some hints:
- the disk-image(raw format) is on a reiserfs-filesystem
- the host ist kernel 2.6.15


Please don't understand me wrong.
I appreciate your work.


Greetings
  Sven

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] qemu (cvs-version) performance?
  2006-03-11  3:34 [Qemu-devel] qemu (cvs-version) performance? Sven Köhler
@ 2006-03-11 22:25 ` Paul Brook
  2006-03-11 22:35   ` [Qemu-devel] " Sven Köhler
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2006-03-11 22:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Sven Köhler

> I thought, that qemu-0.8.0's problem would be disk-IO. I installed
> Windows 2000 and in the task-manager the CPU-Time is 100% during intense
> IO. A "dir c:\ /A /S /B >NUL:" on the console causes 100% CPU-time and
> most of it being that red-colored "in-kernel-time".

Qemu host IO is syncrhonous. ie. the guest is paused on the instruction that 
issues the IO until the IO completes. As for as the guest is concerned it 
happens instantly. This is all your test shows.

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: qemu (cvs-version) performance?
  2006-03-11 22:25 ` Paul Brook
@ 2006-03-11 22:35   ` Sven Köhler
  2006-03-11 22:58     ` Sven Köhler
  2006-03-11 23:01     ` Jim C. Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Sven Köhler @ 2006-03-11 22:35 UTC (permalink / raw)
  To: qemu-devel

>> I thought, that qemu-0.8.0's problem would be disk-IO. I installed
>> Windows 2000 and in the task-manager the CPU-Time is 100% during intense
>> IO. A "dir c:\ /A /S /B >NUL:" on the console causes 100% CPU-time and
>> most of it being that red-colored "in-kernel-time".
> 
> Qemu host IO is syncrhonous. ie. the guest is paused on the instruction that 
> issues the IO until the IO completes. As for as the guest is concerned it 
> happens instantly. This is all your test shows.

I have seen thoughts about asynchronous IO for qemu. I thought that they
would have been integrated along with the DMA-patches already.

I would really see how qemu performs with asynch IO enabled. Are there
any patches out there?


Greetings
  Sven

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: qemu (cvs-version) performance?
  2006-03-11 22:35   ` [Qemu-devel] " Sven Köhler
@ 2006-03-11 22:58     ` Sven Köhler
  2006-03-11 23:01     ` Jim C. Brown
  1 sibling, 0 replies; 5+ messages in thread
From: Sven Köhler @ 2006-03-11 22:58 UTC (permalink / raw)
  To: qemu-devel

> I have seen thoughts about asynchronous IO for qemu. I thought that they
> would have been integrated along with the DMA-patches already.

I'm sorry, i read a mail by Fabrice that async block I/O is not merged yet.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: qemu (cvs-version) performance?
  2006-03-11 22:35   ` [Qemu-devel] " Sven Köhler
  2006-03-11 22:58     ` Sven Köhler
@ 2006-03-11 23:01     ` Jim C. Brown
  1 sibling, 0 replies; 5+ messages in thread
From: Jim C. Brown @ 2006-03-11 23:01 UTC (permalink / raw)
  To: qemu-devel

On Sat, Mar 11, 2006 at 11:35:48PM +0100, Sven K?hler wrote:
> I have seen thoughts about asynchronous IO for qemu. I thought that they
> would have been integrated along with the DMA-patches already.
> 
> I would really see how qemu performs with asynch IO enabled. Are there
> any patches out there?
> 

There was one that used threads to do IO asychonrously, but iiuc the final
patches (which will use posix? async io) are still being worked on..

You can find the patches in the mailing list archives.

> 
> Greetings
>   Sven
> 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-11 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-11  3:34 [Qemu-devel] qemu (cvs-version) performance? Sven Köhler
2006-03-11 22:25 ` Paul Brook
2006-03-11 22:35   ` [Qemu-devel] " Sven Köhler
2006-03-11 22:58     ` Sven Köhler
2006-03-11 23:01     ` Jim C. Brown

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).