aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-06-19 20:26:21 +0800
committerFengguang Wu <fengguang.wu@intel.com>2012-06-19 20:26:21 +0800
commit4601a5993132dd9b4f977f24a03917dd3b2f29b0 (patch)
treebfbc4d47cfe0dfce36fa8ac5737b019be132a7c2
parent45d76a2ddbde323e99a291fd514f634d250e5597 (diff)
downloadvm-scalability-4601a5993132dd9b4f977f24a03917dd3b2f29b0.tar.gz
fix path name for source
-rwxr-xr-xcase-000-anon2
-rwxr-xr-xcase-000-shm2
-rwxr-xr-xcase-000-shm-clean2
-rwxr-xr-xcase-anon-cow-rand2
-rwxr-xr-xcase-anon-cow-rand-mt2
-rwxr-xr-xcase-anon-cow-seq2
-rwxr-xr-xcase-anon-cow-seq-mt2
-rwxr-xr-xcase-anon-r-rand2
-rwxr-xr-xcase-anon-r-rand-mt2
-rwxr-xr-xcase-anon-r-seq2
-rwxr-xr-xcase-anon-r-seq-mt2
-rwxr-xr-xcase-anon-rx-rand-mt2
-rwxr-xr-xcase-anon-rx-seq-mt2
-rwxr-xr-xcase-anon-w-rand2
-rwxr-xr-xcase-anon-w-rand-mt2
-rwxr-xr-xcase-anon-w-seq2
-rwxr-xr-xcase-anon-w-seq-mt2
-rwxr-xr-xcase-anon-wx-rand-mt2
-rwxr-xr-xcase-anon-wx-seq-mt2
-rwxr-xr-xcase-fork2
-rwxr-xr-xcase-fork-sleep2
-rwxr-xr-xcase-hugetlb2
-rwxr-xr-xcase-lru-file-mmap-read2
-rwxr-xr-xcase-lru-file-mmap-read-rand2
-rwxr-xr-xcase-lru-file-readonce2
-rwxr-xr-xcase-lru-file-readtwice2
-rwxr-xr-xcase-lru-memcg2
-rw-r--r--case-lru-shm2
-rw-r--r--case-lru-shm-rand2
-rwxr-xr-xcase-migrate2
-rwxr-xr-xcase-mlock2
-rwxr-xr-xcase-mmap-pread-rand2
-rwxr-xr-xcase-mmap-pread-rand-mt2
-rwxr-xr-xcase-mmap-pread-seq2
-rwxr-xr-xcase-mmap-pread-seq-mt2
-rwxr-xr-xcase-mmap-xread-rand-mt2
-rwxr-xr-xcase-mmap-xread-seq-mt2
-rwxr-xr-xcase-shm-pread-rand2
-rwxr-xr-xcase-shm-pread-rand-mt2
-rwxr-xr-xcase-shm-pread-seq2
-rwxr-xr-xcase-shm-pread-seq-mt2
-rwxr-xr-xcase-shm-xread-rand2
-rwxr-xr-xcase-shm-xread-rand-mt2
-rwxr-xr-xcase-shm-xread-seq2
-rwxr-xr-xcase-shm-xread-seq-mt2
-rwxr-xr-xcase-small-allocs2
-rwxr-xr-xcase-small-allocs-mt2
-rwxr-xr-xcase-truncate2
-rwxr-xr-xrun2
49 files changed, 49 insertions, 49 deletions
diff --git a/case-000-anon b/case-000-anon
index 53814a2..430a036 100755
--- a/case-000-anon
+++ b/case-000-anon
@@ -2,6 +2,6 @@
# fill memory with anon pages
-source hw_vars
+source ./hw_vars
$USEMEM $((mem/3)) --detach --sleep 100000 --pid-file $PIDFILE
diff --git a/case-000-shm b/case-000-shm
index 59a5a82..1ac359e 100755
--- a/case-000-shm
+++ b/case-000-shm
@@ -2,7 +2,7 @@
# fill memory with shm/tmpfs pages
-source hw_vars
+source ./hw_vars
create_sparse_file /dev/shm/XXX $((mem/3))
diff --git a/case-000-shm-clean b/case-000-shm-clean
index ceb6d9a..2386556 100755
--- a/case-000-shm-clean
+++ b/case-000-shm-clean
@@ -2,7 +2,7 @@
# fill memory with clean shm/tmpfs pages
-source hw_vars
+source ./hw_vars
size=$((mem / 3))
size=$((mem))
diff --git a/case-anon-cow-rand b/case-anon-cow-rand
index 9c0a7e2..5de808c 100755
--- a/case-anon-cow-rand
+++ b/case-anon-cow-rand
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --prealloc --prefault --random $((mem / nr_cpu / 2))
diff --git a/case-anon-cow-rand-mt b/case-anon-cow-rand-mt
index c1dc028..64037df 100755
--- a/case-anon-cow-rand-mt
+++ b/case-anon-cow-rand-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --prealloc --prefault --random $((mem / nr_cpu / 2))
diff --git a/case-anon-cow-seq b/case-anon-cow-seq
index 72e0deb..68eceb1 100755
--- a/case-anon-cow-seq
+++ b/case-anon-cow-seq
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --prealloc --prefault $((mem / nr_cpu / 2))
diff --git a/case-anon-cow-seq-mt b/case-anon-cow-seq-mt
index f941149..53be7a0 100755
--- a/case-anon-cow-seq-mt
+++ b/case-anon-cow-seq-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --prealloc --prefault $((mem / nr_cpu / 2))
diff --git a/case-anon-r-rand b/case-anon-r-rand
index caabd46..96e2f35 100755
--- a/case-anon-r-rand
+++ b/case-anon-r-rand
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --readonly --random $((mem / nr_cpu / 2))
diff --git a/case-anon-r-rand-mt b/case-anon-r-rand-mt
index 647aced..eaaacdb 100755
--- a/case-anon-r-rand-mt
+++ b/case-anon-r-rand-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --readonly --random $((mem / nr_cpu / 2))
diff --git a/case-anon-r-seq b/case-anon-r-seq
index ed48dfc..6925001 100755
--- a/case-anon-r-seq
+++ b/case-anon-r-seq
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --readonly $((mem / nr_cpu / 2))
diff --git a/case-anon-r-seq-mt b/case-anon-r-seq-mt
index f6d156f..60956e6 100755
--- a/case-anon-r-seq-mt
+++ b/case-anon-r-seq-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --readonly $((mem / nr_cpu / 2))
diff --git a/case-anon-rx-rand-mt b/case-anon-rx-rand-mt
index 7d7257f..4b8b31a 100755
--- a/case-anon-rx-rand-mt
+++ b/case-anon-rx-rand-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --prealloc --readonly --random $((mem / nr_cpu / 2))
diff --git a/case-anon-rx-seq-mt b/case-anon-rx-seq-mt
index f6ae833..337b019 100755
--- a/case-anon-rx-seq-mt
+++ b/case-anon-rx-seq-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --prealloc --readonly $((mem / nr_cpu / 2))
diff --git a/case-anon-w-rand b/case-anon-w-rand
index ebe5347..ca246ff 100755
--- a/case-anon-w-rand
+++ b/case-anon-w-rand
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --random $((mem / nr_cpu / 2))
diff --git a/case-anon-w-rand-mt b/case-anon-w-rand-mt
index 6f89ac0..2674bbe 100755
--- a/case-anon-w-rand-mt
+++ b/case-anon-w-rand-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --random $((mem / nr_cpu / 2))
diff --git a/case-anon-w-seq b/case-anon-w-seq
index 937be12..5bf15d2 100755
--- a/case-anon-w-seq
+++ b/case-anon-w-seq
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu $((mem / nr_cpu / 2))
diff --git a/case-anon-w-seq-mt b/case-anon-w-seq-mt
index cbd1acf..ae1de60 100755
--- a/case-anon-w-seq-mt
+++ b/case-anon-w-seq-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu $((mem / nr_cpu / 2))
diff --git a/case-anon-wx-rand-mt b/case-anon-wx-rand-mt
index 24d5c70..25c3af3 100755
--- a/case-anon-wx-rand-mt
+++ b/case-anon-wx-rand-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --prealloc --random $((mem / nr_cpu / 2))
diff --git a/case-anon-wx-seq-mt b/case-anon-wx-seq-mt
index 512964c..ac3f867 100755
--- a/case-anon-wx-seq-mt
+++ b/case-anon-wx-seq-mt
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --prealloc $((mem / nr_cpu / 2))
diff --git a/case-fork b/case-fork
index 0b761a7..b0731f9 100755
--- a/case-fork
+++ b/case-fork
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n 20000 0
diff --git a/case-fork-sleep b/case-fork-sleep
index 8a0778c..9fa36c0 100755
--- a/case-fork-sleep
+++ b/case-fork-sleep
@@ -1,5 +1,5 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
$USEMEM -n 20000 0 --sleep 10
diff --git a/case-hugetlb b/case-hugetlb
index ef125cb..4eb34df 100755
--- a/case-hugetlb
+++ b/case-hugetlb
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
# XXX: due to fragmentation, it normally allocates much less memory
echo $((mem/Hugepagesize/1024 / 3)) > /proc/sys/vm/nr_hugepages
diff --git a/case-lru-file-mmap-read b/case-lru-file-mmap-read
index 69d64d4..680c902 100755
--- a/case-lru-file-mmap-read
+++ b/case-lru-file-mmap-read
@@ -6,7 +6,7 @@
# 1781926 ____pagevec_lru_add
# 736056 shrink_inactive_list
-source hw_vars
+source ./hw_vars
for i in `seq 1 $nr_cpu`
do
diff --git a/case-lru-file-mmap-read-rand b/case-lru-file-mmap-read-rand
index 74c24d1..1cd4dca 100755
--- a/case-lru-file-mmap-read-rand
+++ b/case-lru-file-mmap-read-rand
@@ -6,7 +6,7 @@
# 1781926 ____pagevec_lru_add
# 736056 shrink_inactive_list
-source hw_vars
+source ./hw_vars
for i in `seq 1 $nr_cpu`
do
diff --git a/case-lru-file-readonce b/case-lru-file-readonce
index c5335a5..5a3cabd 100755
--- a/case-lru-file-readonce
+++ b/case-lru-file-readonce
@@ -6,7 +6,7 @@
# 1781926 ____pagevec_lru_add
# 736056 shrink_inactive_list
-source hw_vars
+source ./hw_vars
for i in `seq 1 $nr_cpu`
do
diff --git a/case-lru-file-readtwice b/case-lru-file-readtwice
index dfa1c2f..3e2f9f0 100755
--- a/case-lru-file-readtwice
+++ b/case-lru-file-readtwice
@@ -13,7 +13,7 @@
# 33637385 free_pcppages_bulk
# 33650227 rmqueue_bulk
-source hw_vars
+source ./hw_vars
for i in `seq 1 $nr_cpu`
do
diff --git a/case-lru-memcg b/case-lru-memcg
index 4b89f6f..b08d678 100755
--- a/case-lru-memcg
+++ b/case-lru-memcg
@@ -11,7 +11,7 @@
# 449081 free_pcppages_bulk
# 441317 rmqueue_bulk
-source hw_vars
+source ./hw_vars
CGROUP=$(mount -t cgroup | grep memory | cut -f3 -d' ')
if [[ -z $CGROUP ]]; then
diff --git a/case-lru-shm b/case-lru-shm
index 503602b..ebf0f53 100644
--- a/case-lru-shm
+++ b/case-lru-shm
@@ -10,7 +10,7 @@
# 1781926 ____pagevec_lru_add
# 736056 shrink_inactive_list
-source hw_vars
+source ./hw_vars
for i in `seq 1 $nr_cpu`
do
diff --git a/case-lru-shm-rand b/case-lru-shm-rand
index b83d71c..c21c1c5 100644
--- a/case-lru-shm-rand
+++ b/case-lru-shm-rand
@@ -6,7 +6,7 @@
# 1781926 ____pagevec_lru_add
# 736056 shrink_inactive_list
-source hw_vars
+source ./hw_vars
for i in `seq 1 $nr_cpu`
do
diff --git a/case-migrate b/case-migrate
index 7626018..b986d74 100755
--- a/case-migrate
+++ b/case-migrate
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $mem
diff --git a/case-mlock b/case-mlock
index bf5ea83..2e10a43 100755
--- a/case-mlock
+++ b/case-mlock
@@ -9,6 +9,6 @@
# 41206 free_pcppages_bulk
# 29641 rmqueue_bulk
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --mlock $((reclaimable / nr_cpu / 3))
diff --git a/case-mmap-pread-rand b/case-mmap-pread-rand
index 031df93..f6f7ced 100755
--- a/case-mmap-pread-rand
+++ b/case-mmap-pread-rand
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $((mem / 2))
diff --git a/case-mmap-pread-rand-mt b/case-mmap-pread-rand-mt
index 2bf4530..9ec8a8b 100755
--- a/case-mmap-pread-rand-mt
+++ b/case-mmap-pread-rand-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $((mem / 2))
diff --git a/case-mmap-pread-seq b/case-mmap-pread-seq
index 783ada8..9e1c835 100755
--- a/case-mmap-pread-seq
+++ b/case-mmap-pread-seq
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $((mem / 2))
diff --git a/case-mmap-pread-seq-mt b/case-mmap-pread-seq-mt
index d2ebe2f..84ef8ae 100755
--- a/case-mmap-pread-seq-mt
+++ b/case-mmap-pread-seq-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $((mem / 2))
diff --git a/case-mmap-xread-rand-mt b/case-mmap-xread-rand-mt
index 5f2a0db..565d21f 100755
--- a/case-mmap-xread-rand-mt
+++ b/case-mmap-xread-rand-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $((mem / 2))
diff --git a/case-mmap-xread-seq-mt b/case-mmap-xread-seq-mt
index 06f1505..a38d326 100755
--- a/case-mmap-xread-seq-mt
+++ b/case-mmap-xread-seq-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SPARSE_FILE $((mem / 2))
diff --git a/case-shm-pread-rand b/case-shm-pread-rand
index 4aeb9b7..0147040 100755
--- a/case-shm-pread-rand
+++ b/case-shm-pread-rand
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-pread-rand-mt b/case-shm-pread-rand-mt
index 579bc06..964107f 100755
--- a/case-shm-pread-rand-mt
+++ b/case-shm-pread-rand-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-pread-seq b/case-shm-pread-seq
index b47a0c4..b28efb2 100755
--- a/case-shm-pread-seq
+++ b/case-shm-pread-seq
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-pread-seq-mt b/case-shm-pread-seq-mt
index c938336..5c75a92 100755
--- a/case-shm-pread-seq-mt
+++ b/case-shm-pread-seq-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-xread-rand b/case-shm-xread-rand
index 66b54d2..ba958d8 100755
--- a/case-shm-xread-rand
+++ b/case-shm-xread-rand
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-xread-rand-mt b/case-shm-xread-rand-mt
index 7954426..1cd365b 100755
--- a/case-shm-xread-rand-mt
+++ b/case-shm-xread-rand-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-xread-seq b/case-shm-xread-seq
index 3e84c7e..c0c5085 100755
--- a/case-shm-xread-seq
+++ b/case-shm-xread-seq
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-shm-xread-seq-mt b/case-shm-xread-seq-mt
index 921db36..611d2ce 100755
--- a/case-shm-xread-seq-mt
+++ b/case-shm-xread-seq-mt
@@ -1,6 +1,6 @@
#!/bin/bash
-source hw_vars
+source ./hw_vars
create_sparse_file $SHM_FILE $((mem / 2))
diff --git a/case-small-allocs b/case-small-allocs
index 3d4bbd6..606a669 100755
--- a/case-small-allocs
+++ b/case-small-allocs
@@ -3,6 +3,6 @@
# flush memory and
# create lots of small continuous VMAs
-source hw_vars
+source ./hw_vars
$USEMEM -n $nr_cpu --readonly --unit $((10 * pagesize)) $((10 * mem / nr_cpu))
diff --git a/case-small-allocs-mt b/case-small-allocs-mt
index 4a24632..e5e25b2 100755
--- a/case-small-allocs-mt
+++ b/case-small-allocs-mt
@@ -3,6 +3,6 @@
# flush memory and
# create lots of small continuous VMAs
-source hw_vars
+source ./hw_vars
$USEMEM -t $nr_cpu --readonly --unit $((10 * pagesize)) $((10 * mem / nr_cpu))
diff --git a/case-truncate b/case-truncate
index 5a97dda..1b63e63 100755
--- a/case-truncate
+++ b/case-truncate
@@ -3,7 +3,7 @@
# step 1) fill $mem with $nr_cpu files
# step 2) truncate the files concurrently
-source hw_vars
+source ./hw_vars
for i in `seq $nr_cpu`
do
diff --git a/run b/run
index 40b56a4..32cd4d8 100755
--- a/run
+++ b/run
@@ -90,7 +90,7 @@ perf_events=$(echo $perf_events | sed 's/ / -e /g')
################################################################################
# run it
-source hw_vars
+source ./hw_vars
OUT_DIR=$(hostname)-${nr_cpu}c-$(((mem + (1<<29))>>30))g
TEST_CASES=${@:-$(echo case-*)}