Skip to content

Commit

Permalink
start-up: differentiate between cold and warm starts (#17)
Browse files Browse the repository at this point in the history
* start-up: differentiate between cold and warm starts

* few nits, blocked with snapshotter problem

* fix cold starts issues in sc2-sys/deploy

* finish cold/warm start-up plot

* nits: run lint
  • Loading branch information
csegarragonz authored Jan 15, 2025
1 parent 3afa1d0 commit 146b22d
Show file tree
Hide file tree
Showing 23 changed files with 691 additions and 254 deletions.
2 changes: 1 addition & 1 deletion results/start-up/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ compares SC2 with runc, and Kata-Qemu plain and with SEV-SNP and TDX.
Once you have a working SC2 cluster, you may run the experiment using:

```bash
sc2-exp start-up run --baseline [kata,snp,snp-sc2,tdx,tdx-sc2]
sc2-exp start-up run --baseline [runc,kata,snp,snp-sc2,tdx,tdx-sc2]
```

after running all baselines, you may plot the results using:
Expand Down
19 changes: 0 additions & 19 deletions results/start-up/data/kata.csv

This file was deleted.

22 changes: 22 additions & 0 deletions results/start-up/data/kata_cold.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,4507
0,CreateContainerQueueProxy,7
0,CreateContainerUserContainer,18
0,PullImage,2425
0,RunPodSandbox,751
0,StartContainerQueueProxy,160
0,StartContainerUserContainer,101
1,StartUp,4408
1,CreateContainerQueueProxy,8
1,CreateContainerUserContainer,11
1,PullImage,2296
1,RunPodSandbox,733
1,StartContainerQueueProxy,120
1,StartContainerUserContainer,89
2,StartUp,4602
2,CreateContainerQueueProxy,6
2,CreateContainerUserContainer,32
2,PullImage,2367
2,RunPodSandbox,740
2,StartContainerQueueProxy,95
2,StartContainerUserContainer,67
19 changes: 19 additions & 0 deletions results/start-up/data/kata_warm.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Run,Event,TimeMs
0,StartUp,1976
0,CreateContainerQueueProxy,8
0,CreateContainerUserContainer,6
0,RunPodSandbox,714
0,StartContainerQueueProxy,149
0,StartContainerUserContainer,91
1,StartUp,2025
1,CreateContainerQueueProxy,6
1,CreateContainerUserContainer,8
1,RunPodSandbox,757
1,StartContainerQueueProxy,128
1,StartContainerUserContainer,95
2,StartUp,1972
2,CreateContainerQueueProxy,8
2,CreateContainerUserContainer,8
2,RunPodSandbox,713
2,StartContainerQueueProxy,101
2,StartContainerUserContainer,103
19 changes: 0 additions & 19 deletions results/start-up/data/runc.csv

This file was deleted.

22 changes: 22 additions & 0 deletions results/start-up/data/runc_cold.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,3548
0,CreateContainerQueueProxy,5
0,CreateContainerUserContainer,8
0,PullImage,2330
0,RunPodSandbox,194
0,StartContainerQueueProxy,95
0,StartContainerUserContainer,68
1,StartUp,3630
1,CreateContainerQueueProxy,6
1,CreateContainerUserContainer,26
1,PullImage,2339
1,RunPodSandbox,197
1,StartContainerQueueProxy,80
1,StartContainerUserContainer,85
2,StartUp,3630
2,CreateContainerQueueProxy,6
2,CreateContainerUserContainer,42
2,PullImage,2297
2,RunPodSandbox,212
2,StartContainerQueueProxy,46
2,StartContainerUserContainer,86
19 changes: 19 additions & 0 deletions results/start-up/data/runc_warm.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Run,Event,TimeMs
0,StartUp,1746
0,CreateContainerQueueProxy,5
0,CreateContainerUserContainer,8
0,RunPodSandbox,213
0,StartContainerQueueProxy,44
0,StartContainerUserContainer,81
1,StartUp,926
1,CreateContainerQueueProxy,5
1,CreateContainerUserContainer,5
1,RunPodSandbox,213
1,StartContainerQueueProxy,92
1,StartContainerUserContainer,69
2,StartUp,923
2,CreateContainerQueueProxy,6
2,CreateContainerUserContainer,6
2,RunPodSandbox,186
2,StartContainerQueueProxy,83
2,StartContainerUserContainer,89
19 changes: 0 additions & 19 deletions results/start-up/data/snp-sc2.csv

This file was deleted.

22 changes: 22 additions & 0 deletions results/start-up/data/snp-sc2_cold.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,6799
0,CreateContainerQueueProxy,29
0,CreateContainerUserContainer,27
0,PullImage,67
0,RunPodSandbox,264
0,StartContainerQueueProxy,1305
0,StartContainerUserContainer,4310
1,StartUp,6818
1,CreateContainerQueueProxy,26
1,CreateContainerUserContainer,24
1,PullImage,77
1,RunPodSandbox,258
1,StartContainerQueueProxy,1318
1,StartContainerUserContainer,4224
2,StartUp,6840
2,CreateContainerQueueProxy,22
2,CreateContainerUserContainer,19
2,PullImage,74
2,RunPodSandbox,295
2,StartContainerQueueProxy,1325
2,StartContainerUserContainer,4329
22 changes: 22 additions & 0 deletions results/start-up/data/snp-sc2_warm.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,6910
0,CreateContainerQueueProxy,26
0,CreateContainerUserContainer,21
0,PullImage,0
0,RunPodSandbox,249
0,StartContainerQueueProxy,1335
0,StartContainerUserContainer,4299
1,StartUp,7222
1,CreateContainerQueueProxy,29
1,CreateContainerUserContainer,26
1,PullImage,0
1,RunPodSandbox,247
1,StartContainerQueueProxy,1323
1,StartContainerUserContainer,4288
2,StartUp,6937
2,CreateContainerQueueProxy,29
2,CreateContainerUserContainer,21
2,PullImage,0
2,RunPodSandbox,254
2,StartContainerQueueProxy,1324
2,StartContainerUserContainer,4258
19 changes: 0 additions & 19 deletions results/start-up/data/snp.csv

This file was deleted.

22 changes: 22 additions & 0 deletions results/start-up/data/snp_cold.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,14820
0,CreateContainerQueueProxy,30
0,CreateContainerUserContainer,27
0,PullImage,93
0,RunPodSandbox,8448
0,StartContainerQueueProxy,1288
0,StartContainerUserContainer,4233
1,StartUp,14829
1,CreateContainerQueueProxy,27
1,CreateContainerUserContainer,24
1,PullImage,95
1,RunPodSandbox,8278
1,StartContainerQueueProxy,1315
1,StartContainerUserContainer,4289
2,StartUp,14782
2,CreateContainerQueueProxy,26
2,CreateContainerUserContainer,21
2,PullImage,95
2,RunPodSandbox,8113
2,StartContainerQueueProxy,1291
2,StartContainerUserContainer,4212
22 changes: 22 additions & 0 deletions results/start-up/data/snp_warm.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,14964
0,CreateContainerQueueProxy,26
0,CreateContainerUserContainer,28
0,PullImage,0
0,RunPodSandbox,8293
0,StartContainerQueueProxy,1307
0,StartContainerUserContainer,4244
1,StartUp,14884
1,CreateContainerQueueProxy,22
1,CreateContainerUserContainer,26
1,PullImage,0
1,RunPodSandbox,8272
1,StartContainerQueueProxy,1330
1,StartContainerUserContainer,4190
2,StartUp,14942
2,CreateContainerQueueProxy,24
2,CreateContainerUserContainer,32
2,PullImage,0
2,RunPodSandbox,8010
2,StartContainerQueueProxy,1313
2,StartContainerUserContainer,4241
22 changes: 22 additions & 0 deletions results/start-up/data/tdx-sc2_cold.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,15217
0,CreateContainerQueueProxy,43
0,CreateContainerUserContainer,47
0,PullImage,2367
0,RunPodSandbox,4076
0,StartContainerQueueProxy,1441
0,StartContainerUserContainer,8152
1,StartUp,13260
1,CreateContainerQueueProxy,51
1,CreateContainerUserContainer,47
1,PullImage,2367
1,RunPodSandbox,875
1,StartContainerQueueProxy,2752
1,StartContainerUserContainer,8904
2,StartUp,13148
2,CreateContainerQueueProxy,51
2,CreateContainerUserContainer,74
2,PullImage,2367
2,RunPodSandbox,859
2,StartContainerQueueProxy,2745
2,StartContainerUserContainer,8890
File renamed without changes.
22 changes: 22 additions & 0 deletions results/start-up/data/tdx_cold.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Run,Event,TimeMs
0,StartUp,20861
0,CreateContainerQueueProxy,46
0,CreateContainerUserContainer,51
2,PullImage,2367
0,RunPodSandbox,8336
0,StartContainerQueueProxy,2702
0,StartContainerUserContainer,8715
1,StartUp,19689
1,CreateContainerQueueProxy,43
1,CreateContainerUserContainer,61
2,PullImage,2367
1,RunPodSandbox,8381
1,StartContainerQueueProxy,1364
1,StartContainerUserContainer,8378
2,StartUp,21193
2,CreateContainerQueueProxy,51
2,CreateContainerUserContainer,56
2,PullImage,2367
2,RunPodSandbox,8296
2,StartContainerQueueProxy,2693
2,StartContainerUserContainer,8720
File renamed without changes.
Loading

0 comments on commit 146b22d

Please sign in to comment.