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 5ED9045A63 for ; Mon, 30 Sep 2024 08:56:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C1CC402E9; Mon, 30 Sep 2024 08:56:38 +0200 (CEST) Received: from sonic311-24.consmr.mail.ne1.yahoo.com (sonic311-24.consmr.mail.ne1.yahoo.com [66.163.188.205]) by mails.dpdk.org (Postfix) with ESMTP id EAC894027C for ; Mon, 23 Sep 2024 22:31:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1727123478; bh=ShYj6hnztjEnpeMgPyz9ONL4DZa4Q55p5cwKWUwbQNU=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=b1L7Izn3ZDYwkQF20uX3xATCFVhaQkLpxjk/rcKerFAUrxfiw+Oa9AmaO8yG4MjFaWkZTIJMtsmSV/OPAzHj79nNZjh52u/ErFNLZQHTKam/1EqOgdJJDVFli1aGmRlsA55IQEk99kFgqmiayHkdEjbL4eoxmA1x/ihPmMwFp+vXSv8w25r0CFNFe8eFgtiPpFtHCdaEHYCnffrzQqUz0Y9k50nvVMR9zoTkisuf+CFqJ2dn84q0Fug1PGgIKqxHDrFhJe3Zl/FaSTP3lh6+lW0Koz/rw8Wj5KE2thETt9ShgJSw2516SCbWEWgSmKpFwU/2Z+mHxilRL8CSUFqFzQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1727123478; bh=N+OoN9zJiyFJbAdayeU0ji+8GpLLg33lBQ/soKWHZMP=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=VVeN9jOr/log9fDzFtUNbTAIt6twGPQrP+b4eTi8/fqwNhMYjNWNfWWb551mP1zQg3/H2VstPRwWo2S7K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qWLkP0AXOsdqrZN1f95QJY nGN_NmTviN2DSvVhbN6DHVETbNh0pu9iuTh.qPz8OSqKhLB6DlIk0bUbPiUh6tjDKQZvExj5nOaT Z7P1oj7d9f.ib6BxZz1VggN8DTXH06vhMTbgGIXVOIcz3slCrh9TUcTTkyQGlA4ocZZ_GGyYtfbx U1if8DVAOLjL1hjc2645tcIrbHIYmNzY5Ji8ZsX7QkbMeqOuVN5nOWgEYkrCjHIB4sfEx8cBHZMA MIGmsJdjxd9waPex_P7bE_sucgSpyeUhWWlDAUekrvvVTaanG5KgqtUl0Ur2jj1TmHHx3sxozOeB mt1amxm9e4UazLLrcb4_lYeGUYHlXRt5wzni9Dip_5eYcHKR0inRQb9_ZzgGRdxJZ6w7XzKzU1JT 64wjKud1dHoZgGMdbeKNfhTti4R4- X-Sonic-MF: X-Sonic-ID: de3c53af-6a1d-485b-a9ce-1600a0b0c716 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Mon, 23 Sep 2024 20:31:18 +0000 Date: Mon, 23 Sep 2024 20:31:16 +0000 (UTC) From: amit sehas To: "users@dpdk.org" Message-ID: <595544330.11681349.1727123476579@mail.yahoo.com> Subject: core performance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <595544330.11681349.1727123476579.ref@mail.yahoo.com> X-Mailer: WebService/1.1.22645 YMailNorrin X-Mailman-Approved-At: Mon, 30 Sep 2024 08:56:36 +0200 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 We are seeing different dpdk threads (launched via=C2=A0rte_eal_remote_laun= ch()), demonstrate very different performance. After placing counters all over the code, we realize that some threads are = uniformly slow, in other words there is no application level issue that is = throttling one thread over the other. We come to the conculsion that either= the Cores on which they are running are not at the same frequency which se= ems doubtful or the threads are not getting a chance to execute on the core= s uniformly. It seems that isolcpus has been deprecated in recent versions of linux. What is the recommended approach to prevent the kernel from utilizing some = CPU threads, for anything other than the threads that are launched on them. Is there some API in dpdk which also helps us determine which CPU core the = thread is pinned to?=C2=A0 I did not find any code in dpdk which actually performed pinning of a threa= d to a CPU core. In our case it is more or less certain that the different threads are simpl= y not getting the same CPU core time, as a result some are demonstrating hi= gher throughput than the others ... how do we fix this?