[LTP] [RFC PATCH 4/4] memcg_stress_test.sh: allocate less than CommitLimit bytes

Cyril Hrubis chrubis@suse.cz
Tue May 24 18:46:54 CEST 2016


Hi!
> Now, after weekends are gone, I believe that there is no need in an 
> extra control group, if we let the tests allocate MemTotal bytes of 
> memory. There will always be swapping, and its intensity will not depend 
> on the amount of swap space configured, and it will not be "too much" 
> unless there are some mm-using processes running on the system.
> 
> I believe the attached patch introduces the minimal set of changes to 
> the original test case idea (as we understand it), but lets the test 
> case runs in different environments.
> 
> What do you think about it? Did I miss something?

This sounds reasonable enough to me.

I wonder if the test has anything to do with memory cgroups though,
maybe we should rename it to memory_stress and get rid of the cgroup
bits in it.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list