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 0707E45A14 for ; Mon, 23 Sep 2024 22:56:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B41EA402BB; Mon, 23 Sep 2024 22:56:49 +0200 (CEST) Received: from sonic304-22.consmr.mail.ne1.yahoo.com (sonic304-22.consmr.mail.ne1.yahoo.com [66.163.191.148]) by mails.dpdk.org (Postfix) with ESMTP id EF1444027C for ; Mon, 23 Sep 2024 22:56:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1727125007; bh=GC0RkUId5M7Va0z9aUkQgv1fmQAlt7QmE9/tyYF9zH8=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=Hln7Ptfkf0L6xDG9dF9c7OTe3arM3m77zzRpcSJm8LA1sQbZVJggR2gPcla+0EEAic1HtqV/L0+BDVSlFKXzI16dC7jqcW5fx3EkBzpwLa8xz+3g6rCAL9xfAoK67EnytUqHgopvcQUEFHKi0ZOJYRUcpO3OXEYNynAbnU3F4YVWAU8y2NxvQZGgWMsXtuLh9ktjLM6EIG9+RD39U7K366qPFQqscKk/udBmpwoP5vUuk+6hNgOXu/0dvSRZjULwQd24EImB3ge11/FennIyZ+3wbJltSDJiC/rKDgTvV75ao/Ph8OQjL7I2+1juPxv6WBM/Z51G3qAUdo8qzWCBJw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1727125007; bh=U3I4BtrG27beM7d1epQbyAFN9NY+dNbD3UoAIPtzVfw=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=YVaiRq9l/zVvR6odnYHao/SC3cN1mG8rfcRWc0LqDTZ5q+jrs04DzaVRqWTulvGyyKhtHglWVxWIZwXerLb15kyouJUf4p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eJBTZyE2QRS7HfRN7DKMhjMwBKy7V3A8Fg6fmB21YSqoTvdPp3T6g6o_ORhFc6hSGDfcb.q qUdyWgriJvd608IkkdJvOiEYgHJdOIOPQRNq9i6gRe5piFtJEHLbsCPfHMsgcgt.KUNa_mivELGc DHJxb40OCsGoX59nMfk2Z9EZOJFGPPNc8IR7Uv_z5jp2irSid.CCN2bodtEp6EQmabMMFyDwE0T6 DIBRhjWgqqFK_puryIeTNZ20trzpVqbjhJnjLAgbamSRRDedAzIbAnECMGvG1llg33C9fCx1IZvR oMBPhcsYo.0iBzS0AzizwnuNK8qEVexnXfq98e1PzUXZArCnvJrgpGU.w4ddRCkyg0HHulh.T14G gF.nzVtk9FbynejIedaUJ8nu.rake.JawxE8- X-Sonic-MF: X-Sonic-ID: 6daccbf1-bfca-4a2e-8f56-a0b1a5662822 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 23 Sep 2024 20:56:47 +0000 Date: Mon, 23 Sep 2024 20:56:43 +0000 (UTC) From: amit sehas To: "users@dpdk.org" Message-ID: <1987164393.11670398.1727125003663@mail.yahoo.com> Subject: core performance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <1987164393.11670398.1727125003663.ref@mail.yahoo.com> X-Mailer: WebService/1.1.22645 YMailNorrin 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?