[dpdk-dev] [PATCH v4 1/3] spinlock: use wfe to reduce contention on aarch64

2021-07-06 Thread Ruifeng Wang
From: Gavin Hu In acquiring a spinlock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API. Running the micro benchmarking and the testpmd and l3fwd traffic tests on ThunderX2, Ampere eMAG80 and Arm N1SDP, everything went well and no notable performance gain no

[dpdk-dev] [PATCH v4 1/3] spinlock: use wfe to reduce contention on aarch64

2021-07-06 Thread Ruifeng Wang
From: Gavin Hu In acquiring a spinlock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API. Running the micro benchmarking and the testpmd and l3fwd traffic tests on ThunderX2, Ampere eMAG80 and Arm N1SDP, everything went well and no notable performance gain no