starting compile server - advice needed
Jamie Lokier
jamie@shareable.org
Sat Jul 12 16:35:00 GMT 2003
Per Bothner wrote:
> >What about a build with -j2? What about a
> >QMtets with -j2? Who should load balance the CPUs? How?
>
> My thinking is that if a server is per-directory, then a "smart make" or
> IDE might start multiple parallel servers, for multiple directories.
> That doesn't help if a single directory has many source files. In that
> case it might be useful to use an option to override the default server
> name, so one might create more than one (one per cpu), or fewer servers
> than the number of directories.
If a client connects to a server which is currently doing a
compilation, start another server - that will load balance as well (or
as badly) as Make does at the moment. They could all share the same
socket, if they are all launched by forking from the one server
process.
-- Jamie
More information about the Gcc
mailing list