diff options
author | Chase Qi <chase.qi@linaro.org> | 2016-04-22 17:18:07 +0800 |
---|---|---|
committer | Chase Qi <chase.qi@linaro.org> | 2016-04-22 17:19:12 +0800 |
commit | ff62741aa1b9178b4f2443f1c98907ba0d0e1a36 (patch) | |
tree | 0636e2a75605380c4b577369a78f495d5e5e7a9c | |
parent | 104c5283e97c37390067e44f060e19c6f19c0857 (diff) |
Add a comment about stress oom test.
-rwxr-xr-x | 24h-stress-test.sh | 1 | ||||
-rwxr-xr-x | aosp-24h-stress-test.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/24h-stress-test.sh b/24h-stress-test.sh index e60b8e0..334927b 100755 --- a/24h-stress-test.sh +++ b/24h-stress-test.sh @@ -134,6 +134,7 @@ stress_oom() cat /proc/$kernel_log/oom_adj # Run stress-ng-vm test to trigger oom-killer. + # In stress-vm.c file, NO_MEM_RETRIES_MAX has been increased to 1000000000 for OOM stress test. echo "mmap ${vm_bytes}KB per vm process to occupy all memory to trigger oom-killer." stress-ng --vm $processor_number --vm-bytes ${vm_bytes}k --timeout $duration --metrics-brief --verbose print_test_result stress-ng-oom $? diff --git a/aosp-24h-stress-test.sh b/aosp-24h-stress-test.sh index 2668b79..01e3233 100755 --- a/aosp-24h-stress-test.sh +++ b/aosp-24h-stress-test.sh @@ -136,6 +136,7 @@ stress_oom() cat /proc/$kernel_log/oom_adj # Run stress-ng-vm test to trigger oom-killer. + # In stress-vm.c file, NO_MEM_RETRIES_MAX has been increased to 1000000000 for OOM stress test. echo "mmap ${vm_bytes}KB per vm process to occupy all memory to trigger oom-killer." stress-ng --vm $processor_number --vm-bytes ${vm_bytes}k --timeout $duration --metrics-brief --verbose print_test_result stress-ng-oom $? |