Skip to content
Commit 35363b53 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

stdlib: Tuned down tst-arc4random-thread internal parameters



With new arc4random implementation, the internal parameters might
require a lot of runtime and/or trigger some contention on older
kernels (which might trigger spurious timeout failures).

Also, since we are now testing getrandom entropy instead of an
userspace RNG, there is no much need to extensive testing.

With this change the tst-arc4random-thread goes from about 1m to
5s on a Ryzen 9 with 5.15.0-41-generic.

Checked on x86_64-linux-gnu.

Reviewed-by: default avatarSzabolcs Nagy <szabolcs.nagy@arm.com>
parent bce0218d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment