Skip to content

parallel install core#286

Merged
nimakaviani merged 1 commit intocnoe-io:mainfrom
nabuskey:parallel-install
Jun 10, 2024
Merged

parallel install core#286
nimakaviani merged 1 commit intocnoe-io:mainfrom
nabuskey:parallel-install

Conversation

@nabuskey
Copy link
Copy Markdown
Collaborator

@nabuskey nabuskey commented Jun 7, 2024

Currently, we install core packages sequentially and some of them take minimum one minute to install. We can install them in parallel to significantly reduce bootstrap time.

Current:

# output of time ./idpbuilder create --recreate
real	2m53.446s
user	0m1.647s
sys	0m0.934s

With this PR:

# output of time ./idpbuilder create --recreate
real	1m27.973s
user	0m1.729s
sys	0m0.919s

The absolute amount in reduction varies between systems, but it should reduce the time to bootstrap by a similar percentage.

Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
Copy link
Copy Markdown
Contributor

@nimakaviani nimakaviani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nimakaviani nimakaviani merged commit 991586c into cnoe-io:main Jun 10, 2024
@nabuskey nabuskey deleted the parallel-install branch June 10, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants