]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: fix TEST-56-OOMD thresholds for linux 5.9 changes 17829/head
authorAnita Zhang <the.anitazha@gmail.com>
Wed, 2 Dec 2020 22:41:38 +0000 (14:41 -0800)
committerAnita Zhang <the.anitazha@gmail.com>
Wed, 2 Dec 2020 23:27:15 +0000 (15:27 -0800)
commit14d044da23d6f2fa03066aedcc2600a479c1f731
tree99a80a8bac1ea19df095cd8a0154071c71edaa9f
parentf01a3b79fa96c5d89c6fa346b9aeb5e2639fb710
test: fix TEST-56-OOMD thresholds for linux 5.9 changes

Fixes #17533

The memory pressure values of the units in TEST-56-OOMD seemed to be a
lot lower after updating to linux 5.9. This is likely due to a fix from
https://github.com/torvalds/linux/commit/e22c6ed90aa91abc08f107344428ebb8c2629e98.

To account for this, I lowered memory.high on testbloat.service to
throttle it even more. This was enough to generate the 50%+ value to trigger
oomd for the test, but as an extra precaution I also lowered the oomd
threshold to 1% so it's certain to try and kill testbloat.service.
test/units/testsuite-56-testbloat.service
test/units/testsuite-56-workload.slice
test/units/testsuite-56.sh