[ovs-dev] [PATCH v1 1/1] hash: Enable hash_bytes128 optimization for aarch64.

Ben Pfaff blp at ovn.org
Wed Feb 27 18:26:34 UTC 2019


On Wed, Feb 27, 2019 at 05:44:06PM +0800, Yanqin Wei wrote:
> "hash_bytes128" has two versions for 64 bits and 32 bits system. This
> should be common optimization for their respective platforms. But 64 bits
> version was only enabled in x86-64. This patch enable it for aarch64
> platform.
> Micro benchmarking test was run in two kinds of arm platform. It was
> observed that 50% performance improvement in thunderX2 and 40% improvement
> in TaiShan(Cortex-A72).
> 
> Signed-off-by: Yanqin Wei <Yanqin.Wei at arm.com>

Thanks, applied to master.

(Maybe we should just enable it for all 64-bit systems with something
like #if UINTPTR_MAX >= UINT64_MAX.)


More information about the dev mailing list