Skip to content

Commit 98b66af

Browse files
committed
README minor update
1 parent 7771757 commit 98b66af

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ bin/simon apply --extended-resources "gpu" \
3535
Install the required Python dependency environment.
3636

3737
```bash
38-
pip install -r requirements.txt
38+
$ pip install -r requirements.txt
3939
```
4040

4141
1. Please refer to [README](data/README.md) under the `data` directory to prepare production traces.

experiments/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Make sure the binary file `simon` has been generated in the `bin` directory (see
88

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

1414
### Execute
@@ -19,17 +19,17 @@ It is recommended to configure the parallel thread pool size to **half the numbe
1919

2020
```bash
2121
# pwd: kubernetes-scheduler-simulator/experiments
22-
cd ..
22+
$ cd ..
2323
# pwd: kubernetes-scheduler-simulator
24-
cat experiments/run_scripts/run_scripts_0511.sh | while read i; do printf "%q\n" "$i"; done | xargs --max-procs=16 -I CMD bash -c CMD
24+
$ cat experiments/run_scripts/run_scripts_0511.sh | while read i; do printf "%q\n" "$i"; done | xargs --max-procs=16 -I CMD bash -c CMD
2525
# "--max-procs=16" where 16 is the degree of PARALLEL suggested above
2626
# bash run_scripts_0511.sh will run experiments sequentially
2727

28-
..|''|| '|. '|' '||''''| '|| ||' ..|''|| '|. '|' |''||''| '||' '||' '||' | |''||''| '||''''| '||''|.
29-
.|' || |'| | || . ||| ||| .|' || |'| | || || || || ||| || || . || ||
30-
|| || | '|. | ||''| |'|..'|| || || | '|. | || ||''''|| || | || || ||''| ||''|'
31-
'|. || | ||| || | '|' || '|. || | ||| || || || || .''''|. || || || |.
32-
''|...|' .|. '| .||.....| .|. | .||. ''|...|' .|. '| .||. .||. .||. .||.....| .|. .||. .||. .||.....| .||. '|'
28+
# ..|''|| '|. '|' '||''''| '|| ||' ..|''|| '|. '|' |''||''| '||' '||' '||' | |''||''| '||''''| '||''|.
29+
# .|' || |'| | || . ||| ||| .|' || |'| | || || || || ||| || || . || ||
30+
# || || | '|. | ||''| |'|..'|| || || | '|. | || ||''''|| || | || || ||''| ||''|'
31+
# '|. || | ||| || | '|' || '|. || | ||| || || || || .''''|. || || || |.
32+
# ''|...|' .|. '| .||.....| .|. | .||. ''|...|' .|. '| .||. .||. .||. .||.....| .|. .||. .||. .||.....| .||. '|'
3333
```
3434

3535
Roughly, it takes around
@@ -40,10 +40,10 @@ Roughly, it takes around
4040

4141
```bash
4242
# pwd: kubernetes-scheduler-simulator/experiments
43-
ln -s 2023_0511 data # softlink it to data
43+
$ ln -s 2023_0511 data # softlink it to data
4444
# pwd: kubernetes-scheduler-simulator/experiments/analysis
45-
cd analysis
46-
bash bash_merge.sh
45+
$ cd analysis
46+
$ bash bash_merge.sh
4747
# The output was generated under "analysis_results"
4848
# The results of our large-scale experiments are cached in "expected_results" for comparison
4949
```
@@ -55,16 +55,16 @@ For example, running `python plot_paib_alloc.py` will generate `paib_alloc.pdf`
5555

5656
```bash
5757
# pwd: kubernetes-scheduler-simulator/experiments/analysis
58-
cd ..
58+
$ cd ..
5959
# pwd: kubernetes-scheduler-simulator/experiments
60-
cp analysis/analysis_results/* plot/ # copy all csv under analysis_results/ to plot/ for analysis
60+
$ cp analysis/analysis_results/* plot/ # copy all csv under analysis_results/ to plot/ for analysis
6161
# cp analysis/expected_results/* plot/ # if skipping the experiments and directly reuse our expected results for plotting
62-
cd plot
63-
python plot_paib_alloc.py # Fig. 9(a)
64-
python plot_paib_frag_amount.py # Fig. 7(a)
65-
python plot_paib_frag_ratio.py # Fig. 7(b)
66-
python plot_paib_gpushare_alloc_bar.py # Fig. 11
67-
python plot_paib_multigpu_alloc_bar.py # Fig. 12
68-
python plot_paib_gpuspec_alloc_bar.py # Fig. 13
69-
python plot_paib_nongpu_alloc_bar.py # Fig. 14
62+
$ cd plot
63+
$ python plot_paib_alloc.py # Fig. 9(a)
64+
$ python plot_paib_frag_amount.py # Fig. 7(a)
65+
$ python plot_paib_frag_ratio.py # Fig. 7(b)
66+
$ python plot_paib_gpushare_alloc_bar.py # Fig. 11
67+
$ python plot_paib_multigpu_alloc_bar.py # Fig. 12
68+
$ python plot_paib_gpuspec_alloc_bar.py # Fig. 13
69+
$ python plot_paib_nongpu_alloc_bar.py # Fig. 14
7070
```

0 commit comments

Comments
 (0)