Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmark data #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile_stock
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# builds an image of standard airflow, that includes workflows in ./workflows/image/airflow-dags
FROM apache/airflow:2.4.3
COPY workflows/image/airflow-dags /opt/airflow/dags
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cd ..
Now, the Kubernetes cluster and Knative should be ready.
It is time to deploy this fork of airflow with the following commands:
```bash
git clone --single-branch --branch integrate-knative --depth 1 [email protected]:eth-easl/airflow.git
git clone --depth 1 [email protected]:eth-easl/airflow.git
cd airflow
./scripts/setup_airflow.sh
```
Expand Down Expand Up @@ -184,3 +184,20 @@ With the pod id, run
```bash
kubectl -n airflow logs <pod_id>
```

## Running benchmarks
Run `./scripts/run_benchmarks` to run the benchmark workflows.
It will delete the kubernetes namespace `airflow`, so make sure there is nothing important
in it.
The script will run the benchmark workflows against the modified version of Airflow with Knative
and against an unmodified, stock version of Airflow.

Existing benchmark data is in `benchmark_data.tar.gz`.
Unpack it to `benchmark_data` to use the provided plotting and analysis scripts.
E.g.
```bash
tar -xvzf benchmark_data.tar.gz
python3 scripts/analyze_per_task_latency.py benchmark_data/benchmarking_logs_1676206749/log_scheduler_benchmark_w8_d3.txt
python3 scripts/plot_e2e_latency.py
python3 scripts/plot_throughput_width.py
```
Binary file added benchmark_data.tar.gz
Binary file not shown.
24 changes: 0 additions & 24 deletions cluster_scripts/setup_single.sh

This file was deleted.

14 changes: 0 additions & 14 deletions cluster_scripts/setup_stock_single.sh

This file was deleted.

Loading