#!/bin/bash
function bail () { echo "Error: ${1:-Unknown Error}\n"; exit ${2:-1}; }
instance=${1:-Unset}
[[ $instance == "Unset" ]] && bail "Specify instance as parameter"
# Remove existing logs to make sure they don't clutter up the measurements
sudo rm /p4/$instance/logs/log
sudo rm /remote/FB_DB/p4/rep/h02_$instance/logs/log
sudo rm /remote/FB_DB/p4/rep/h03_$instance/logs/log
sudo rm /remote/FB_DB/p4/rep/h04_$instance/logs/log
cp config_p4_bench$instance.yml config_p4_bench.yml
ansible-playbook -i hosts post_bench.yml
ansible-playbook -i hosts pre_bench.yml
./run_master.sh
ansible-playbook -i hosts bench.yml
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #13 | 25529 | Robert Cowham |
Latest copy of files including docker compose setup. Merging //guest/robert_cowham/p4benchmark/pb/... to //guest/robert_cowham/p4benchmark/main/... |
||
| #12 | 24851 | Robert Cowham |
Improve sql reporting. Log ps usage |
||
| #11 | 24848 | Robert Cowham |
Drop caches per run. Increase num slaves to 70 |
||
| #10 | 24758 | Robert Cowham | Tweak repeat count | ||
| #9 | 24747 | Robert Cowham | Full parameterised - runs syncbench at least | ||
| #8 | 24745 | Robert Cowham | Use global vars in hosts file | ||
| #7 | 24735 | Robert Cowham | Fix running of sync | ||
| #6 | 24711 | Robert Cowham | Restructure and tidy up | ||
| #5 | 24687 | Robert Cowham | Got analysis working | ||
| #4 | 22003 | Robert Cowham | Latest state - with p4python and no syncing | ||
| #3 | 21902 | Robert Cowham | New run for mupltiple edges | ||
| #2 | 21897 | Robert Cowham | Handle edge servers too | ||
| #1 | 21767 | Robert Cowham | add latest stuff with analyse |