[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <461B87C7.4010809@qumranet.com>
Date: Tue, 10 Apr 2007 15:49:11 +0300
From: Avi Kivity <avi@...ranet.com>
To: Evgeniy Polyakov <johnpol@....mipt.ru>
CC: Rusty Russell <rusty@...tcorp.com.au>, Ingo Molnar <mingo@...e.hu>,
kvm-devel@...ts.sourceforge.net, netdev <netdev@...r.kernel.org>
Subject: Re: [kvm-devel] QEMU PIC indirection patch for in-kernel APIC work
Evgeniy Polyakov wrote:
> On Tue, Apr 10, 2007 at 03:17:45PM +0300, Avi Kivity (avi@...ranet.com) 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists