Our situation was admittedly somewhat pathological, but in any case we were seeing preprocessing taking 40%-80% of the time to compile a particular file. We also had far more jobs scheduled than we had slots in our hosts file, which was exacerbating the slow preprocessing as it looks like distcc attempts to obtain (num_jobs - num_cpus) * num_cpus locks per second. Which was pushing 5,000 at times, and this over NFS.
Obviously we've got some internal IT issues to resolve, but is there a reason why getting the lock can't be moved to after the preprocessing step?
-jake
__ distcc mailing list http://distcc.samba.org/
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc
