aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-11-27 20:21:57 +0800
committerFengguang Wu <fengguang.wu@intel.com>2012-11-27 20:29:24 +0800
commit5695ce4ddb26c402c11446dcdc8303ed1b7a4375 (patch)
treef0f813cc6f2d355c3a9d1798898f133833002d98
parent8a46ca5bb2e765d8b119815cf518bebedf9f9f6d (diff)
downloadvm-scalability-5695ce4ddb26c402c11446dcdc8303ed1b7a4375.tar.gz
Abhinav's work on case-msync-mt
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
-rw-r--r--case-msync-mt11
1 files changed, 11 insertions, 0 deletions
diff --git a/case-msync-mt b/case-msync-mt
new file mode 100644
index 0000000..b408a02
--- /dev/null
+++ b/case-msync-mt
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+source ./hw_vars
+
+SIZE=$((mem / 1000))
+
+create_sparse_file $SPARSE_FILE $SIZE
+
+$USEMEM -S -t $nr_cpu -f $SPARSE_FILE -F --prealloc --open-rw --random $SIZE
+
+rm $SPARSE_FILE