[PATCH] aarch64: Add tunable glibc.memset.dc_zva_threshold
Szabolcs Nagy
Szabolcs.Nagy@arm.com
Fri Jul 26 15:17:00 GMT 2019
On 26/07/2019 12:58, Feng Xue OS wrote:
> This patch is composed to add a tunable 'glibc.memset.dc_zva_threshold'
> to control using DC ZVA in memset or not. Only when memset size exceeds
> this threshold, DC ZVA will be used.
>
> The background is that DC ZVA does not always outperform normal
> memory-store zeroing, especially when there are multiple processes/threads
> contending for memory/cache.
adding a threshold to memset_emag is fine, but
i'm not yet convinced that a tunable threshold
is useful enough.
is it expected that different workloads require
different setting? is this effect significant?
More information about the Libc-alpha
mailing list