-
Notifications
You must be signed in to change notification settings - Fork 17
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
Parallel build does not make full use of available CPU resources #169
Comments
The first build for a freshly cloned ocrd_all requires about 16 minutes of CPU time. With 6 CPUs, it should run in less than 3 minutes, but it takes more than twice of that:
In this test, the pip cache was filled from previous runs of the same user. |
Yes, that is unfortunate. But maybe we overreacted when fixing #123: there are lock files involved in both
If you don't restrict to a fixed number of jobs, but a relative number of load level (e.g. |
Using
I had removed the second git |
My recent experience is, when doing |
make all -j6
starts with downloading all submodules, 6 at a time, but because of the semaphore required for git all downloads happen sequentially. Builds will only start as soon as there remain less than 6 submodules to download.The text was updated successfully, but these errors were encountered: