|
|
|
|
|
by jperkin
4265 days ago
|
|
I want to try ccache at some point (with pkgsrc it's trivial to add), but I'm not convinced it will help. Given the distributed nature the first implementation would keep the ccache objects on NFS, and that's going to cause additional latency for every cc invocation to the point where even a cache hit will likely be slower. The next step would be to synchronise all of the ccache objects back to each build zone and then loopback-mount the directory into each chroot. This may provide a small increase in performance, but at the cost of additional complexity. I also wonder whether it would be enough of a performance win compared to the extra time it will take to rsync the objects to each build zone at the start of the build. I will likely do this at some point anyway, as I'd like to have some hard numbers to back up my theory, and if it turns out to be a win, even better ;) |
|
And it doesn't go much faster than just compiling locally with Clang on an 8 core CPUs with SSDs.