[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Is there data copy between dom0 and domU



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.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.