-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract preloaded tarball as soon as minikube volume is created (2.5s speedup) #7490
Conversation
Extracting preload currently takes 6 seconds. This PR begins preload extraction as soon as the minikube volume is created, and runs it in parallell with creating the container node and setting up SSH. This shaves 2-3 secnods off of `node.StartHost`
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: priyawadhwa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
Codecov Report
@@ Coverage Diff @@
## master #7490 +/- ##
=======================================
Coverage 37.08% 37.08%
=======================================
Files 146 146
Lines 8870 8870
=======================================
Hits 3289 3289
Misses 5192 5192
Partials 389 389 |
Error: running mkcmp: exit status 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks exciting, minor changes requested plz see comments
All Times minikube: [ 69.636605 64.208438 65.730780] Average minikube: 66.525274 Averages Time Per Log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. lets wait for tests
All Times minikube: [ 64.292363 65.815860 65.294435] Average minikube: 65.134219 Averages Time Per Log
|
Docker Linux
Bug:
Hyperkitold-dockernew seen issue, created an issue for it #7533
|
Times for minikube: [66.463368023 63.993006007 66.274228329] Times for Minikube (PR 7490): [67.73435280499999 66.85752741499999 72.69108813300001] Averages Time Per Log
|
Times for minikube: [65.84141496699999 67.025085095 66.960568721] Times for Minikube (PR 7490): [64.850830954 65.76610339 64.125193439] Averages Time Per Log
|
@@ -84,6 +84,19 @@ func DeleteContainer(ociBin string, name string) error { | |||
return nil | |||
} | |||
|
|||
// PrepareContainerNode sets up the container node befpre CreateContainerNode is caleld |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check spellings
Times for minikube: [66.443212253 65.529856186 67.720592094] Times for Minikube (PR 7490): [66.39431468500001 68.26888306800001 68.79210714] Averages Time Per Log
|
Times for minikube: [66.903358719 66.50266573399999 64.877308167] Times for Minikube (PR 7490): [64.17831082100001 63.608446279 65.191711819] Averages Time Per Log
|
Times for minikube: [65.915732116 65.501339117 65.786926499] Times for Minikube (PR 7490): [70.707164978 67.18412895399999 67.378430807] Averages Time Per Log
|
Times for minikube: [65.746998432 65.71110493200001 71.805386753] Times for Minikube (PR 7490): [66.675511793 65.60625499999999 63.261747055] Averages Time Per Log
|
Extracting preload currently takes 6 seconds. This PR begins preload extraction as soon as the minikube volume is created, and runs it in parallel with creating the container node and setting up SSH.
This shaves 2-3 seconds off of
node.StartHost