From 0e61f29f29a7526c2a6d450f175e82c2a3b1c6b2 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Fri, 12 Feb 2016 15:50:04 -0500 Subject: Changes in response to review comments --- bin/memory_stress_ng | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++ bin/memory_test_ng | 146 ----------------------------------------------- 2 files changed, 157 insertions(+), 146 deletions(-) create mode 100755 bin/memory_stress_ng delete mode 100755 bin/memory_test_ng (limited to 'bin') diff --git a/bin/memory_stress_ng b/bin/memory_stress_ng new file mode 100755 index 00000000..e33cccf4 --- /dev/null +++ b/bin/memory_stress_ng @@ -0,0 +1,157 @@ +#!/bin/bash + +# Script to perform memory stress tests +# +# Copyright (c) 2016 Canonical Ltd. +# +# Authors +# Rod Smith +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 3, +# as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# The purpose of this script is to run memory stress tests using the +# stress-ng program. It also happens to impose a heavy CPU load, but +# that's a side effect of the memory stressors, not their purpose. +# +# Usage: +# memory_stress_ng [ --base-time