From: Herbert Xu Subject: Re: copyless virtio net thoughts? Date: Wed, 18 Feb 2009 20:17:07 +0800 Message-ID: <20090218121707.GA29095@gondor.apana.org.au> References: <20090205020732.GA27684@sequoia.sous-sol.org> <200902182208.00843.rusty@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Wright , Arnd Bergmann , kvm@vger.kernel.org To: Rusty Russell Return-path: Received: from rhun.apana.org.au ([64.62.148.172]:47983 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751287AbZBRMRf (ORCPT ); Wed, 18 Feb 2009 07:17:35 -0500 Content-Disposition: inline In-Reply-To: <200902182208.00843.rusty@rustcorp.com.au> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Feb 18, 2009 at 10:08:00PM +1030, Rusty Russell wrote: > > 4) Multiple queues > This is Herbert's. Should be fairly simple to add; it was in the back of my mind when we started. Not sure whether the queues should be static or dynamic (imagine direct interguest networking, one queue pair for each other guest), and how xmit queues would be selected by the guest (anything anywhere, or dst mac?). The primary purpose of multiple queues is to maximise CPU utilisation, so the number of queues is simply dependent on the number of CPUs allotted to the guest. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt