From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E934A0093; Tue, 10 May 2022 17:50:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F22A4410EE; Tue, 10 May 2022 17:50:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 4C173406B4 for ; Tue, 10 May 2022 17:50:34 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24AB66lU029495; Tue, 10 May 2022 08:50:33 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2177.outbound.protection.outlook.com [104.47.57.177]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3fxwq5799e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 May 2022 08:50:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QOgMF53rsnB/LB7zpedD0NEKMNkKSel/MB5FJOdfcl8JnaQCzCts5b0JMI6wU+VUU/XN7OpE9niM35UHMDqkP5BqVw6cvyCm8c1dgDc703uuwCo/wgF0Qg0dPKnv7yGopWoOrEziif7EXHVQvkYbo0cRcYXCJ/gTVjxYQLq6BwtSGNsR1FPbQi5SunXLU4sOaP1LH5zUASTeWMO0VsnAeJxGV3DDanSNVl/aQNuLuEetnk1NjrIMcWWazCcgUQqbl4NHMiVb5Y+NemN+nV8YaIpM0xMcrCN5pbIVZ0e/xq8+VDdVWz84qIDZ7Y4BBzXvIhnIJdHoIEhVVVcD3rDHOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TKgqbKjRTnF0MTzswY2iOkwQksSB0HhY742jKDjxS0M=; b=Pov2p7A/bZOhydh5GUrD6eiYyJAWHbJblwyHaJxsfJBivvYF5oroxaGAcs9NGqF6VeINnVhfCD9LjNUyuui+JzlLNKQYiGXRGpUOGX+Pw/YrQl4OUL7gZxe650i8xLt6g4/hJKJst2aw5mpx1VR10UbEsKskx4voqWjHqqXSFF4lkCwVg3cLvhlDjKdF1+VnHndYlXenZWbci1uNCAH7plcQYZ7fyRYyI0+MxpkxOhtdoT+KyXi6GMSFJ9wHxWWtDU78/YsLFiuEQmfwILadmJA/kafRaP4VKL6Xsl62fY52z0p5lvRHjNYTmwKcbq9rFAfIxAb8a24CgVlEU5nk1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TKgqbKjRTnF0MTzswY2iOkwQksSB0HhY742jKDjxS0M=; b=tdVcyMHLrhWmmQ9Dmij5FUQ86Qrn/m4WosPDO450f4vJyYH9js2BsB7jeEojy/Xw/kW0OlZHQ57s0is4tBLbCV2a7cbMLdQ+JSmwZbOjftWDh9CrDsfGaQ+ch2ouxw/fGqgvXUigQ3bFOGfbsI9tJq4Z7laIirNpPuye5W7ZWbA= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by CY4PR18MB1189.namprd18.prod.outlook.com (2603:10b6:903:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.23; Tue, 10 May 2022 15:50:30 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::f1e9:3c10:e19c:5726]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::f1e9:3c10:e19c:5726%5]) with mapi id 15.20.5227.023; Tue, 10 May 2022 15:50:30 +0000 From: Pavan Nikhilesh Bhagavatula To: Stephen Hemminger CC: Jerin Jacob Kollanukkaran , "dev@dpdk.org" Subject: RE: [EXT] Re: [PATCH] doc: update Linux core isolation guide Thread-Topic: [EXT] Re: [PATCH] doc: update Linux core isolation guide Thread-Index: AQHYXfWmA+aFJCkwokC1TigrHtZZwK0MB0eAgAxHCEA= Date: Tue, 10 May 2022 15:50:30 +0000 Message-ID: References: <20220502072414.4643-1-pbhagavatula@marvell.com> <20220502101709.54541a00@shemminger-XPS-13-9360> In-Reply-To: <20220502101709.54541a00@shemminger-XPS-13-9360> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d6ce4eec-44d4-43bc-8019-08da329ccfaf x-ms-traffictypediagnostic: CY4PR18MB1189:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aNjv9tCfo4gA3Jghun1do96yWhpIZvYRIWoJAPVAcvcsD/9hGC0eS7KwL6brYTXIuGRFUUlrpk8/3/GA3Ep5+HTpcmB1qwOznjJm/dO6yMsSO27JLczcDoQMNYy4XPuL7+NU98ROIvfa3oY2MbaK8mNb3VeSdNjq3LVAWNl7wmn/yljmZqmBlisNgYvV7OLDkbsM7z8tjkGs68sLSU4EnRzI4kmTcb+CAgtKD60eqnWD0rWYtkQuuhi+JBRjifLglviapd7XFKNTlYTyVuZTLNedG7dwb+8mNY9rw1k8ByO+8foEsTZuyQXYpZ4cklBcPZg8+2L5Daf3EdKd4CnJH6AjvDNGqOgod9JJXishkgEX8E6F2HZp1LwWGD5Dj4Ocs8tW7DulmSvAIBsuYqoSLENkU+wjACfIFdUSWbUbD9D98eOkNyNykzwMr1G/VXWT9gHYbktYvmD/LDUKJT5n+DOh+IR186rVW1578Pw8FttO1JmXnOTcheFHsZ1XJXUDAMleqisKlBI82RnlY4ns37f80BiIkpFvh1qsEtwfSOnlHjnr7SQXnTIv6Q346Vaap4J8DdbSyCiFhSyOU1PyF5Dy9USrJo97ghZRyXcmZfuOFEPgl8VPRjEHieFcer4FewcPv/hWeGkQWk35qT6RND4DUnl7tzX+MJeUpSqeKrYXrmJtB0bWrfHHoDF+Q2AbpyOAKWV27CgScxBnCZqK0g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(52536014)(55016003)(76116006)(508600001)(122000001)(38070700005)(38100700002)(8936002)(316002)(54906003)(6916009)(66446008)(86362001)(8676002)(4326008)(66946007)(64756008)(66476007)(83380400001)(9686003)(71200400001)(7696005)(6506007)(15650500001)(186003)(2906002)(5660300002)(33656002)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 2 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qW2j1HdsEPpwnLxKRCJ05C9ShKPYkcQwOiuzqUAGsHHvePRS3kjndMR/YlgO?= =?us-ascii?Q?L8LN9FMzmR0psFGfdIqHAlJoI4i/lbr7DqhpjkMW1S3nMzTw6z9dtxxSlwmp?= =?us-ascii?Q?z+RjghJfyqIDr77utrVIVuifeR9+XboAU4YX3+glsqN2uL3/9/ZEwd+1s/Qe?= =?us-ascii?Q?zue01rFPksrF9ZeRnVQNUrjFwKVKQwt7lMRAR3U9PYBBv4yG5/V87fXdjpSU?= =?us-ascii?Q?kskj4LijBHtLzUcmb/hip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EcI+weW+IkIxb22ZQQJDYX3gSCuSXZrF9iRV9vI8auYX98EHv18tFlL?= =?us-ascii?Q?qWEycukGcskM/2ZnImiiIfrpL/wXmd18naYyq39jvcxYeE+yyTcsBZUcR0zk?= =?us-ascii?Q?oHYEIj8P/PKqsHxUNMmyVnWIsZW50Q6hiuUqYZbYeThc26K9g15/XACrHktU?= =?us-ascii?Q?4wFKRl4Ncx4hFU3Eo0q0xoXvml0amBOZnch1lfR1WEu1PNXPaGxYTyhb4Dvd?= =?us-ascii?Q?8nsJbNhFvU9zXGkSiIPK/ExySqEZ5NFYmmvVejHVqWQI9bAW/yGrtjOuwM3Z?= =?us-ascii?Q?JiF6Mg5q6H/+y4XRMeqyQbMcJvFFmDUmjOcKmIbHS/aU3VST+JAawiagSjCQ?= =?us-ascii?Q?Fic+8vnyAg1aaq7BsLOh3XouuJbAEXohqbw9ADyUq3OKtNMosq1z+G/CZMhN?= =?us-ascii?Q?/mqRg3ZrusJzY1mVrVRwn+phAq2rVFFQX1FDNf4r/gn3F9Q098gygXZnMd55?= =?us-ascii?Q?lkLC/mXxUh+talES7gGxDKufj6Jrsi+IaCLJAj6yfD6g/EF4bhY2Y7NJY8RP?= =?us-ascii?Q?ghQQWZfX+h5BTqL81qeNBOWWuL25lzp4QUvoOdpj8PqcJKx3elP52t/YR+1T?= =?us-ascii?Q?9OayZJvXjaPux366tmwr+8b68ocon2yf6OifcnUeCWzOSeVg93oHaF9LJ7zp?= x-ms-exchange-antispam-messagedata-1: cC5jF6/vZAzdn+7DQl9ln6llml12SHLRZ9Q= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6ce4eec-44d4-43bc-8019-08da329ccfaf X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2022 15:50:30.6393 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 95amf3r5+5RWoOIgFKgPUOsP+4fZ2u0Dc/ppw/qS0MHl42FJ3Uoas/FWwEYcSpYf6e9JoCVoHxLWYHTqwrattyV3jvbPbRsS85lGb+DHkIE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR18MB1189 X-Proofpoint-ORIG-GUID: OXa4Y3vO9mMjdIt-HW3sGFHdDXKn3mc_ X-Proofpoint-GUID: OXa4Y3vO9mMjdIt-HW3sGFHdDXKn3mc_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-10_04,2022-05-10_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > On Mon, 2 May 2022 12:54:14 +0530 > Pavan Nikhilesh wrote: >=20 > > Update Linux core isolation guide to include isolation from > > timers, rcu processing and IRQs. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > doc/guides/linux_gsg/enable_func.rst | 10 +++++----- > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > > diff --git a/doc/guides/linux_gsg/enable_func.rst > > b/doc/guides/linux_gsg/enable_func.rst index 1df3ab0255..f567c713e6 > > 100644 --- a/doc/guides/linux_gsg/enable_func.rst > > +++ b/doc/guides/linux_gsg/enable_func.rst > > @@ -90,16 +90,16 @@ Using Linux Core Isolation to Reduce Context > > Switches ----------------------------------------------------- > > > > While the threads used by a DPDK application are pinned to logical > > cores on the system, -it is possible for the Linux scheduler to run > > other tasks on those cores also. -To help prevent additional > > workloads from running on those cores, -it is possible to use the > > ``isolcpus`` Linux kernel parameter to isolate them from the general > > Linux scheduler. +it is possible for the Linux scheduler to run other > > tasks on those cores. +To help prevent additional workloads, timers, > > rcu processing and IRQs from running on those cores, it is possible > > to use +the Linux kernel parameters ``isolcpus``, ``nohz_full``, > > ``irqaffinity`` to isolate them from the general Linux scheduler > > tasks. -For example, if DPDK applications are to run on logical cores > > 2, 4 and 6, +For example, if a given CPU has 0-7 cores and DPDK > > applications are to run on logical cores 2, 4 and 6, the following > > should be added to the kernel parameter list: .. code-block:: console > > - isolcpus=3D2,4,6 > > + isolcpus=3D2,4,6 nohz_full=3D2,4,6 irqaffinity=3D0,1,3,5,7 > > > > .. _High_Precision_Event_Timer: > > >=20 > Also cgroups is often a better solution than the kernel command line. > There are also caveats around some of these settings so worth reading > the > kernel documentation. Most of the performance tests that we advertise include these parameters an= d a note=20 In docs would helpful if users are trying to replicating those numbers. I will add a note about cgroups and links to kernel documentation in the ne= xt version. Thanks, Pavan.