qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 3/6] util/bufferiszero: remove AVX512 variant


From: Richard Henderson
Subject: Re: [PATCH v3 3/6] util/bufferiszero: remove AVX512 variant
Date: Wed, 7 Feb 2024 08:28:48 +1000
User-agent: Mozilla Thunderbird

On 2/7/24 06:48, Alexander Monakov wrote:
Thanks to early checks in the inline buffer_is_zero wrapper, the SIMD
routines are invoked much more rarely in normal use when most buffers
are non-zero. This makes use of AVX512 unprofitable, as it incurs extra
frequency and voltage transition periods during which the CPU operates
at reduced performance, as described in
https://travisdowns.github.io/blog/2020/01/17/avxfreq1.html

Signed-off-by: Mikhail Romanov<mmromanov@ispras.ru>
Signed-off-by: Alexander Monakov<amonakov@ispras.ru>
---
  util/bufferiszero.c | 36 ++----------------------------------
  1 file changed, 2 insertions(+), 34 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Although I think this patch should be ordered second.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]