From 4d7632ff687dc60fb9ed38bae682d395017b61a8 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 20 Nov 2017 17:55:59 +0530 Subject: benchtests: Fix walking sizes and directions for *-walk benchmarks Make the walking benchmarks walk only backwards since copying both ways is biased in favour of implementations that use non-temporal stores for larger sizes; falkor is one of them. This also fixes up bugs in computation of the result which ended up multiplying the length with the timing result unnecessarily. * benchtests/bench-memcpy-walk.c (do_one_test): Copy only backwards. Fix timing computation. * benchtests/bench-memmove-walk.c (do_one_test): Likewise. * benchtests/bench-memset-walk.c (do_one_test): Walk backwards on memset by N at a time. Fix timing computation. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 225596d..746222d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2017-11-20 Siddhesh Poyarekar + + * benchtests/bench-memcpy-walk.c (do_one_test): Copy only + backwards. Fix timing computation. + * benchtests/bench-memmove-walk.c (do_one_test): Likewise. + * benchtests/bench-memset-walk.c (do_one_test): Walk backwards + on memset by N at a time. Fix timing computation. + 2017-11-20 Florian Weimer * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB, -- cgit v1.1