aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-09-12 15:17:51 +0800
committerFengguang Wu <fengguang.wu@intel.com>2013-09-12 15:45:23 +0800
commit53042a263e094c436a6bb20b93660882e0f2d0ab (patch)
tree7d44485adcd0a2f9b7d4344d797a876f2d555d42
parentcaccedbe0ea4c4eb0730c947694664eb9d313a1c (diff)
downloadvm-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-write0
-rwxr-xr-x[-rw-r--r--]case-ksm0
-rwxr-xr-x[-rw-r--r--]case-ksm-hugepages0
-rwxr-xr-x[-rw-r--r--]case-lru-shm0
-rwxr-xr-x[-rw-r--r--]case-lru-shm-rand0
-rwxr-xr-x[-rw-r--r--]case-mbind0
-rwxr-xr-x[-rw-r--r--]case-migrate-across-nodes0
-rwxr-xr-x[-rw-r--r--]case-mincore0
-rwxr-xr-x[-rw-r--r--]case-mincore-hugepages0
-rwxr-xr-x[-rw-r--r--]case-mremap-xread-rand-mt0
-rwxr-xr-x[-rw-r--r--]case-msync0
-rwxr-xr-x[-rw-r--r--]case-msync-mt0
-rwxr-xr-x[-rw-r--r--]case-posix-advise0
-rwxr-xr-x[-rw-r--r--]case-remap0
-rwxr-xr-x[-rw-r--r--]case-shm-lock-unlock0
-rwxr-xr-xhw_vars6
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 b/case-ksm
index 205a915..205a915 100644..100755
--- a/case-ksm
+++ b/case-ksm
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
diff --git a/hw_vars b/hw_vars
index 28a71de..a09e8f0 100755
--- a/hw_vars
+++ b/hw_vars
@@ -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-/}