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 6B010A0093; Mon, 2 May 2022 09:24:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11BB740F35; Mon, 2 May 2022 09:24:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 2E69140E28 for ; Mon, 2 May 2022 09:24:29 +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 2423sKB3007259 for ; Mon, 2 May 2022 00:24:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=3kLUPjfqDgXasDratIuwIYSfex0KkChiHRD2j/RVrqY=; b=ZRh2My93+/stVLgDHmcUtSpKxwzAKcwSGPkBjdXVn7a2JjQm6hMA+mF0vcRVS2TzhY74 aEIlNz5m2LtYyr6ibPwnflGxt/aH1fiYOt3irAmhtl/Ufa5FyqBsvV5dStRqJLWUcE3d jzaU7AoPuHMDJsOSK5AEUylQVjFSE7xfNLvyAw1cgkkHAbABPHX6Mh9jWH1B3cxLFy4g tFL12tkDYW1ILXDZzDhKHrKeKqgDnp0O8hPGXb5ogfSF+QrKgyf3erzAN4D+hNUePPQZ mErBO2kmv0FPVi+NoWZNDzGCxy0oV+EKoqyBRUvdrqy+c2DiiRH2uvI07f3Jxu0vX2/W 8A== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3fs4mkmp43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 02 May 2022 00:24:28 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 2 May 2022 00:24:20 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 2 May 2022 00:24:20 -0700 Received: from MININT-80QBFE8.corp.innovium.com (unknown [10.193.69.50]) by maili.marvell.com (Postfix) with ESMTP id E46CC3F7083; Mon, 2 May 2022 00:24:18 -0700 (PDT) From: Pavan Nikhilesh To: CC: , Pavan Nikhilesh Subject: [PATCH] doc: update Linux core isolation guide Date: Mon, 2 May 2022 12:54:14 +0530 Message-ID: <20220502072414.4643-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 4PQouuwFfNoyqo4qdtS8_mATRQCvkiNl X-Proofpoint-ORIG-GUID: 4PQouuwFfNoyqo4qdtS8_mATRQCvkiNl 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-02_02,2022-04-28_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 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=2,4,6 + isolcpus=2,4,6 nohz_full=2,4,6 irqaffinity=0,1,3,5,7 .. _High_Precision_Event_Timer: -- 2.25.1