Skip to content

Commit 03630a4

Browse files
committed
Update README
1 parent 50a6b91 commit 03630a4

12 files changed

+23
-19
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $ bin/simon apply --extended-resources "gpu" \
3636
pip install -r requirements.txt
3737
```
3838

39-
1. Please refer to [README](data/README.md) under the `data` directory to prepare production traces
39+
1. Please refer to [README](data/README.md) under the `data` directory to prepare production traces.
4040
2. Then refer to [README](experiments/README.md) under the `experiments` directory to reproduce the results reported in the paper.
4141

4242
## 📝 Paper

data/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# Traces as Inputs for Simulator
22

3-
## 🚧 Environment Setup
4-
5-
Install the required Python dependency environment.
6-
7-
```bash
8-
$ pip install -r requirements.txt
9-
```
10-
113
## 🛠 Usage
124

135
Generate the YAML files needed for the simulation experiment based on the original CSV files.

experiments/README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
python run_scripts/generate_run_scripts.py > run_scripts/run_scripts_0511.sh
88
```
99

10-
Script parameters:
11-
- Date:
12-
- FileList:
13-
- PARALLEL: num vCPU / 2 (suggested)
14-
- NUM_REPEAT: repetited experiments (10 in paper)
15-
1610
### Execute
1711

12+
`run_scripts_0511.sh` includes multiple executable commands that are executed sequentially by default.
13+
You can adjust the `--max-procs` parameter in the following command to modify the number of parallel threads based on the CPU resources available on your machine.
14+
It is recommended to configure the parallel thread pool size to **half the number of virtual CPUs available** (i.e., `# of vCPU / 2`).
15+
1816
```bash
1917
# pwd: kubernetes-scheduler-simulator/experiments
2018
cd ..
@@ -25,8 +23,9 @@ cat experiments/run_scripts/run_scripts_0511.sh | while read i; do printf "%q\n"
2523
```
2624

2725
~~1 month later ...~~
28-
- 1 hour for 1 experiment on 2 vCPU.
29-
- 16 hours for 1020 experiments on a 256 vCPU machine with PARALLEL=128.
26+
27+
- 10 minutes for 1 experiment on 2 vCPU.
28+
- Roughly 10 hours for 1020 experiments on a 256 vCPU machine with PARALLEL=128.
3029

3130
### Merge
3231

@@ -42,6 +41,9 @@ bash bash_merge.sh
4241

4342
### Plot
4443

44+
Automatically generate figures in the paper based on the analysis results and compare them with the results in the [expected_results](plot/expected_results) directory.
45+
For example, running `python plot_paib_alloc.py` will generate `paib_alloc.pdf` figure, which corresponds to Fig. 9(a) in the paper.
46+
4547
```bash
4648
# pwd: kubernetes-scheduler-simulator/experiments/analysis
4749
cd ..

experiments/plot/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.csv
2+
*.pdf

0 commit comments

Comments
 (0)