diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-09-12 15:17:51 +0800 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2013-09-12 15:45:23 +0800 |
commit | 53042a263e094c436a6bb20b93660882e0f2d0ab (patch) | |
tree | 7d44485adcd0a2f9b7d4344d797a876f2d555d42 | |
parent | caccedbe0ea4c4eb0730c947694664eb9d313a1c (diff) | |
download | vm-scalability-53042a263e094c436a6bb20b93660882e0f2d0ab.tar.gz |
detect and use runtime ENV
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
-rwxr-xr-x[-rw-r--r--] | case-direct-write | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-ksm | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-ksm-hugepages | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-lru-shm | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-lru-shm-rand | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-mbind | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-migrate-across-nodes | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-mincore | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-mincore-hugepages | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-mremap-xread-rand-mt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-msync | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-msync-mt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-posix-advise | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-remap | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | case-shm-lock-unlock | 0 | ||||
-rwxr-xr-x | hw_vars | 6 |
16 files changed, 5 insertions, 1 deletions
diff --git a/case-direct-write b/case-direct-write index b3a48c9..b3a48c9 100644..100755 --- a/case-direct-write +++ b/case-direct-write diff --git a/case-ksm-hugepages b/case-ksm-hugepages index 5454edd..5454edd 100644..100755 --- a/case-ksm-hugepages +++ b/case-ksm-hugepages diff --git a/case-lru-shm b/case-lru-shm index ebf0f53..ebf0f53 100644..100755 --- a/case-lru-shm +++ b/case-lru-shm diff --git a/case-lru-shm-rand b/case-lru-shm-rand index c21c1c5..c21c1c5 100644..100755 --- a/case-lru-shm-rand +++ b/case-lru-shm-rand diff --git a/case-mbind b/case-mbind index 3e7ad37..3e7ad37 100644..100755 --- a/case-mbind +++ b/case-mbind diff --git a/case-migrate-across-nodes b/case-migrate-across-nodes index 1f78cc2..1f78cc2 100644..100755 --- a/case-migrate-across-nodes +++ b/case-migrate-across-nodes diff --git a/case-mincore b/case-mincore index ca0edb3..ca0edb3 100644..100755 --- a/case-mincore +++ b/case-mincore diff --git a/case-mincore-hugepages b/case-mincore-hugepages index 40ffbfa..40ffbfa 100644..100755 --- a/case-mincore-hugepages +++ b/case-mincore-hugepages diff --git a/case-mremap-xread-rand-mt b/case-mremap-xread-rand-mt index 255df22..255df22 100644..100755 --- a/case-mremap-xread-rand-mt +++ b/case-mremap-xread-rand-mt diff --git a/case-msync b/case-msync index 4ad7c63..4ad7c63 100644..100755 --- a/case-msync +++ b/case-msync diff --git a/case-msync-mt b/case-msync-mt index b408a02..b408a02 100644..100755 --- a/case-msync-mt +++ b/case-msync-mt diff --git a/case-posix-advise b/case-posix-advise index 0e7996f..0e7996f 100644..100755 --- a/case-posix-advise +++ b/case-posix-advise diff --git a/case-remap b/case-remap index c6ab55f..c6ab55f 100644..100755 --- a/case-remap +++ b/case-remap diff --git a/case-shm-lock-unlock b/case-shm-lock-unlock index 69c7f79..69c7f79 100644..100755 --- a/case-shm-lock-unlock +++ b/case-shm-lock-unlock @@ -1,6 +1,10 @@ #!/bin/bash -USEMEM=./usemem +if [[ $runtime ]]; then + USEMEM="./usemem --runtime $runtime" +else + USEMEM=./usemem +fi SHM_FILE=/dev/shm/sparse-${0/.*case-/} |