numam-dpdk/lib/librte_eal
Gavin Hu b13a21890a ticketlock: use new API to reduce contention on aarch64
While using ticket lock, cores repeatedly poll the lock variable.
This is replaced by rte_wait_until_equal API.

Running ticketlock_autotest on ThunderX2, Ampere eMAG80, and Arm N1SDP[1],
there were variances between runs, but no notable performance gain or
degradation were seen with and without this patch.

[1] https://community.arm.com/developer/tools-software/oss-platforms/w/\
docs/440/neoverse-n1-sdp

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tested-by: Phil Yang <phil.yang@arm.com>
Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2020-01-17 12:02:21 +01:00
..
common ticketlock: use new API to reduce contention on aarch64 2020-01-17 12:02:21 +01:00
freebsd build: remove individual library versions 2019-11-20 23:05:39 +01:00
linux eal/linux: fix build error on RHEL 7.6 2019-12-04 14:22:02 +01:00
windows/eal eal/windows: remove tail queue license boilerplate 2019-11-28 03:12:55 +01:00
Makefile build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_eal_exports.def build: add module definition files for Windows 2019-04-03 01:21:31 +02:00
rte_eal_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00