On 2024-10-14 18:30, Stephen Hemminger wrote:
On Mon, 14 Oct 2024 09:43:48 +0200
Mattias Rönnblom <mattias.ronnb...@ericsson.com> 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.
Signed-off-by: Mattias Rönnblom <mattias.ronnb...@ericsson.com>
Acked-by: Morten Brørup <m...@smartsharesystems.com>
Acked-by: Konstantin Ananyev <konstantin.anan...@huawei.com>
Acked-by: Chengwen Feng <fengcheng...@huawei.com>
Acked-by: Stephen Hemminger <step...@networkplumber.org>
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=/tmp/dpdk-core.%e.%p
kernel.core_pattern = /tmp/dpdk-core.%e.%p
+ devtools/test-null.sh
=================================================================
==67776==ERROR: AddressSanitizer: invalid alignment requested in aligned_alloc:
64, alignment must be a power of two and the requested size 0x8000008 must be a
multiple of alignment (thread T0)
#0 0x5562b2504042 in aligned_alloc
(/home/runner/work/dpdk/dpdk/build/app/dpdk-testpmd+0xaad042) (BuildId:
731d8ec8ca4a6bf8e01bfd7548ebeb784aece6e3)
#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/build/../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
==67776==HINT: if you don't care about these errors you may set
allocator_may_return_null=1
SUMMARY: AddressSanitizer: invalid-aligned-alloc-alignment
(/home/runner/work/dpdk/dpdk/build/app/dpdk-testpmd+0xaad042) (BuildId:
731d8ec8ca4a6bf8e01bfd7548ebeb784aece6e3) in aligned_alloc
==67776==ABORTING
Yes. Thanks.