Skip to content

Commit aceb789

Browse files
committed
polish README
1 parent 6bb7adb commit aceb789

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

experiments/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
## Experiment Steps
22

3-
### Prerequisite: Compiled Binary Files in the `bin` Directory.
3+
### 0. Prerequisite: Compiled Binary Files in the `bin` Directory.
44

55
Make sure the binary file `simon` has been generated in the `bin` directory (see "🚧 Environment Setup" in [README](../README.md) for details)
66

7-
### Run Scripts Generation
7+
### 1. Run Scripts Generation
88

99
```bash
1010
# pwd: kubernetes-scheduler-simulator/experiments
1111
$ python run_scripts/generate_run_scripts.py > run_scripts/run_scripts_0511.sh
1212
```
1313

14-
### Execute
14+
### 2. Execute
1515

1616
`run_scripts_0511.sh` includes multiple executable commands that are executed sequentially by default.
1717
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.
@@ -43,7 +43,9 @@ In fact, it takes around
4343
- 10 minutes for 1 experiment on 2 vCPU, 9.4MB disk space for logs.
4444
- 10 hours for 1020 experiments on a 256 vCPU machine with pool size of 128 threads, 9.4GB disk space for logs.
4545

46-
### Analysis & Merge
46+
> Our generated script for 1020 experiments is cached in [run_scripts/expected_run_scripts_0511.sh](./run_scripts/expected_run_scripts_0511.sh) (3063 lines) for your reference.
47+
48+
### 3. Analysis & Merge
4749

4850
As each experiment has its own folder where the `analysis_*` files are produced, here we bypass all folders and merge all the analysis files of the same category into one file under the `analysis/analysis_results` folder.
4951

@@ -58,9 +60,9 @@ $ cd analysis
5860
$ bash analysis_merge.sh
5961
```
6062

61-
Our results of the extensive 1020 experiments are cached in [analysis/expected_results](./analysis/expected_results/) (9.8MB) for your reference.
63+
> Our results of the extensive 1020 experiments are cached in [analysis/expected_results](./analysis/expected_results/) (9.8MB) for your reference.
6264
63-
### Plot
65+
### 4. Plot
6466

6567
To reproduce the figures shown in the paper, we provide the plotting scripts in the [plot](./plot/) folder. As the scripts assume the existence of the merged `analysis_*.csv` files, we need to first copy (or softlink) these files to [plot](./plot/) folder
6668

@@ -89,4 +91,4 @@ $ python plot_openb_gpuspec_alloc_bar.py # Fig. 13
8991
$ python plot_openb_nongpu_alloc_bar.py # Fig. 14
9092
```
9193

92-
Our results shown in the paper are cached in [plot/expected_results](plot/expected_results) (164KB) for your reference.
94+
> Our results shown in the paper are cached in [plot/expected_results](plot/expected_results) (164KB) for your reference.

0 commit comments

Comments
 (0)