From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163818AbdAJNyf (ORCPT ); Tue, 10 Jan 2017 08:54:35 -0500 Received: from smtp.citrix.com ([66.165.176.89]:14404 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbdAJNyc (ORCPT ); Tue, 10 Jan 2017 08:54:32 -0500 X-IronPort-AV: E=Sophos;i="5.33,344,1477958400"; d="scan'208";a="398926522" Date: Tue, 10 Jan 2017 13:54:22 +0000 From: Wei Liu To: Juergen Gross CC: , , , , , Subject: Re: [PATCH 0/2] xen/net: limit number of tx/rx queues Message-ID: <20170110135422.GL1100@citrix.com> References: <20170110133252.5346-1-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170110133252.5346-1-jgross@suse.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 10, 2017 at 02:32:50PM +0100, 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 > Acked-by: Wei Liu