add gapbs workload

This commit is contained in:
Sarah Zhou 2018-11-23 01:15:24 +00:00
parent 8d5b9183cd
commit 12e1d5a4f6
3 changed files with 65 additions and 192 deletions

View File

@ -17,6 +17,7 @@ allpaper: memcached-thread-imbalance simperf-test-latency simperf-test-scale bw-
# Default to the submodule
SPECKLE_DIR=Speckle
GAP_DIR=gapbs
#TODO: Provide runscripts for fp{speed, rate}
spec17_suites = intrate intspeed
@ -25,12 +26,27 @@ spec17_rootfs_dirs := $(patsubst %, spec17-%, $(spec17-suites))
$(SPECKLE_DIR)/build/overlay/%:
cd $(SPECKLE_DIR) && ./gen_binaries.sh --compile --suite $*
#Default to test input size for SPEC17 and GAPBS
input=test
spec17-%: spec17-%.json $(SPECKLE_DIR)/build/overlay/%
mkdir -p $@
cp $(BASE_LINUX) $@/bbl-vmlinux
python gen-benchmark-rootfs.py -w $< -r -b $(BASE_IMAGE) \
-s $(SPECKLE_DIR)/build/overlay/$*
$(GAP_DIR)/overlay/$(input):
cd $(GAP_DIR) && ./gen_run_scripts.sh --binaries --input $(input)
gapbs-kron: gapbs.json $(GAP_DIR)/overlay/$(input)
mkdir -p $@
cp $(BASE_LINUX) $@/bbl-vmlinux
python gen-benchmark-rootfs.py -w $< -r -b $(BASE_IMAGE) \
-s $(GAP_DIR)/overlay/$(input) \
-o $@
gapbs: gapbs-kron
memcached-thread-imbalance:
mkdir -p $@
sudo yum -y install gengetopt

View File

@ -0,0 +1,31 @@
[runfarm]
runfarmtag=gapbs-runfarm
f1_16xlarges=0
m4_16xlarges=0
f1_2xlarges=6
runinstancemarket=ondemand
spotinterruptionbehavior=terminate
spotmaxprice=ondemand
[targetconfig]
topology=no_net_config
no_net_num_nodes=6
# These are unused
linklatency=6405
switchinglatency=10
netbandwidth=200
profileinterval=-1
# Need not be single core.
defaulthwconfig=firesim-quadcore-no-nic-ddr3-llc4mb
[tracing]
enable=no
startcyle=0
endcycle=-1
[workload]
workloadname=gapbs.json
terminateoncompletion=yes

View File

