[distcc] Distributed compiling

Bryntse, Mats Mats.Bryntse.x at sonyericsson.com
Thu Jan 19 08:49:01 GMT 2006


Thanks for your answers!

I guess what I'm looking for is something that will only allow this
program to run computers where the screensaver is enabled. Thus never
stealing any CPU from someone working on their computer...

Is there such a patch?

BR

Mats

-----Original Message-----
From: daniel.r.kegel at gmail.com [mailto:daniel.r.kegel at gmail.com] On
Behalf Of Dan Kegel
Sent: torsdag den 19 januari 2006 06:07
To: Dan Kegel; Bryntse, Mats; distcc at lists.samba.org
Subject: Re: [distcc] Distributed compiling

On 1/18/06, Martin Pool <mbp at sourcefrog.net> wrote:
> > > There is a TODO that distccd should reject jobs if the machine's 
> > > load average is too high.
> >
> > I have a patch that implements this if you want it.
>
> Could you resend it please?

Thing is, I'm not sure it's really useful yet.
At the moment, it rejects jobs if the system runqueue is above the
target number of jobs already picked by distccd.
This causes jobs to be rejected a bit too easily.

I should probably have a commandline parameter to set the threshold
(e.g. --reject_job_threshold=0 would reject jobs if there were more than
the target number of tasks running,
--reject_job_threshold=1 wouldn't reject until there was one more than
the target number of tasks running, etc) but I haven't tried it yet.

I did try making the decision based on the one-minute load average, but
that did not perform well; it let overload really rack up before the
limit kicked in.

Anyway, do you want the patch even before I add that parameter?
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv


More information about the distcc mailing list