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

Li Wang liwang@redhat.com
Fri Sep 24 08:49:17 CEST 2021


On Thu, Sep 23, 2021 at 10:32 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> 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.

>
> Also it seems that in my case the tmpfs returns ENOSPC correctly when
> the machine free memory gets low enough regardless of the limit set at
> the mount time, and that's 4.19.0-16-amd64. So I guess that there may be
> something wrong in the kernel you are testing after all.
>

Maybe yes, so I send request for more info of Ralph's system.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210924/1254ca85/attachment.htm>


More information about the ltp mailing list