@ -1,219 +1,45 @@
{
"common_bootbinary": "bbl-vmlinux",
"benchmark_name" : "gapbs",
"deliver_dir" : "gabps",
"common_args" : ["1"],
"common_files" : ["gapbs.sh", "run"],
"common_outputs" : ["/hpm_data"],
"common_simulation_outputs" : ["uartlog"],
"common_bootbinary" : "bbl-vmlinux",
"benchmark_name" : "gapbs-kron",
"deliver_dir" : "gapbs",
"common_args" : [],
"common_files" : ["gapbs.sh"],
"common_outputs" : ["/output"],
"workloads" : [
{
"name": "bfs-twitter",
"files": ["bfs", "benchmark/graphs/twitter.sg"],
"command": "cd /gapbs && ./gapbs.sh bfs-twitter",
"simulation_outputs": [],
"outputs": []
},
{
"name": "pr-twitter",
"files": ["pr", "benchmark/graphs/twitter.sg"],
"command": "cd /gapbs && ./gapbs.sh pr-twitter",
"simulation_outputs": [],
"outputs": []
},
{
"name": "cc-twitter",
"files": ["cc", "benchmark/graphs/twitter.sg"],
"command": "cd /gapbs && ./gapbs.sh cc-twitter",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bc-twitter",
"files": ["bc", "benchmark/graphs/twitter.sg"],
"command": "cd /gapbs && ./gapbs.sh bc-twitter",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bfs-web",
"files": ["bfs", "benchmark/graphs/web.sg"],
"command": "cd /gapbs && ./gapbs.sh bfs-web",
"simulation_outputs": [],
"outputs": []
},
{
"name": "pr-web",
"files": ["pr", "benchmark/graphs/web.sg"],
"command": "cd /gapbs && ./gapbs.sh pr-web",
"simulation_outputs": [],
"outputs": []
},
{
"name": "cc-web",
"files": ["cc", "benchmark/graphs/web.sg"],
"command": "cd /gapbs && ./gapbs.sh cc-web",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bc-web",
"files": ["bc", "benchmark/graphs/web.sg"],
"command": "cd /gapbs && ./gapbs.sh bc-web",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bfs-road",
"files": ["bfs", "benchmark/graphs/road.sg"],
"command": "cd /gapbs && ./gapbs.sh bfs-road",
"simulation_outputs": [],
"outputs": []
},
{
"name": "pr-road",
"files": ["pr", "benchmark/graphs/road.sg"],
"command": "cd /gapbs && ./gapbs.sh pr-road",
"simulation_outputs": [],
"outputs": []
},
{
"name": "cc-road",
"files": ["cc", "benchmark/graphs/road.sg"],
"command": "cd /gapbs && ./gapbs.sh cc-road",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bc-road",
"files": ["bc", "benchmark/graphs/road.sg"],
"command": "cd /gapbs && ./gapbs.sh bc-road",
"simulation_outputs": [],
"name": "bc-kron",
"files": ["bc", "run/bc-kron.sh", "benchmark/graphs/kron.sg"],
"command": "cd /gapbs && ./gapbs.sh bc-kron",
"outputs": []
},
{
"name": "bfs-kron",
"files": ["bfs", "benchmark/graphs/kron.sg"],
"files": ["bfs", "run/bfs-kron.sh", "benchmark/graphs/kron.sg"],
"command": "cd /gapbs && ./gapbs.sh bfs-kron",
"simulation_outputs": [],
"outputs": []
},
{
"name": "pr-kron",
"files": ["pr", "benchmark/graphs/kron.sg"],
"command": "cd /gapbs && ./gapbs.sh pr-kron",
"simulation_outputs": [],
"outputs": []
},
{
"name": "cc-kron",
"files": ["cc", "benchmark/graphs/kron.sg"],
"files": ["cc", "run/cc-kron.sh", "benchmark/graphs/kron.sg"],
"command": "cd /gapbs && ./gapbs.sh cc-kron",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bc-kron",
"files": ["bc", "benchmark/graphs/kron.sg"],
"command": "cd /gapbs && ./gapbs.sh bc-kron",
"simulation_outputs": [],
"outputs": []
},
{
"name": "tc-kron",
"files": ["tc", "benchmark/graphs/kronU.sg"],
"command": "cd /gapbs && ./gapbs.sh tc-kron",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bfs-urand",
"files": ["bfs", "benchmark/graphs/urand.sg"],
"command": "cd /gapbs && ./gapbs.sh bfs-urand",
"outputs": []
},
{
"name": "pr-urand",
"files": ["pr", "benchmark/graphs/urand.sg"],
"command": "cd /gapbs && ./gapbs.sh pr-urand",
"simulation_outputs": [],
"outputs": []
},
{
"name": "cc-urand",
"files": ["cc", "benchmark/graphs/urand.sg"],
"command": "cd /gapbs && ./gapbs.sh cc-urand",
"simulation_outputs": [],
"outputs": []
},
{
"name": "bc-urand",
"files": ["bc", "benchmark/graphs/urand.sg"],
"command": "cd /gapbs && ./gapbs.sh bc-urand",
"simulation_outputs": [],
"outputs": []
},
{
"name": "tc-urand",
"files": ["tc", "benchmark/graphs/urandU.sg"],
"command": "cd /gapbs && ./gapbs.sh tc-urand",
"simulation_outputs": [],
"outputs": []
},
{
"name": "sssp-twitter",
"files": ["sssp", "benchmark/graphs/twitter.wsg"],
"command": "cd /gapbs && ./gapbs.sh sssp-twitter",
"simulation_outputs": [],
"outputs": []
},
{
"name": "sssp-web",
"files": ["sssp", "benchmark/graphs/web.wsg"],
"command": "cd /gapbs && ./gapbs.sh sssp-web",
"simulation_outputs": [],
"outputs": []
},
{
"name": "sssp-road",
"files": ["sssp", "benchmark/graphs/road.wsg"],
"command": "cd /gapbs && ./gapbs.sh sssp-road",
"simulation_outputs": [],
"name": "pr-kron",
"files": ["pr", "run/pr-kron.sh", "benchmark/graphs/kron.sg"],
"command": "cd /gapbs && ./gapbs.sh pr-kron",
"outputs": []
},
{
"name": "sssp-kron",
"files": ["sssp", "benchmark/graphs/kron.wsg"],
"files": ["sssp", "run/sssp-kron.sh", "benchmark/graphs/kron.wsg"],
"command": "cd /gapbs && ./gapbs.sh sssp-kron",
"simulation_outputs": [],
"outputs": []
},
{
"name": "sssp-urand",
"files": ["sssp", "benchmark/graphs/urand.wsg"],
"command": "cd /gapbs && ./gapbs.sh sssp-urand",
"simulation_outputs": [],
"outputs": []
},
{
"name": "tc-twitter",
"files": ["tc", "benchmark/graphs/twitterU.sg"],
"command": "cd /gapbs && ./gapbs.sh tc-twitter",
"simulation_outputs": [],
"outputs": []
},
{
"name": "tc-web",
"files": ["tc", "benchmark/graphs/webU.sg"],
"command": "cd /gapbs && ./gapbs.sh tc-web",
"simulation_outputs": [],
"outputs": []
},
{
"name": "tc-road",
"files": ["tc", "benchmark/graphs/roadU.sg"],
"command": "cd /gapbs && ./gapbs.sh tc-road",
"simulation_outputs": [],
"name": "tc-kron",
"files": ["tc", "run/tc-kron.sh", "benchmark/graphs/kronU.sg"],
"command": "cd /gapbs && ./gapbs.sh tc-kron",
"outputs": []
}
]