From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>, xu cong <congxumail@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Is there data copy between dom0 and domU
Date: Wed, 23 Apr 2014 18:22:19 +0200 [thread overview]
Message-ID: <5357E8BB.60602@citrix.com> (raw)
In-Reply-To: <20140423161427.GG7712@zion.uk.xensource.com>
On 23/04/14 18:14, Wei Liu wrote:
> On Wed, Apr 23, 2014 at 12:06:51PM -0400, xu cong wrote:
>> When applications running in domU receive/send data from/to network, is
>> there data copy via shared memory between dom0 and domU? Or the zero copy
>> is used. How about the disk I/O operations? Thanks.
>
> If you're using latest kernel (3.14-ish), guest TX path is zero-copy,
> otherwise it's using copy. For RX path it always copies.
>
> I think disk always copies data. But I'm not sure.
For disks, up to Linux 3.8 data is never copied and starting from 3.8
data can be copied (in the frontend) if both DomU and Dom0 are running
Linux kernel >= 3.8.
Roger.
next prev parent reply other threads:[~2014-04-23 16:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 16:06 Is there data copy between dom0 and domU xu cong
2014-04-23 16:14 ` Wei Liu
2014-04-23 16:22 ` Roger Pau Monné [this message]
2014-04-23 19:40 ` xu cong
2014-04-24 16:52 ` Wei Liu
2014-04-24 19:19 ` xu cong
2014-04-25 8:25 ` Ian Campbell
2014-04-23 16:46 ` xu cong
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=5357E8BB.60602@citrix.com \
--to=roger.pau@citrix.com \
--cc=congxumail@gmail.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.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 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.