This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Improve string benchtest timing
On 21/05/19 12:14 AM, Adhemerval Zanella wrote:
> Reading the initial benchmark comment, it seems the original intention is
> indeed to measure some sizes different than the multiple of START_SIZE
> (my guess is to measure some tail handling on memcpy). So either adjust
> the comment accordingly to reflect what the benchmark is now measuring
> or maybe add some sizes non multiple of START_SIZE.
>
> Siddhesh, do you recall why did you added the 'misaligning' sizes?
The misalignment was a simulation of a proprietary workload that was
used to tune memcpy when I wrote it. This proposed change skews the
numbers in favour of aligned inputs, which is not really a bad thing.
I'm OK with this bit.
Siddhesh