[dpdk-dev] [PATCH v5 5/8] ticketlock: use new API to reduce contention on aarch64

Jerin Jacob jerinjacobk at gmail.com
Thu Sep 12 18:14:20 CEST 2019


On Thu, Sep 12, 2019 at 4:57 PM Gavin Hu <gavin.hu at arm.com> wrote:
>
> 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 at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Tested-by: Phil Yang <phil.yang at arm.com>
> Tested-by: Pavan Nikhilesh <pbhagavatula at marvell.com>

Reviewed-by: Jerin Jacob <jerinj at marvell.com>


More information about the dev mailing list