diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-09-30 21:34:24 +0800 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2014-10-06 20:55:29 +0800 |
commit | 70c91e7aa20ad7b76049f5392395324899e73c72 (patch) | |
tree | e66904cdee4dda368938ce413ef40c57e4b40271 | |
parent | 489eae21e67433f36c3809d9792cd1e17e424fdd (diff) | |
download | vm-scalability-70c91e7aa20ad7b76049f5392395324899e73c72.tar.gz |
fix too short runtime for the seq cases
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
-rwxr-xr-x | case-anon-rx-seq-mt | 2 | ||||
-rwxr-xr-x | case-mmap-pread-seq | 4 | ||||
-rwxr-xr-x | case-mmap-pread-seq-mt | 4 | ||||
-rwxr-xr-x | case-mmap-xread-seq-mt | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/case-anon-rx-seq-mt b/case-anon-rx-seq-mt index 8c86ee9..c15fd3e 100755 --- a/case-anon-rx-seq-mt +++ b/case-anon-rx-seq-mt @@ -2,4 +2,4 @@ source ./hw_vars -$USEMEM -t $nr_cpu --prealloc --readonly $((ROTATE_BYTES / nr_cpu)) +$USEMEM -t $nr_cpu --prealloc --readonly $((ROTATE_BYTES)) diff --git a/case-mmap-pread-seq b/case-mmap-pread-seq index 7931b67..9754241 100755 --- a/case-mmap-pread-seq +++ b/case-mmap-pread-seq @@ -2,8 +2,8 @@ source ./hw_vars -create_sparse_file $SPARSE_FILE $((ROTATE_BYTES / nr_cpu)) +create_sparse_file $SPARSE_FILE $((ROTATE_BYTES)) -$USEMEM -n $nr_cpu -f $SPARSE_FILE --readonly $((ROTATE_BYTES / nr_cpu)) +$USEMEM -n $nr_cpu -f $SPARSE_FILE --readonly $((ROTATE_BYTES)) rm $SPARSE_FILE diff --git a/case-mmap-pread-seq-mt b/case-mmap-pread-seq-mt index ed889e1..8c897af 100755 --- a/case-mmap-pread-seq-mt +++ b/case-mmap-pread-seq-mt @@ -2,8 +2,8 @@ source ./hw_vars -create_sparse_file $SPARSE_FILE $((ROTATE_BYTES / nr_cpu)) +create_sparse_file $SPARSE_FILE $((ROTATE_BYTES)) -$USEMEM -t $nr_cpu -f $SPARSE_FILE --readonly $((ROTATE_BYTES / nr_cpu)) +$USEMEM -t $nr_cpu -f $SPARSE_FILE --readonly $((ROTATE_BYTES >> 3)) rm $SPARSE_FILE diff --git a/case-mmap-xread-seq-mt b/case-mmap-xread-seq-mt index b3ba903..b575df5 100755 --- a/case-mmap-xread-seq-mt +++ b/case-mmap-xread-seq-mt @@ -2,8 +2,8 @@ source ./hw_vars -create_sparse_file $SPARSE_FILE $((ROTATE_BYTES / nr_cpu)) +create_sparse_file $SPARSE_FILE $((ROTATE_BYTES)) -$USEMEM -t $nr_cpu -f $SPARSE_FILE --prealloc --readonly $((ROTATE_BYTES / nr_cpu)) +$USEMEM -t $nr_cpu -f $SPARSE_FILE --prealloc --readonly $((ROTATE_BYTES >> 3)) rm $SPARSE_FILE |