Evgeniy Polyakov wrote:
On Tue, Apr 10, 2007 at 03:17:45PM +0300, Avi Kivity ([EMAIL PROTECTED]) wrote:
Check a link please in case we are talking about different ideas:
http://marc.info/?l=linux-netdev&m=112262743505711&w=2

I don't really understand what you're testing there. in particular, how can the copying time change so dramatically depending on whether you've just rebooted or not?
I tested page remapping time - i.e. time to replace a page in two
different mappings - the same should be performed in host and guest
kernels if such design is going to be used for communication.

I can only explain after-reboot slow copy with empty caches - arbitrary
kernel pages were copied into buffer (not the same data as in posted
code).

Doing this in kvm would be significantly more complex, as we'd need to use full reverse mapping to locate all guest mappings (we already reverse map writable pages for other reasons), so the 25-50% difference might be nullified or even turn into overhead.

Here are the Xen numbers for reference. Xen probably has more overhead than kvm for such things, though, as it needs to do hypercalls from dom0 which is in-kernel for kvm.

http://lists.xensource.com/archives/html/xen-devel/2007-03/msg01218.html

--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to