/srv/irclogs.ubuntu.com/2017/12/06/#ubuntu-kernel.txt

=== mamarley_ is now known as mamarley
=== v12aml_ is now known as v12aml
amitkcking: hiya! How do I prevent stress-ng from running any memory stress tests (since I only have a Gig) but run everything else?10:09
amitkcking: I tried 'stress-ng -r 4 -x vm --minimize' but I still get several OOMs10:09
ckingamitk, the only easy way is to exclude all the ones that OOM by the -x option, so that's a a pain10:11
ckinghowever, there are quite a few stressors that can trigger OOMs. However, the OOMs won't affect stress-ng, it can respawn the stressors if they get OOM'd10:13
ckingone can specify per-stressor memory sizes in terms of memory size too (in bytes or % memory available)10:13
amitkcking: aah, ok. The list of stressors is quite long and there seems to be no easy way to eliminate an entire class of stressors10:14
ckingamitk, yep, that is a currently a pain point10:14
amitkcking: doesn't the --minimize flag avoid OOMs be being conservative?10:15
amitk*by10:15
ckingamitk, --minimize just selects the lower bounds settings10:15
amitkthat is the opposite of what I thought it does :-)10:15
amitkI guess I'm looking for max bounds on my memory and IO constrained systems10:16
ckingbut this is a per-test specific setting; some stressors just require a few tens of MB to run effectively10:16
ckingand that's the lower bounds10:16
ckingamitk, i suggest running each stressor one by one with a specific memory bound set for the stressors you are interested in10:17
ckinge.g stress-ng --vm 0 --vm-bytes 80%10:17
amitkcking: I really want random to catch unexpected errors but was hoping to find a way to say "don't commit beyond 60% of memory"10:18
ckingamitk, OK, I think one needs to just select the subset of stressors you are interested in and specify the memory size according to your desired constraints on a per-stressor basis10:19
ckingyep, it's a pain10:19
amitkcking: ok, thanks. Its been very useful so far to test cpufreq and thermal :-)10:21
ckingamitk, that's good to know. it can make CPUs run quite hot :-)10:21

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!