[LTP] [RFC PATCH] fallocate05: increase the fallocate and defallocate size

Cyril Hrubis chrubis@suse.cz
Fri Sep 24 11:33:32 CEST 2021


Hi!
> > FYI I've tried to run syscalls on a VM with 256MB RAM just to see what
> > explodes and it looks like futex_cmp_requeue01 fails as well because we
> > don't have enough memory to fork 1000 processes. I guess that we really
> > need an API for at least rough scaling for the number of processes we
> > can run based on free memory. With that we could finally fix the
> > msgstress testcases as well.
> >
> 
> +1 Sounds good.
> 
> [Cc Fang Ping]
> 
> Btw, AFAIK, pifang@ is working on an SUT ability(io, memory, ..) evaluation
> before running the test, then set test parameters intelligently according
> to the
> lite benchmark result. This will definitely help make a proper runtest file
> for LTP,
> but I'm not sure if he plans to integrate it in LTP internally.
> 
> I will talk to him to learn more details.

This is a complex problem, but for now I guess that putting the logic in
the test library would be easiest solution, that allows the tests at
least skip subset of scenarios.

In the long term I guess that the logic can be put into runltp-ng but I
do not think that we can make it work anytime soon. At least this would
require definition of some kind of (JSON based) API that would explain
the test parameters to the testrunner.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list