[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <461B8069.6070007@qumranet.com>
Date: Tue, 10 Apr 2007 15:17:45 +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:
>> This is what Xen does. It is actually less performant than copying, IIRC.
>>
>> The problem with flipping pages around is that physical addresses are
>> cached both in the kvm mmu and in the on-chip tlbs, necessitating
>> expensive page table walks and tlb invalidation IPIs.
>>
>
> Hmm, I'm not familiar with Xen driver, but similar technique was used
> with zero-copy network sniffer some time ago, substituting userspace
> pages with pages containing skb data was about 25-50% faster than
> copying 1500 bytes in general, and in order of 10 times faster in some
> cases.
>
> 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?
--
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