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 014B842C5E; Thu, 8 Jun 2023 16:29:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B184410D3; Thu, 8 Jun 2023 16:29:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CB97740A84 for ; Thu, 8 Jun 2023 16:29:31 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 358DBPid008416; Thu, 8 Jun 2023 07:29:31 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2105.outbound.protection.outlook.com [104.47.70.105]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3r30eu2w3v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 07:29:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kQTWV+la2PCVL0Q2yKsWuWP+By3I8o7msM5xhZq4hz6cYekvHh73wOUj1ml0fDxc01X9mBC2c9jVupJT1NCDp9/wx3zo7bfasesHqmtEQkCfJztgQZVpqNDY/NROUDm9QPFa74v8zBfGK0u4wkPT2q0tleCKwdrxTlhWrEskfSJ3wlNtSLL4nLGIYDi4Rfa/k+LGnhFXnrQBLzH+6/dotkLGRXJkzRx9KhA9r12G9CF7WMwGmnLFLrosUqb6zlLoPnPiSIFCG71cO6O4G7PYLlYqWF2KUasPTwAFhtjDe0XDNbtRxFoBtRzWqTa4ydLi1Yb2j3hXgXWIRrTppxS9PA== 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=VXVPDFn64m+Kuol8qahP24SlvFpyOYNJnNTRIEv7oIc=; b=dVd57Btes38m+LijnV2OhF/l8RnsKYv6hgHXy3lrAVzq0l9u1Bhk+v2E8VI228/RU2g+V6IXD44+2UMpOMDP+FY30VIB2px10CqRMmNHOKlTITwsvHWCPLgPKuDre9+zgkzew0vpFxJABHV1ezAxpiZeczq7sFatIY7VYtaJ8KRWrRrfGJkmpGa7swwi4r3qAmaxYkqB+1irTOxmRjHmm5cy0fErUKecfAZ7oSRipHuprwRKrzUUCLJZHRkfkJj67Sni0mvgJhLweZFM0YoKZ92TLld0LRHxUa2Oe4X8cuwtBAkW/kiVuQeJlei2/CWO/4C1hQxC1yGfVvyjhq5icg== 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=VXVPDFn64m+Kuol8qahP24SlvFpyOYNJnNTRIEv7oIc=; b=kXwU2GpcjaXlEszkbMMgvT+wg8G54htreYMoxVsXCDa+cyThNsTlUAr+Z4QVot0bwhmIRC6iimLpSqF/Ux4h8VMk186jA+eifhC1jtJSXkBrxHKkvfEyCF2Zoal8+lGe+ubPhicbp4uUzep++XM4w1bDdqr8NFcyxJFBwZEV6cI= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by DM8PR18MB4485.namprd18.prod.outlook.com (2603:10b6:8:32::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 14:29:28 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89%6]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 14:29:28 +0000 From: Pavan Nikhilesh Bhagavatula To: Zhirun Yan , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , "stephen@networkplumber.org" , "jerinjacobk@gmail.com" CC: "cunming.liang@intel.com" , "haiyue.wang@intel.com" , "mattias.ronnblom@ericsson.com" Subject: RE: [EXT] [PATCH v10 13/16] graph: enable graph multicore dispatch scheduler model Thread-Topic: [EXT] [PATCH v10 13/16] graph: enable graph multicore dispatch scheduler model Thread-Index: AQHZmfDOcljP5xTwMEmTPJ8GcZgdl6+A91TA Date: Thu, 8 Jun 2023 14:29:28 +0000 Message-ID: References: <20230607035144.1214492-1-zhirun.yan@intel.com> <20230608095759.1800617-1-zhirun.yan@intel.com> <20230608095759.1800617-14-zhirun.yan@intel.com> In-Reply-To: <20230608095759.1800617-14-zhirun.yan@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccGJoYWdhdmF0?= =?us-ascii?Q?dWxhXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctZGUyYzg4NTUtMDYwOC0xMWVlLWI2Y2Ut?= =?us-ascii?Q?NGMwMzRmNWZhYTMyXGFtZS10ZXN0XGRlMmM4ODU3LTA2MDgtMTFlZS1iNmNl?= =?us-ascii?Q?LTRjMDM0ZjVmYWEzMmJvZHkudHh0I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x-ms-office365-filtering-correlation-id: a4c60de4-4c25-42f5-ed04-08db682cc428 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WujXFnUl33GhuHJiJsPWURj6zlZsyLYt0toQtRTlEKzoTf9qTk1NqGE905pRIGsW9sx6J8x7YbdIF8i2qgA2t9V/SaVzcHWwBufaakzF+TAQ369slj4z/M7pVTy0hwiJIZMfb/0Dv+hUYYmk3cEya8R2C0Xf2vAgKVaCDJ8QA6/OGsRHLAuHKi3gWhpLNmwP2NYuTxqEHsgsiRPfP4Ul6DYmZzGbfAsSib9LCsBQ+6oawi/+MJxRZYwfOQ13R7Ytjmd1vpO0qXEeMQoRI2NM2S25riW7ezyvb8/FkmJdKP9q+RLwVySmg6NviVALlxlwe47I1vaHmEotOMpu1cGIqaFWNsaJ1X14a3a6FDEL48JVR7tZp388tMuhESZdK+DrqjDoW/KU7BzhMrfS/ZaXn5boicqqRQQuq5cfzzhAM6NdYXojSodctOBWaQuCKMscgIh/aYS5kFOyozSj7n6xetrcEZJkGsuQGhoJIVsmfT9t29Z224MQxmjtqvT3AftmEXqTHqGJoo8160TiPbA2a1gSLT1yptdGh3rvs9OEhec5UvXXLoHj8kq+9LZhVLvJa5ii0Cld9hxn28xl5mDGMRXYQhjbVhiMq6wctvI1fg88E869aNYM+ogei/7ULvCL 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:(13230028)(4636009)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199021)(6506007)(9686003)(26005)(52536014)(83380400001)(122000001)(86362001)(33656002)(186003)(316002)(55016003)(2906002)(5660300002)(8676002)(38070700005)(8936002)(41300700001)(38100700002)(76116006)(66446008)(110136005)(66556008)(66476007)(66946007)(4326008)(54906003)(64756008)(478600001)(71200400001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mannX/BAl29doqDuXCfyC1Um5wKtvR7TR0rDtRPf3F3dc7oGo/xMRmBHymnM?= =?us-ascii?Q?CGConreCm+69EL8ss8IKpDVyRUW3fqYSAAiNEb98/gHwabFnKxzoFhd71pbg?= =?us-ascii?Q?lPDon+BzkaP2Y291CoMvoPGzDAmIm7LW8DLmcMIGVPto0Hp9GWCij0ifKZVt?= =?us-ascii?Q?mgdq1Vjz2am0zE2r+dfWn9l4Um4wB1V27eRhfPf8MmIjgnH6qqwzt2kG19yT?= =?us-ascii?Q?EoXJyTj4x7S6fWBhqPxUwLH2Qfz1PkZikEn9z933c77OlxWAo92b9Bnvn23e?= =?us-ascii?Q?GAftqAdA47Oh6nU5GN7Fyb7/VtyLHzogW7xEyFR1fW1VnlrIboe9VzIS7s7R?= =?us-ascii?Q?FGRAMllLr7p5MoCMoVoUQLeXdvEXEfGKTc5ksuk+fmuGq/saHsRo55m1YDbF?= =?us-ascii?Q?EIpQ2+aRovxHbVDpV59a/diahnhqMlejUV+h7ELr8vcwMvcvScr5u4kHrehr?= =?us-ascii?Q?fgSN38iv5AjtT/Dgz2gWuO+xVfkNzkC8fzcQMFI8OaeLqqly3O20/Hin/bVr?= =?us-ascii?Q?e9RNPSrUAO/LfhyBY4VHOe9XP58HwL8s7H+XnNc3HfQR5jg597n7HVrF+n2x?= =?us-ascii?Q?nGUku+cxObEjmVtV/luMKYl/nu7hvwFMpvpRoyz1TYTDEGXowm4GPJsS/Kfx?= =?us-ascii?Q?H1vRRNCPLekucs3BKNKAfoED045dCtUyZnipZRytkE7OP3rafKRlC/uKAbEN?= =?us-ascii?Q?kD2uzgTJZdcTEcVP85qWdX5kWVHKlCqNsLt30pI/dOCTJ4C/LXbEQf1sABqr?= =?us-ascii?Q?5JJ63FNTw6YfSXEVb0Uxo5ZWyjCLOyMY3O7XZTy9KBJBry1nLG77p8F4d20p?= =?us-ascii?Q?sUzJ4IToauYritwUarl8h4xQqooG0vLd4qU5YBLDKgPKuNQ7lFYhiV9Fyyp7?= =?us-ascii?Q?8n1Yc0mBhixFv/FOOnEw4F4/6oVG2wItISWJ1jJZzgyv2elvHDa6yj2xSy+Z?= =?us-ascii?Q?/nx517iiAJfNi5fePrS5WDw3fO60t3jEHtUuQHTlHiEvnXWs5oAKfmE4TYYQ?= =?us-ascii?Q?XHzH5PRhYGsQ5sZcXEnheZD+87klHKnA/YPFatb64IJYY5asfkOXWCdWyPEt?= =?us-ascii?Q?0yG27WnE5iSx4at/84ogXG9sd7mfg8/iNgE6uFfPLRtx3agPddl++irEcC5w?= =?us-ascii?Q?mWYsLs0ikwrYUShH4xzzURfneVaJcwCHJNsB2lglIOvb4h2T7bKbiEK2WOCz?= =?us-ascii?Q?BlXT8+0ZEv3t3HMS78ItOa2FccqLj/2W7x1muiFpE/hK02/LBoSuNgVQycFF?= =?us-ascii?Q?eRshJiPIaOcXPEKgDl49YtyN08AtS6kEbwxtyuY88v0XPTtylTk44Ks2em8R?= =?us-ascii?Q?aNU6chI+Li+Z9MvSRKiGC0z9Ht6mDCBq7l+A7WvtXwRnVgJFPeDFvRSYBWBb?= =?us-ascii?Q?IxbwiGIBlo/xgGPI8retXG3pjTCGtjCf0sOuOrKM6busJKADVo8YNx2HSRu6?= =?us-ascii?Q?uKMcUqfqf1qt6mzhpxPefDzdy/eCA6lAgNMdk6va8+7Zcem+AjpqP15uq/Dq?= =?us-ascii?Q?D4gFKw+H9/thinh1LwTnsKywykKUKQkgNL6NC2WPy/0bvw51fq3fzgcMgF61?= =?us-ascii?Q?nJKkJnzvk2L9s7XEjVcacUZu/YusjdAS+bbG0mfX?= 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: a4c60de4-4c25-42f5-ed04-08db682cc428 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 14:29:28.1795 (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: j2SetIVdN+QFjf8omJW5uyAQCN4a8Py4HKIssScDiKyOV6FV5p+OgP+NSw5+N0NhEn6ZBj8EaTtXFPD06qv3UF77moNJEW8753Kl7cyyjqo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR18MB4485 X-Proofpoint-ORIG-GUID: A2SA99w4hADR0pNxS9DPYpHptSfK5_fj X-Proofpoint-GUID: A2SA99w4hADR0pNxS9DPYpHptSfK5_fj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-08_10,2023-06-08_01,2023-05-22_02 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 > This patch enables to chose new scheduler model. Must define > RTE_GRAPH_MODEL_SELECT before including rte_graph_worker.h > to enable specific model choosing. >=20 > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan Acked-by: Pavan Nikhilesh > --- > doc/guides/prog_guide/graph_lib.rst | 71 > ++++++++++++++++++++++++++--- > lib/graph/rte_graph_worker.h | 13 ++++++ > 2 files changed, 77 insertions(+), 7 deletions(-) >=20 > diff --git a/doc/guides/prog_guide/graph_lib.rst > b/doc/guides/prog_guide/graph_lib.rst > index 1cfdc86433..017cc25fd3 100644 > --- a/doc/guides/prog_guide/graph_lib.rst > +++ b/doc/guides/prog_guide/graph_lib.rst > @@ -189,13 +189,70 @@ In the above example, A graph object will be > created with ethdev Rx > node of port 0 and queue 0, all ipv4* nodes in the system, > and ethdev tx node of all ports. >=20 > -Multicore graph processing > -~~~~~~~~~~~~~~~~~~~~~~~~~~ > -In the current graph library implementation, specifically, > -``rte_graph_walk()`` and ``rte_node_enqueue*`` fast path API functions > -are designed to work on single-core to have better performance. > -The fast path API works on graph object, So the multi-core graph > -processing strategy would be to create graph object PER WORKER. > +Graph models > +~~~~~~~~~~~~ > +There are two different kinds of graph walking models. User can select t= he > model using > +``rte_graph_worker_model_set()`` API. If the application decides to use > only one model, > +the fast path check can be avoided by defining the model with > RTE_GRAPH_MODEL_SELECT. > +For example: > + > +.. code-block:: console > + > +#define RTE_GRAPH_MODEL_SELECT RTE_GRAPH_MODEL_RTC > +#include "rte_graph_worker.h" > + > +RTC (Run-To-Completion) > +^^^^^^^^^^^^^^^^^^^^^^^ > +This is the default graph walking model. Specifically, > ``rte_graph_walk_rtc()`` and > +``rte_node_enqueue*`` fast path API functions are designed to work on > single-core to > +have better performance. The fast path API works on graph object, So the > multi-core > +graph processing strategy would be to create graph object PER WORKER. > + > +Example: > + > +Graph: node-0 -> node-1 -> node-2 @Core0. > + > +.. code-block:: diff > + > + + - - - - - - - - - - - - - - - - - - - - - + > + ' Core #0 ' > + ' ' > + ' +--------+ +---------+ +--------+ ' > + ' | Node-0 | --> | Node-1 | --> | Node-2 | ' > + ' +--------+ +---------+ +--------+ ' > + ' ' > + + - - - - - - - - - - - - - - - - - - - - - + > + > +Dispatch model > +^^^^^^^^^^^^^^ > +The dispatch model enables a cross-core dispatching mechanism which > employs > +a scheduling work-queue to dispatch streams to other worker cores which > +being associated with the destination node. > + > +Use ``rte_graph_model_mcore_dispatch_lcore_affinity_set()`` to set lcore > affinity > +with the node. > +Each worker core will have a graph repetition. Use ``rte_graph_clone()``= to > clone > +graph for each worker and > use``rte_graph_model_mcore_dispatch_core_bind()`` to > +bind graph with the worker core. > + > +Example: > + > +Graph topo: node-0 -> Core1; node-1 -> node-2; node-2 -> node-3. > +Config graph: node-0 @Core0; node-1/3 @Core1; node-2 @Core2. > + > +.. code-block:: diff > + > + + - - - - - -+ +- - - - - - - - - - - - - + + - - - - - -+ > + ' Core #0 ' ' Core #1 ' ' Core #2 ' > + ' ' ' ' ' ' > + ' +--------+ ' ' +--------+ +--------+ ' ' +--------+ ' > + ' | Node-0 | - - - ->| Node-1 | | Node-3 |<- - - - | Node-2 | ' > + ' +--------+ ' ' +--------+ +--------+ ' ' +--------+ ' > + ' ' ' | ' ' ^ ' > + + - - - - - -+ +- - -|- - - - - - - - - - + + - - -|- - -+ > + | | > + + - - - - - - - - - - - - - - - - + > + >=20 > In fast path > ~~~~~~~~~~~~ > diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker.h > index 5b58f7bda9..6685600813 100644 > --- a/lib/graph/rte_graph_worker.h > +++ b/lib/graph/rte_graph_worker.h > @@ -11,6 +11,7 @@ extern "C" { > #endif >=20 > #include "rte_graph_model_rtc.h" > +#include "rte_graph_model_mcore_dispatch.h" >=20 > /** > * Perform graph walk on the circular buffer and invoke the process func= tion > @@ -25,7 +26,19 @@ __rte_experimental > static inline void > rte_graph_walk(struct rte_graph *graph) > { > +#if defined(RTE_GRAPH_MODEL_SELECT) && (RTE_GRAPH_MODEL_SELECT > =3D=3D RTE_GRAPH_MODEL_RTC) > rte_graph_walk_rtc(graph); > +#elif defined(RTE_GRAPH_MODEL_SELECT) && > (RTE_GRAPH_MODEL_SELECT =3D=3D RTE_GRAPH_MODEL_MCORE_DISPATCH) > + rte_graph_walk_mcore_dispatch(graph); > +#else > + switch (rte_graph_worker_model_no_check_get(graph)) { > + case RTE_GRAPH_MODEL_MCORE_DISPATCH: > + rte_graph_walk_mcore_dispatch(graph); > + break; > + default: > + rte_graph_walk_rtc(graph); > + } > +#endif > } >=20 > #ifdef __cplusplus > -- > 2.37.2