diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-22 09:15:16 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-22 09:15:16 -0400 |
commit | 27d69540ebff6b9b6c01263ae7b63f5ef4618bf7 (patch) | |
tree | cf59305b35945a003de8024c0e7bf552d43a4a3d /pts/test-resources/iozone | |
parent | 399d814fada32b27a705d8e4e60d3c80b7c39d3f (diff) | |
download | phoronix-test-suite-upstream-27d69540ebff6b9b6c01263ae7b63f5ef4618bf7.tar.gz phoronix-test-suite-upstream-27d69540ebff6b9b6c01263ae7b63f5ef4618bf7.tar.xz phoronix-test-suite-upstream-27d69540ebff6b9b6c01263ae7b63f5ef4618bf7.zip |
pts: Improve size detection in iozone test profile (Thanks to Michael
Ploujnikov)
Diffstat (limited to 'pts/test-resources/iozone')
-rw-r--r-- | pts/test-resources/iozone/install.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pts/test-resources/iozone/install.sh b/pts/test-resources/iozone/install.sh index dc0abf4..de437bf 100644 --- a/pts/test-resources/iozone/install.sh +++ b/pts/test-resources/iozone/install.sh @@ -11,4 +11,8 @@ case $OS_ARCH in make linux ;; esac -mv iozone ../../../iozone + +echo "#!/bin/sh +iozone_ram=\$((\$SYS_MEMORY * 2)) +iozone3_308/src/current/iozone -s \${iozone_ram}M \$@ 2>&1" > ../../../iozone +chmod +x ../../../iozone |