Files
scoutfs/tests/tests
Auke Kok ad078cd93c Avoid lock stalling mmap_stress
mmap_stress gets completely stalled in lock messaging and starving
most of the mmap_stress threads, which causes it to delay and even
time out in CI.

Instead of spawning threads over all 5 test nodes, we reduce it
to spawning over only 2 artificially. This still does a good number
of operations on those node, and now the work is spread across the
two nodes evenly.

Additionaly, I've added a miniscule (10ms) delay in between operations
that should hopefully be sufficient for other locking attempts to
settle and allow the threads to better spread the work.

This now shows that all the threads exit within < 0.25s on my test
machine, which is a lot better than the 40s variation that I was seeing
locally. Hopefully this fares better in CI.

Signed-off-by: Auke Kok <auke.kok@versity.com>
2025-11-13 12:43:31 -08:00
..
2022-02-17 11:20:08 -08:00
2019-08-02 16:51:34 -07:00
2025-11-13 12:43:31 -08:00
2023-01-09 14:49:23 -08:00
2024-06-28 15:09:05 -07:00
2025-01-27 14:49:04 -05:00
2024-06-28 15:09:05 -07:00
2025-11-13 12:43:31 -08:00