From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 427B4695D; Thu, 7 Mar 2019 19:23:10 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1A674376B; Thu, 7 Mar 2019 13:23:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 07 Mar 2019 13:23:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=F/waADHR2GR4Xv9AcpXMUU/kqtKfhVa/owP4KvX2GN4=; b=AWmLwm74q0KP E9TqP79X0m7l5FEqr4b9CXlPCM2SKvULm1gPHL6WfsMO3qxr6oGLHAFj7jceOJrx LQy2gbm78A72K+fezRpA89Yu1kowPRc3E9eDf0DpazvTnmSlHSc3yGBOeysdmzCq hsKkbqtBIsQ4e/dpwCjpTmXeQhj3O5s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=F/waADHR2GR4Xv9AcpXMUU/kqtKfhVa/owP4KvX2G N4=; b=hF1E06amQfwEM4AvWM76VqiyRZ16iCrx14hUChwhHL1RdWLcjzWj75P7t PQNpywvANVUtR23m5s0+glniy3MJt5rXFeORI0zZtg23WrJoM4azYMOeH2+ANKBm qJgSuOgViWBZIIaLnor1N3vxi+J+gKBzUcZNyGE3iqRkz2XZNtTKtXuzHqKtw9NT memd6EXyP65DEDdZk7+UzKoRaPharbvZspFxJnLIsUUGtdl2/rMXF0EXGCifsxPr J93yWHGDBf2m9LKxkS60aFXCvG6dPIsOJGAGetLo4ePFtHrzGjbikNbifVroxy+u 6mGrGBs6eST9I68zEpfwMqvxF284A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrfeekgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EC05DE4581; Thu, 7 Mar 2019 13:23:05 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, Olivier Matz , "Burakov, Anatoly" , ktraynor@redhat.com, stable@dpdk.org Date: Thu, 07 Mar 2019 19:23:02 +0100 Message-ID: <2037140.URYxlzVuUZ@xps> In-Reply-To: <20190225083359.uzvwejkej3elyqdh@platinum> References: <1550151042-9764-1-git-send-email-david.marchand@redhat.com> <20190225083359.uzvwejkej3elyqdh@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3 2/2] eal: restrict ctrl threads to startup cpu affinity X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2019 18:23:10 -0000 25/02/2019 09:33, Olivier Matz: > On Wed, Feb 20, 2019 at 04:01:33PM +0000, Burakov, Anatoly wrote: > > On 19-Feb-19 8:41 PM, David Marchand wrote: > > > Spawning the ctrl threads on anything that is not part of the eal > > > coremask is not that polite to the rest of the system, especially > > > when you took good care to pin your processes on cpu resources with > > > tools like taskset (linux) / cpuset (freebsd). > > > > > > Rather than introduce yet another eal options to control on which cpu > > > those ctrl threads are created, let's take the startup cpu affinity > > > as a reference and remove the eal coremask from it. > > > If no cpu is left, then we default to the master core. > > > > > > The cpuset is computed once at init before the original cpu affinity > > > is lost. > > > [...] > > > > > > Fixes: d651ee4919cd ("eal: set affinity for control threads") > > > Cc: stable@dpdk.org > > > Signed-off-by: David Marchand > > > --- > > > > Reviewed-by: Anatoly Burakov > > Reviewed-by: Olivier Matz Replaced cpu by uppercase CPU, and applied, thanks