Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created September 10, 2018 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdcallag/6da742bb8ad0c7c30101ce2dd969a005 to your computer and use it in GitHub Desktop.
Save mdcallag/6da742bb8ad0c7c30101ce2dd969a005 to your computer and use it in GitHub Desktop.
cmu2.sh
nr=$1
maxrsecs=$2
dname=$3
vsz=$4
for j in 1 2 4 8 12 16 24 32 40 48 64; do
for cpri in 0 3; do
for dyn in 0 1 ; do
# reduce time to run read-only when there are more compaction threads
secs=$(( $maxrsecs / j ))
echo Running j=$j cpri=$cpri dyn=$dyn secs=$secs at $( date )
bash cmu1.sh $j $nr $cpri $dyn $secs $dname $vsz
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment