aboutsummaryrefslogtreecommitdiffstats
path: root/case-msync
blob: a859802be11999a594e6c463dfcb66dbccf54c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. ./hw_vars

SIZE=$((mem / nr_task / 2))

for i in `seq $nr_task`
do
	create_sparse_file $SPARSE_FILE-$i $mem
	$USEMEM -S -f $SPARSE_FILE-$i -F --prealloc --open-rw  $SIZE &
done
wait

rm $SPARSE_FILE-*