[distcc] Detecting an I/O-bound server?

Dan Kegel dank at kegel.com
Wed Jan 25 04:19:29 GMT 2006


On 1/24/06, Martin Pool <mbp at sourcefrog.net> wrote:
> > I'd like distccd to recognize conditions like that
> > (as opposed to a load average of 2 caused by running
> > distcc and gcc), and refuse to accept compile jobs.
> ...
> The thing is that you can have machines which can't afford to
> spare any memory but that are not doing any IO at the moment.
> This is probably typical of large resident applications.

Most of these will show up on the runqueue, though.
I bet a check of /proc/loadavg will catch those more simply
than a "see if memory is slow" check.

Thanks, though!
- Dan
--
Wine for Windows ISVs: http://kegel.com/wine/isv


More information about the distcc mailing list