[PATCH] test/memcpy: reduce alignment offset coverage to fix timeout

Thomas Monjalon thomas at monjalon.net
Tue Mar 17 18:01:16 CET 2026


> > The memcpy test sweeps all 32x32 src/dst alignment offset pairs which
> > causes it to timeout on slow emulated 32-bit build environments [1].
> > 
> > Replace with a curated set of 7 offsets {0, 1, 7, 15, 16, 17, 31}
> > that cover the interesting alignment boundaries. This reduces the
> > iterations from 38912 to 1862 while covering the same code paths.
> > 
> > [1]
> > https://build.opensuse.org/package/live_build_log/home:bluca:dpdk/dpdk/De
> > bian_Testing/i586
> > 
> > Reported-by: Luca Boccassi <bluca at debian.org>
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> 
> 10/03/2026 18:04, Ji, Kai:
> LGTM,
> 
> I'm not AVX-512 expert, but I think AVX-512 might expect  64-bytes alignment,.
> As the original  ALIGNMENT_UNIT is 32, so I think the selection of offsets is no problem.
> Maybe remove AVX-512 from the comments ?

Applied with AVX512 removed from the comment, thanks.




More information about the dev mailing list