diff options
author | Aaron Lu <aaron.lu@intel.com> | 2016-07-07 16:01:33 +0800 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2016-07-07 18:15:28 +0800 |
commit | 72ae4f9f748af33daa9257b0b2012ea80fb9d25c (patch) | |
tree | a61fd38647377ef13229aceea5273c18ce74d5f0 | |
parent | c5a1d2a6a0d54e4b1e900307b504e9294cb6a34f (diff) | |
download | vm-scalability-72ae4f9f748af33daa9257b0b2012ea80fb9d25c.tar.gz |
case-msync-mt: remove the /N for thread case
The msync-mt case will preallocate and prefault a mmap space with a
sparse file as its backing store and then create N threads to write data
there. Since these threads share the same VM, we do not need /N for the
size of the preallocated space.
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
-rwxr-xr-x | case-msync-mt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/case-msync-mt b/case-msync-mt index b2b6f61..0e7824f 100755 --- a/case-msync-mt +++ b/case-msync-mt @@ -2,7 +2,7 @@ . ./hw_vars -SIZE=$((mem / nr_task / 2)) +SIZE=$((mem / 2)) create_sparse_file $SPARSE_FILE $mem |