From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752270AbdA3Ff5 (ORCPT ); Mon, 30 Jan 2017 00:35:57 -0500 Received: from aserp1050.oracle.com ([141.146.126.70]:48560 "EHLO aserp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751922AbdA3Ffh (ORCPT ); Mon, 30 Jan 2017 00:35:37 -0500 Subject: Re: [PATCH 0/2] xen/net: limit number of tx/rx queues To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, netdev@vger.kernel.org References: <20170110133252.5346-1-jgross@suse.com> Cc: wei.liu2@citrix.com, paul.durrant@citrix.com From: Boris Ostrovsky Message-ID: <7b27cfa9-fbda-1c05-c6f5-1519e3fce5ef@oracle.com> Date: Sun, 29 Jan 2017 21:55:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170110133252.5346-1-jgross@suse.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserp1040.oracle.com [141.146.126.69] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/10/2017 08:32 AM, Juergen Gross wrote: > The Xen network frontend/backend supports multiple tx/rx queues for one > virtual interface. The number of queues supported by the backend is > set to the number of cpus of the backend driver domain (usually dom0) > and the number of queues requested by the frontend is limited by the > number of vcpus of the related guest. > > On large systems this can lead to ridiculous large number of queues > exhausting the required number of grant pages rather quick. > > To avoid this limit the default maximum on both sides to 8. Both > frontend and backend maximum can be individually tuned via module > parameters. > > Juergen Gross (2): > xen/netfront: set default upper limit of tx/rx queues to 8 > xen/netback: set default upper limit of tx/rx queues to 8 > > drivers/net/xen-netback/netback.c | 6 ++++-- > drivers/net/xen-netfront.c | 6 ++++-- > 2 files changed, 8 insertions(+), 4 deletions(-) > Applied to for-linus-4.11 -boris