-
Notifications
You must be signed in to change notification settings - Fork 386
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
Some operations are hindering parallelism #888
Comments
Hi @flupke - you're right. This is a limitation in our current implementation. It affects Technical explanation: buildkit takes care of parallelism for the most part, however, some Earthfile operations need to inquire about the result of a previous operation before being able to continue. This takes place in the Earthfile->LLB conversion process. Currently, this conversion process is single-threaded, so situations like you're demoing here make this bottleneck obvious. We've been thinking of switching the conversion process to be parallel too but haven't yet gotten around to it. I'll use this issue as a tracking issue.
I believe this is just a visual glitch. Mind opening a separate issue for this? |
Sure! #889 BTW thank you very much for the awesome support and product, Earthly is amazing ❤️ |
Note that there are some known issues with this feature:
Will keep this open until known issues are addressed. |
To enable this Beta feature set |
It seems that
FROM DOCKERFILE
creates synchronisation points in the build graph:Here is what happens when trying to build this:
Building a similar graph without
FROM DOCKERFILE
or with locally referencedDockerfile
executes+a
and+b
in parallel.Note: I had to do
earthly prune
because--no-cache
didn't prevent the*cached*
steps, is this normal? (using earthly v0.5.7)The text was updated successfully, but these errors were encountered: