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 8F28045B3A; Mon, 14 Oct 2024 18:30:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54E814027F; Mon, 14 Oct 2024 18:30:53 +0200 (CEST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id 87F1240151 for ; Mon, 14 Oct 2024 18:30:52 +0200 (CEST) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-20cdda5cfb6so13464205ad.3 for ; Mon, 14 Oct 2024 09:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728923451; x=1729528251; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=KccY4v0NT35xvnLWImAt134lH8SRaqZvE1hacba9fXc=; b=f/aVALobhMRpbiwBpuVq4BD1WYE6JlSUbD3iA1+zNxUQZSJp4PR3q04a0XDfcgRurZ 4J4Gi+Ifj6FctK/Mgz8QNunlDAlGGZXVaI4KgbEQ4XfbBWrN6dke2/CrLvzpaNxQCPRx nt25PYWjPid/hD816dUjD2SmGYQDd6JzbrGemT/J/MkVe/zm2iapAH/KQdy649IU7NKO +80xBWJTwTfdoTSGVJTdIgeW1WyroARVwUhTUzYxhPZ/z/h/UnoNb+oEjKWUi/djTnMz TPqGQmMyRP8gbV+iJJ7xMGAJUkWt10HnFmmKXD4DGqludxQjUgTvTcA28TBRc9JzemMy jzIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728923451; x=1729528251; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KccY4v0NT35xvnLWImAt134lH8SRaqZvE1hacba9fXc=; b=nwJ9CsXUiGJAu2YiG0uldlS4uRdr07ZP4DjmQikMdzhCzp0caNtDaYFFbcmb4EGonH 6NYWxwzSZWyO84qV5tQ1j8OF3upnwj2VpCAPbj98X6szh6fFCi+8M1Fkcxpm6HrvRYVB ewCDu8hK2E2MpJKj++uiEymHNbU0kF0ICmU0nEvS7BVzmPi/bBtxZYjxfO716sZJrlmQ nB05rD83/+wadO4yXdBEgzzhF71ZaSTazi0YdPtsp0LmmPl8JmJgb1EsreFcuM1hKT0q 7r15bp/+sRWUfO6XxvPJTfQ61fqhjZYWDVazwwJouuIVMOrpciazF1MpWoogieekclfN nAqA== X-Gm-Message-State: AOJu0YxOG4qEipXPDLBrbymroN5/q3AOWB2YfpJ2Xa07FLicLAtBg1Bz cF0pN6Gr2D7n2asPwlTfwIZsk++yygqJzYPVOjs4wUYWLLVXr6zbedQwbWvrH7k= X-Google-Smtp-Source: AGHT+IEEVUV/hvsujmf+XmrjERRAK++MED9UgUNM04E2K4VcIkEm9QVWPIdMXEa1A9/ILp+z3gvzkw== X-Received: by 2002:a17:902:db0e:b0:20c:7720:59b8 with SMTP id d9443c01a7336-20ca142a448mr174338375ad.6.1728923451500; Mon, 14 Oct 2024 09:30:51 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c8c33cc13sm67616875ad.248.2024.10.14.09.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 09:30:51 -0700 (PDT) Date: Mon, 14 Oct 2024 09:30:48 -0700 From: Stephen Hemminger To: Mattias =?UTF-8?B?UsO2bm5ibG9t?= Cc: , , Morten =?UTF-8?B?QnLDuHJ1cA==?= , Konstantin Ananyev , David Marchand , Jerin Jacob , Luka Jankovic , Konstantin Ananyev , Chengwen Feng Subject: Re: [PATCH v11 7/7] eal: keep per-lcore power intrinsics state in lcore variable Message-ID: <20241014093048.01dd7e40@hermes.local> In-Reply-To: <20241014074348.821962-8-mattias.ronnblom@ericsson.com> References: <20241011081901.816211-2-mattias.ronnblom@ericsson.com> <20241014074348.821962-1-mattias.ronnblom@ericsson.com> <20241014074348.821962-8-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Mon, 14 Oct 2024 09:43:48 +0200 Mattias R=C3=B6nnblom wrote: > Keep per-lcore power intrinsics state in a lcore variable to reduce > cache working set size and avoid any CPU next-line-prefetching causing > false sharing. >=20 > Signed-off-by: Mattias R=C3=B6nnblom > Acked-by: Morten Br=C3=B8rup > Acked-by: Konstantin Ananyev > Acked-by: Chengwen Feng > Acked-by: Stephen Hemminger This looks like a problem. -------------------------------BEGIN LOGS---------------------------- ###########################################################################= ######### #### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and = test ###########################################################################= ######### + configure_coredump + which gdb + ulimit -c unlimited + sudo sysctl -w kernel.core_pattern=3D/tmp/dpdk-core.%e.%p kernel.core_pattern =3D /tmp/dpdk-core.%e.%p + devtools/test-null.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D67776=3D=3DERROR: AddressSanitizer: invalid alignment requested in al= igned_alloc: 64, alignment must be a power of two and the requested size 0x= 8000008 must be a multiple of alignment (thread T0) #0 0x5562b2504042 in aligned_alloc (/home/runner/work/dpdk/dpdk/build/a= pp/dpdk-testpmd+0xaad042) (BuildId: 731d8ec8ca4a6bf8e01bfd7548ebeb784aece6e= 3) #1 0x5562b37f671b in lcore_var_alloc /home/runner/work/dpdk/dpdk/build/= ../lib/eal/common/eal_common_lcore_var.c:77:20 #2 0x5562b37f671b in rte_lcore_var_alloc /home/runner/work/dpdk/dpdk/bu= ild/../lib/eal/common/eal_common_lcore_var.c:123:9 #3 0x5562b341b902 in rte_power_ethdev_pmgmt_init /home/runner/work/dpdk= /dpdk/build/../lib/power/rte_power_pmd_mgmt.c:775:2 #4 0x7f76b7829eba in call_init csu/../csu/libc-start.c:145:3 #5 0x7f76b7829eba in __libc_start_main csu/../csu/libc-start.c:379:5 =3D=3D67776=3D=3DHINT: if you don't care about these errors you may set all= ocator_may_return_null=3D1 SUMMARY: AddressSanitizer: invalid-aligned-alloc-alignment (/home/runner/wo= rk/dpdk/dpdk/build/app/dpdk-testpmd+0xaad042) (BuildId: 731d8ec8ca4a6bf8e01= bfd7548ebeb784aece6e3) in aligned_alloc =3D=3D67776=3D=3DABORTING