Skip to content
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

cmd/dist: bootstrapping is sequential #10157

Closed
4ad opened this issue Mar 13, 2015 · 1 comment
Closed

cmd/dist: bootstrapping is sequential #10157

4ad opened this issue Mar 13, 2015 · 1 comment

Comments

@4ad
Copy link
Member

4ad commented Mar 13, 2015

The "Building compilers and go_bootstrap" step is compiling packages sequentially (there is parallelism in running the assemblers over the .s files in a package, but packages are build one at a time). This is causing bootstrapping to be slow, especially on machines with large number of cores.

On my ARM64, which is an 8-core machine, the cmd/dist step takes 5 times longer than go install std cmd.

@rsc
Copy link
Contributor

rsc commented Apr 10, 2015

Simplicity wins here, I'm afraid.
From what you've described, go install std cmd is very fast.
That doesn't make cmd/dist too slow.

@rsc rsc changed the title cmd/dist: bootstrapping is too slow cmd/dist: bootstrapping is sequential Apr 10, 2015
@rsc rsc closed this as completed Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants