-
Notifications
You must be signed in to change notification settings - Fork 1
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
Using ccache for full orchestrator rebuilds #190
Comments
This suggestion is implemented in 6c4034c. However, for people with powerful |
I'm not sure what you mean by this. Why wouldn't I think this is a good idea. |
My times, single process:
|
Under my WSL install, it goes from ~28s to ~4s. Good shout! |
My experience was that ccache wasn't working via mpicxx, so for some reason it was using On the 100s -> 4s: y'all have faster disks than me. Or more disk cache memory. But glad it is providing an improvement. Ideally the existing careful header tracking dependency |
When moving between orchestrator branches it's useful to do a
make -B
, butbecause it uses a custom
mpicxx
installation,ccache
doesn't work if you haveit installed.
I found it was useful to add the following to
Makefile.dependencies
:This probably mainly affects people working on laptops with limited
numbers of CPUs and power, but it about halves the full re-compile
time for me.
Results for a 4-ish year old machine running under WSL (so slow disk accesses),
on a 4 CPU / 8 thread machine :
Time becomes dominated by sequential and/or non-compile processes - I think
dependency scanning and linking. I didn't look at incremental compiles, as those
are already optimised by dependency scanning.
This may be a bit niche, as the main usage model is that most people don't recompile the
orchestrator a lot, and currently there is less value in running the orchestrator on a local
machine. Probably most development is done on bigger workstations or servers too.
The text was updated successfully, but these errors were encountered: