[LTP] [PATCH v1] swapping01.c: Add sleeps in the loop that dirties the memory

Cyril Hrubis chrubis@suse.cz
Fri Apr 19 10:36:19 CEST 2024


Hi!
> Yeah I proposed you can try to reduce the sleep time/frequency to basically
> to lowest value (with some margin) that resolves the issue reliably in your
> testing. That 10ms per MB was just a possible starting point.

The usuall practice we do in LTP is to measure the minimal value
required for the test to pass and then double that for the final value.
But even with that I suppose that the value should be less than 10s.

Wei can you please try to measure how long are the shortest sleeps we
need in order to make the test pass?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list