Skip to content

Commit

Permalink
add script
Browse files Browse the repository at this point in the history
  • Loading branch information
1a1a11a committed May 17, 2024
1 parent 638e186 commit 6a9a909
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/plot/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

for f in /disk/cphy_vscsi/w*; do
for algo in fifo lru arc lirs twoQ tinylfu sieve; do
echo ./bin/cachesim $f vscsi ${algo} 0 --ignore-obj-size 1 >> task;
done
echo ./bin/cachesim $f vscsi s3fifo,cloud2QPlus 0 --ignore-obj-size 1 -e "move-to-main-threshold=2" >> task;
for ignore_perc in 0 0.01 0.05 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1; do
echo ./bin/cachesim $f vscsi cloud2QPlus 0 --ignore-obj-size 1 -e "move-to-main-threshold=2,corr-window-ratio=${ignore_perc}" >> task;
done
done

./bin/cachesim $f vscsi cloud2QPlus 0 --ignore-obj-size 1 -e "move-to-main-threshold=2,corr-window-ratio=1"
./bin/cachesim $f vscsi twoQ 0 --ignore-obj-size 1 &

0 comments on commit 6a9a909

Please sign in to comment.