@@ -8,7 +8,7 @@ Make sure the binary file `simon` has been generated in the `bin` directory (see
8
8
9
9
``` bash
10
10
# 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
12
12
```
13
13
14
14
### Execute
@@ -19,17 +19,17 @@ It is recommended to configure the parallel thread pool size to **half the numbe
19
19
20
20
``` bash
21
21
# pwd: kubernetes-scheduler-simulator/experiments
22
- cd ..
22
+ $ cd ..
23
23
# 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
25
25
# "--max-procs=16" where 16 is the degree of PARALLEL suggested above
26
26
# bash run_scripts_0511.sh will run experiments sequentially
27
27
28
- ..| ' ' || ' |. ' | ' ' || ' ' ' ' | ' || ||' ..| ' ' || ' |. ' | ' |' ' ||' ' | ' || ' ' || ' ' || ' | |' ' ||' ' | ' || ' ' ' ' | ' ||' ' |.
29
- .|' || | ' | | || . ||| ||| .|' || | ' | | || || || || ||| || || . || ||
30
- || || | ' | . | || ' ' | | ' |..' || || || | ' |. | || ||' ' ' ' || || | || || ||' ' | ||' ' |'
31
- ' |. || | ||| || | ' | ' || ' | . || | ||| || || || || .' ' ' ' | . || || || | .
32
- ' ' | ...| ' .|. ' | .|| .....| .| . | .|| . ' ' | ...| ' .|. ' | .|| . .|| . .|| . .|| .....| .| . .|| . .|| . .|| .....| .|| . ' |'
28
+ # ..|''|| '|. '|' '||''''| '|| ||' ..|''|| '|. '|' |''||''| '||' '||' '||' | |''||''| '||''''| '||''|.
29
+ # .|' || |'| | || . ||| ||| .|' || |'| | || || || || ||| || || . || ||
30
+ # || || | '|. | ||''| |'|..'|| || || | '|. | || ||''''|| || | || || ||''| ||''|'
31
+ # '|. || | ||| || | '|' || '|. || | ||| || || || || .''''|. || || || |.
32
+ # ''|...|' .|. '| .||.....| .|. | .||. ''|...|' .|. '| .||. .||. .||. .||.....| .|. .||. .||. .||.....| .||. '|'
33
33
```
34
34
35
35
Roughly, it takes around
@@ -40,10 +40,10 @@ Roughly, it takes around
40
40
41
41
``` bash
42
42
# 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
44
44
# pwd: kubernetes-scheduler-simulator/experiments/analysis
45
- cd analysis
46
- bash bash_merge.sh
45
+ $ cd analysis
46
+ $ bash bash_merge.sh
47
47
# The output was generated under "analysis_results"
48
48
# The results of our large-scale experiments are cached in "expected_results" for comparison
49
49
```
@@ -55,16 +55,16 @@ For example, running `python plot_paib_alloc.py` will generate `paib_alloc.pdf`
55
55
56
56
``` bash
57
57
# pwd: kubernetes-scheduler-simulator/experiments/analysis
58
- cd ..
58
+ $ cd ..
59
59
# 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
61
61
# 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
70
70
```
0 commit comments