DISTCC_POTENTIAL_HOSTS, localhost, and slots
Dave Abrahams <[email protected]> Tue, 13 May 2014 22:16:33 -0700
| Newsgroups | gmane.comp.compilers.distcc |
|---|---|
| Message-ID | <CAHaNa2VT2-8jhRq+fsYxbJp+zKqzGvBFXps7emuzNFjD6w+PDA@mail.gmail.com> |
--===============8076234035260360502== Content-Type: multipart/alternative; boundary=089e0129452ce1786404f955492a --089e0129452ce1786404f955492a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable DISTCC_POTENTIAL_HOSTS seems like a great idea; as I scale up the build farm I=E2=80=99d like to be able to deal with unavailability, but I=E2=80= =99m having trouble getting it to work right. First, after much fooling around I surmise two undocumented facts(?) 1. it adds ,lzo,cpp to all the hosts implicitly 2. it only accepts bare host names, not the usual @?hostname/<slots>(,<extension>)* syntax Is that correct? If so, it would be good if these things were documented explicitly somewhere. Also, if I want localhost to be one of the hosts, it looks like I need to run distccd there. That doesn=E2=80=99t seem like the most efficient thing= to do, since normal local compilation will presumably have fewer layers to work through. Am I mistaken? Lastly, I=E2=80=99ve only been able to get it to run the default 6 (?) slot= s per host using DISTCC_POTENTIAL_HOSTS. My .distcc/hosts file looks like this, and has been working pretty well: --randomize localhost/10 bruford/10,lzo,cpp fripp/10,lzo,cpp Is there any way to get an effect like that using DISTCC_POTENTIAL_HOSTS, i.e. 10 slots per host, no local distccd? Thanks! --=20 Dave Abrahams --089e0129452ce1786404f955492a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">DISTCC_POTENTIAL_HOSTS seems like a great idea; as I scale= up the build farm I=E2=80=99d like to be able to deal with unavailability,= but I=E2=80=99m having trouble getting it to work right.<div><br></div><di= v>First, after much fooling around I surmise two undocumented facts(?)</div= > <div><br></div><div>1. it adds ,lzo,cpp to all the hosts implicitly<br clea= r=3D"all"><div>2. it only accepts bare host names, not the usual @?hostname= /<slots>(,<extension>)* syntax</div><div><br></div><div>Is that= correct? =C2=A0If so, it would be good if these things were documented exp= licitly somewhere.</div> <div><br></div><div>Also, if I want localhost to be one of the hosts, it lo= oks like I need to run distccd there. =C2=A0That doesn=E2=80=99t seem like = the most efficient thing to do, since normal local compilation will presuma= bly have fewer layers to work through. =C2=A0Am I mistaken?</div> <div><br></div><div>Lastly, I=E2=80=99ve only been able to get it to run th= e default 6 (?) slots per host using DISTCC_POTENTIAL_HOSTS. =C2=A0My .dist= cc/hosts file looks like this, and has been working pretty well:</div><div>= <br></div> </div><blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"= ><div><div>--randomize</div></div><div><div>localhost/10</div></div><div><d= iv>bruford/10,lzo,cpp</div></div><div><div>fripp/10,lzo,cpp</div></div></bl= ockquote> <div><div>=C2=A0</div><div>Is there any way to get an effect like that usin= g DISTCC_POTENTIAL_HOSTS, i.e. 10 slots per host, no local distccd? =C2=A0<= /div><div><br></div><div>Thanks!</div><div><br></div>-- <br><div dir=3D"ltr= ">Dave Abrahams<br> <br></div> </div></div> --089e0129452ce1786404f955492a-- --===============8076234035260360502== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc --===============8076234035260360502==--