jkh@pcsbst.UUCP (jkh) (05/31/89)
Has anyone hacked a simple implementation of remote-stubs.c in GNU make? I'm not looking for something fancy, just something along the lines of: remote-stubs has list of hosts (either compiled in, or in a file) to try, which it trys in a round-robin fashion (perhaps favoring some hosts over others using a simple weighting scheme). All hosts have daemon sitting on socket waiting for a request to do something. They're passed the command to execute and the environment to give it. The assumption is that the CWD for the command is directly accessable via some network filesystem and that permissions are not a problem. I know that this certainly isn't the best solution, but it gets around system dependent code to try and figure out the load average, whether the machine is being used interactively, etc etc. That can always be added in later. I am just interested in seeing what sorts of results are obtained with, say, 4 or 5 machines doing parallel compiles with NFS. Bending security and/or annoying interactive users isn't much of an issue for this test. Has anyone done this? If not, I'll just do it myself. Thanks. Jordan jkh@violet.berkeley.edu -- -------- Jordan Hubbard PCS Computer Systeme GmbH West Germany UUCP: {uunet,decwrl}!pyramid!pcsbst!jkh ARPA: jkh@violet.berkeley.edu Hey! Leave that alone!