Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-22 Thread Arnd Bergmann
On Tuesday 22 September 2009, Stephen Hemminger wrote: > > My idea for that was to open multiple file descriptors to the same > > macvtap device and let the kernel figure out the right thing to > > do with that. You can do the same with raw packed sockets in case > > of vhost_net, but I wouldn't w

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-22 Thread Stephen Hemminger
On Tue, 22 Sep 2009 13:50:54 +0200 Arnd Bergmann wrote: > On Tuesday 22 September 2009, Michael S. Tsirkin wrote: > > > > More importantly, when virtualizations is used with multi-queue > > > > NIC's the virtio-net NIC is a single CPU bottleneck. The virtio-net > > > > NIC should preserve the par

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-22 Thread Arnd Bergmann
On Tuesday 22 September 2009, Michael S. Tsirkin wrote: > > > More importantly, when virtualizations is used with multi-queue > > > NIC's the virtio-net NIC is a single CPU bottleneck. The virtio-net > > > NIC should preserve the parallelism (lock free) using multiple > > > receive/transmit queues.

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-22 Thread Michael S. Tsirkin
On Mon, Sep 21, 2009 at 09:27:18AM -0700, Chris Wright wrote: > * Stephen Hemminger (shemmin...@vyatta.com) wrote: > > On Mon, 21 Sep 2009 16:37:22 +0930 > > Rusty Russell wrote: > > > > > > > Actually this framework can apply to traditional network adapters > > > > > which have > > > > > just o

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-21 Thread Chris Wright
* Stephen Hemminger (shemmin...@vyatta.com) wrote: > On Mon, 21 Sep 2009 16:37:22 +0930 > Rusty Russell wrote: > > > > > Actually this framework can apply to traditional network adapters which > > > > have > > > > just one tx/rx queue pair. And applications using the same user/kernel > > > > in

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-21 Thread Stephen Hemminger
On Mon, 21 Sep 2009 16:37:22 +0930 Rusty Russell wrote: > > > Actually this framework can apply to traditional network adapters which > > > have > > > just one tx/rx queue pair. And applications using the same user/kernel > > > interface > > > can utilize this framework to send/receive network

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-21 Thread Rusty Russell
On Wed, 2 Sep 2009 01:35:18 am Stephen Hemminger wrote: > On Tue, 1 Sep 2009 14:58:19 +0800 > "Xin, Xiaohui" wrote: > > > [RFC] Virtual Machine Device Queues (VMDq) support on KVM > > > > Network adapter with VMDq technology presents multiple pairs of tx/rx > > queues, > > and ren

RE: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-01 Thread Xin, Xiaohui
: Xin, Xiaohui Cc: m...@redhat.com; net...@vger.kernel.org; virtualizat...@lists.linux-foundation.org; kvm@vger.kernel.org; linux-ker...@vger.kernel.org; mi...@elte.hu; linux...@kvack.org; a...@linux-foundation.org; h...@zytor.com; gregory.hask...@gmail.com Subject: Re: [RFC] Virtual Machine Device Queues(V

Re: [RFC] Virtual Machine Device Queues(VMDq) support on KVM

2009-09-01 Thread Stephen Hemminger
On Tue, 1 Sep 2009 14:58:19 +0800 "Xin, Xiaohui" wrote: > [RFC] Virtual Machine Device Queues (VMDq) support on KVM > > Network adapter with VMDq technology presents multiple pairs of tx/rx queues, > and renders network L2 sorting mechanism based on MAC addresses and VLAN tags > fo