From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Jin Subject: [PATCH 0/2] limit xen vnic max queues number to online cpu number Date: Fri, 23 Oct 2015 15:53:58 +0800 Message-ID: <5629E796.5040203__16953.2830281698$1445586965$gmane$org@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZpXAv-00086d-Ep for xen-devel@lists.xenproject.org; Fri, 23 Oct 2015 07:54:09 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: wei.liu2@citrix.com, Ian Campbell , Boris Ostrovsky , Konrad Rzeszutek Wilk , "David S. Miller" Cc: netdev@vger.kernel.org, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Currently xen vnic allowed to create lots of queues by set module param max_queues(both netback and netfront), when queues number larger than cpu 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-front: limit vnic max_queues number to online cpus drivers/net/xen-netback/netback.c | 28 ++++++++++++++++++++++------ drivers/net/xen-netfront.c | 27 +++++++++++++++++++++------ 2 files changed, 43 insertions(+), 12 deletions(-)