From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH V3 0/2] limit xen vnic max queues number to online cpus number Date: Fri, 23 Oct 2015 10:50:13 +0100 Message-ID: <562A02D5.9000505__8136.42702200941$1445593906$gmane$org@citrix.com> References: <562A0108.3070501@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZpYzJ-00040M-81 for xen-devel@lists.xenproject.org; Fri, 23 Oct 2015 09:50:17 +0000 In-Reply-To: <562A0108.3070501@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Joe Jin , wei.liu2@citrix.com, Ian Campbell , Boris Ostrovsky , Konrad Rzeszutek Wilk , "David S. Miller" , Jan Beulich Cc: netdev@vger.kernel.org, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On 23/10/15 10:42, Joe Jin wrote: > Currently xen vnic allowed to create lots of queues by set module param > max_queues(both netback and netfront), when queues number larger than > cpus number, it does not help for performance but need more cpu time. > > This patchset limit netback and netfront max queues number to online > cpus number. > > Joe Jin (2): > xen-netback: limit xen vif max queues number to online cpus > xen-netfront: limit vnic max_queues number to online cpus Please do not exclude the possibility for making crazy numbers of queues. I can appreciate the want to prevent people shooting themselves in the foot, but being able oversubscribe the number of queues is important for performance testing. ~Andrew