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 EE3C8A0569 for ; Wed, 19 Oct 2022 00:06:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BEA34069C; Wed, 19 Oct 2022 00:06:07 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-oln040092066055.outbound.protection.outlook.com [40.92.66.55]) by mails.dpdk.org (Postfix) with ESMTP id 6B55840041 for ; Wed, 19 Oct 2022 00:06:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ce/5g3J9v655BbXwSIZEQJHvHtJhnZfVinbfW+fhMp+r22ZQE3pe8OyVCNgRGEjSfliZsjo2OkCVLcUB/3VxY8OmUjoEFOg5fBbSTzUGrUYPcTqh3Jm/EKq1lsgLJg0q5ZDLKaIGPOHzuz/+H6+f7RurxNiRI4e1Y6CFbHJvxeMoWimVsGnFcAUT6rxIHF9nZaMCP7i4xlmnBpklADMc0589IfV4RAk+5PGSN0LlOl+rdEpAMXNOW9lPeg/QfPpiKegbCtdXOHuyzxpr2h839B6aJqKvIr9Qfw/oPvBnjy+j76uQZBaVdr+rzd+y7MR8J42RFECIiX46HGM15WIDXw== 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=abKej/E9wH7TMDHk6aA+pyP0K8kVzQH0Q2KBl7w2PB8=; b=HXMD8wz4j9v2GDptoybXPoo+WbpM3q3MhjfR1ztT4JYBBEOT9EYNYyZG/3BnFTtuwlsXJu25O8PFZVIcylCVhYXl7WvZYerJy4S+c0kEBVdivovyfAbBTpYiMIq1p+8VB7/kUJTfp90yw+53FaHOXV9ol/WKwzwSy0rrj4RCHFGqo6ah3xXLhESLqYoSx3Xr/9puXfB+ocne5F0CPZuy1Nl1icBKEBMYkcYedLyKTJgvk3DqqNj18p8KxWkpA0HwJjOnkjd1+8Cyptgq3pNCnY584zxxaU62EfQcoHkpNP5TGpZstecgr4mQhZGuS4URdXenqNi9CXysadwmBSOsqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=abKej/E9wH7TMDHk6aA+pyP0K8kVzQH0Q2KBl7w2PB8=; b=ISxWqJzv63FRwHllvprm673suh3IjEPgQUy8zOfNCJiBMFv6ws24b8IcFFzAE8QopNJQVLik8sRUszQmJ0QHuB/m67yqKCEOXkDkFm5W0wypAOivZ1Y+/Ww5f4Z1hhgOwK9rsnSFsHeC62m8PELIWtyFmTSvmuAg2cOw6e647Eos64EMu4BcaOJ/RSJ664r4dDdiklgpQgJ55J1/RSpJx9bneqU3/LHo2cxc12y0qH2mmXkUDJRHmmY+SP6gqCHQo7b9DCKxVwvtvB4jh76XIUdOpStHm9HMA1dGBPpI5NNa13QthTliJ7tjU/xXNSr3nv5Tnm5Xb22mf62BxP/5kQ== Received: from AM0PR04MB6692.eurprd04.prod.outlook.com (2603:10a6:208:178::25) by AM8PR04MB7858.eurprd04.prod.outlook.com (2603:10a6:20b:237::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Tue, 18 Oct 2022 22:06:04 +0000 Received: from AM0PR04MB6692.eurprd04.prod.outlook.com ([fe80::854d:c3ba:6cf5:389a]) by AM0PR04MB6692.eurprd04.prod.outlook.com ([fe80::854d:c3ba:6cf5:389a%5]) with mapi id 15.20.5723.033; Tue, 18 Oct 2022 22:06:04 +0000 From: Juan Pablo L. To: "users@dpdk.org" Subject: lcores clarification Thread-Topic: lcores clarification Thread-Index: AQHY4zrgo9trgOrkREWQJCRvKAgeKQ== Date: Tue, 18 Oct 2022 22:06:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-tmn: [YpBcMq6+NlGP/nZuDgxgGTvXZ7k56WMB] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM0PR04MB6692:EE_|AM8PR04MB7858:EE_ x-ms-office365-filtering-correlation-id: 40b30135-44d3-4f86-d208-08dab154f380 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /elXJFzoRj5W8uNtENW+uj+u+b6TNWLR4vsaq096OVfyr5+60sY9CNqNn7FzzAPPKe7IpZi/0vqx0XN+lCtyiC6Je1YAJkJk3g9/4ginVeM+VEwevtY98UeLcCyxC5wwJ0MbaNA4eXubvV3g7PZSywv31HRwydXshbw/vdMuv7tfPo/XGgX8myTaDSj5+XWUmxdF3LVf4EnE+fHQC6yh/MLm2KSfHx0iFqNwuZQO/8O5TT8BBvv9dgQunFLo4IxVUGrUGukOgJtjLO2Jl5NhAFnS1k+XkSsqV77in7zzRjvkMEXwaHORI2CIkyqHtWqHzTgNeRX5jhUlz3Y0aL/6T0u0JVsRsZNO+cN6lFh6nb4Iu2TxabrqPZ2teSwIAE0WRZMqJjJrm0L51EjDNj+h50DMs83+EuuZ3OxlNtim+dpzlbZ/fqwHIuZBToDwbxIo2TFuyDphuCIfgiUOORNYkmiszPXw4KRqNpZLGsWKiz0izFXbSctWblB18tCTcI9sorEslmECPyVVWP8WAseel+/DZi0WCpWHRy0GpHwUMvmrMBmXbyBisicYxGb+mclx87mlPUbp6peqBy5oxfPG3TpMtzcqQzVd/OKBKBC/1bmY8sMeK7QfyRpBoXsKe0mxFJpkTnqlY6iUu4tBcSSFKg== x-ms-exchange-antispam-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Jk?= =?iso-8859-1?Q?H3eeY7s6KLsDEFtxdk+nZ83+I23nRXVhXmQw9VayQ4omokc25COL95ic9s?= =?iso-8859-1?Q?IWQuaMEdXrz+ZduzTe4qnRe8raPZcab2zHqcaYvKQGyx+kSHKUp9ZD4xQD?= =?iso-8859-1?Q?KkkZ41bVwBXbrVPMjBN0iqhViaRpPC2ORPoszBtHdZqAMr9+QFtq5ytxhN?= =?iso-8859-1?Q?MiwNDbC5Xew5Xqjp5hWhWNheS3tXGqVz7bBGd/lhijiPTs4vUlyWyaGE4R?= =?iso-8859-1?Q?ZKE0Ufd5aqKUeNgTcZi5n4fdU42JxthClkSZXo8vipckUUp4IXKIhhM7Na?= =?iso-8859-1?Q?MfoimIiG+8KalSOX8MI4HttpKvhDsYjCATKJy+YH+2bURMNTsVYr+74fvX?= =?iso-8859-1?Q?HIklBJW6v9+3ZYK9c6AH/Eyihsc0T/GZlJqg2bOrF2zRDB48JUlT+adH1H?= =?iso-8859-1?Q?L62SBoHL/UBw+Xys7cUcN3VF+e5V2JD/EWSxkymmpxHFShQIdX1vIcC/Fq?= =?iso-8859-1?Q?5iouX9909pqBP7evJNtxI93W9w=3D=3D?= Content-Type: multipart/alternative; boundary="_000_AM0PR04MB66926606ECAABB532742D72CD9289AM0PR04MB6692eurp_" MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-03a34.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6692.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 40b30135-44d3-4f86-d208-08dab154f380 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2022 22:06:04.6396 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7858 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_AM0PR04MB66926606ECAABB532742D72CD9289AM0PR04MB6692eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hellos guys, I have a doubt that I have not been able to clarify with the d= ocs, so maybe you can help me please ... I have a process that I want to run on a set of CPUs (performing the same t= ask) but I want to run all of them at the same time, so my question is: if I configure something like "--lcores=3D'2@(5-7)'" that will make my lcor= e with id 2 run simultaneously (at the same time in parallel) on CPUs 5,6,7= or it will run my lcore id 2 only one time at any given time on either CPU= 5,6 or 7 ? would it be better if I configure different lcore id for the same and assig= n it to individual CPUs ? , e.g: "--lcores=3D'2@5,3@6,4@7'" even though lco= re id 2,3,4 are really the same job ? I think my question is just a matter of what is the best way to configure E= AL to accomplish what I want, that is to run the same process on all CPU av= ailable concurrently, even though, I believe, option 2 seems to be the obvi= ous way I just want to make sure I am not doing something that DPDK could d= o for me already .... A bonus question if its not too much, since lcores are really pthreads (in = linux) and I have isolated the CPUs from the kernel scheduler, my guess is = that if I have different lcores (performing the same or different tasks) ru= nning on the same CPU DPDK will be doing the scheduling right ? .. thank you very much!!!! --_000_AM0PR04MB66926606ECAABB532742D72CD9289AM0PR04MB6692eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hellos guys, I have a doubt that I have not been able to clarify with the d= ocs, so maybe you can help me please ...

I have a process that I want to run on a set of CPUs (performing the same t= ask) but I want to run all of them at the same time, so my question is:

if I configure something like "--lcores=3D'2@(5-7)'" that will ma= ke my lcore with id 2 run simultaneously (at the same time in parallel) on = CPUs 5,6,7 or it will run my lcore id 2 only one time at any given time on = either CPU 5,6 or 7 ?

would it be better if I configure different lcore id for the same and assig= n it to individual CPUs ? , e.g: "--lcores=3D'2@5,3@6,4@7'" even = though lcore id 2,3,4 are really the same job ?

I think my question is just a matter of what is the best way to configure E= AL to accomplish what I want, that is to run the same process on all CPU av= ailable concurrently, even though, I believe, option 2 seems to be the obvi= ous way I just want to make sure I am not doing something that DPDK could do for me already ....

A bonus question if its not too much, since lcores are really pthreads (in = linux) and I have isolated the CPUs from the kernel scheduler, my guess is = that if I have different lcores (performing the same or different tasks) ru= nning on the same CPU DPDK will be doing the scheduling right ? ..

thank you very much!!!!

--_000_AM0PR04MB66926606ECAABB532742D72CD9289AM0PR04MB6692eurp_--