All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: "Dong, Eddie" <eddie.dong@intel.com>
Cc: xen-devel@lists.xensource.com, "Yang, Xiaowei" <xiaowei.yang@intel.com>
Subject: Re: [PATCH][VT] Multithread IDE device model ( was: RE: [Xen-devel] [PATCH]Make IDE dma tranfer run in another thread inqemu)
Date: Wed, 26 Oct 2005 17:05:31 -0500	[thread overview]
Message-ID: <435FFDAB.4000802@us.ibm.com> (raw)
In-Reply-To: <37FBBA5F3A361C41AB7CE44558C3448E05884898@pdsmsx403>

Dong, Eddie wrote:

>Hi Anthony:
>	I think you made misunderstanding to this patch. Current Qemu in
>Xen is already DMA enabled. If I remembered correctly, it happens since
>we change DM from Bochs to Qemu.
>	Without this patch, guest IO operation that trigger DMA (like
>port 0xc000 write) will wait in Qemu till the DMA operation is
>completed, that is original single thread IDE device model mean. 
>	With this patch, a seperate thread will service the dma
>operation started by IO operation, and interrupt target processor when
>it is completed, while the main thread can rapidly return to guest (like
>0xc000 write).
>  
>
Yup, the site I linked to has two patches: a DMA patch and a concurrent 
IO patch.

Here's a direct link: 
http://people.brandeis.edu/~jcoiner/qemu_idedma/qemu_concurrent_io.patch

It's using the same basic approach as your patch (another thread waits 
for completion of IO event).  I'm pointing it out though in case there's 
a desire to stay closer to QEMU upstream when possible.  Might enable 
more code sharing in the future.

Regards,

Anthony Liguori

>Thanks,eddie
>
>Anthony Liguori wrote:
>  
>
>>Hi Eddie,
>>
>>There was a patch floating around on qemu-devel recently to make IDE
>>DMA concurrent.  Fabrice is planning to include it in QEMU as long as
>>there are no regressions.  It may already be in CVS.
>>
>>See
>>http://people.brandeis.edu/~jcoiner/qemu_idedma/qemu_dma_patch.html 
>>
>>The reported performance improvement IO is up to 20% so it's
>>definitely worth applying...
>>
>>Regards,
>>
>>Anthony Liguori
>>
>>    
>>
>
>  
>

  reply	other threads:[~2005-10-26 22:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 15:25 [PATCH][VT] Multithread IDE device model ( was: RE: [Xen-devel] [PATCH]Make IDE dma tranfer run in another thread inqemu) Dong, Eddie
2005-10-26 22:05 ` Anthony Liguori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-27 20:22 [PATCH][VT] Multithread IDE device model ( was: " Nakajima, Jun
2005-10-27 14:18 [PATCH][VT] Multithread IDE device model ( was: RE: [Xen-devel] " Dong, Eddie
2005-10-27 16:40 ` Keir Fraser
2005-10-26 14:31 Dong, Eddie
2005-10-26 15:13 ` Anthony Liguori

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=435FFDAB.4000802@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=eddie.dong@intel.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xiaowei.yang@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.