Samuraiii wrote: > > > > > On 2012-02-05 18:38, Michael Mol wrote: >> On Sun, Feb 5, 2012 at 12:04 PM, Samuraiii <samura...@volny.cz> wrote: >>> Hello, >>> >>> I have (right now) 3 computers runing Gentoo and as two of them are with >>> only 1GB of ram - which for libreoffice compiling is not enough. >>> >>> So my questions are: >>> >>> 1) Is it possible with distcc overcome this memory limitation? -call compile >>> on "weak" machine and leave memory load on "strong" one >> To a limited extent, yes. You could configure things such that >> compiles happen remotely, but links always have to happen locally. And >> anything not done with a C or C++ compiler happens locally. >> >> AFAICT, any C or C++ app's most memory-consumptive act is linking. >> >> Your better bet is probably going to be to add swap. > The swap thing is good idea but wont work because (libreoffice is one of > examples) ebuild checks for available ram not swap so when there is eg. > 962MB of ram it fails right in begining of merge > > I myself have really huge (4GB+) swap for some reasons > -- > Samuraiii > e-mail: samura...@volny.cz <mailto:samura...@volny.cz> > GnuPG key ID: 0x80C752EA > <http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on&exact=on> > (obtainable on http://pgp.mit.edu) > Full copy of public timestamp block <http://publictimestamp.org> > signatures id- (from ) is included in header of html.
It does the same for portages work space too. I have portages work directory on tmpfs and I always have to mount with the size=12g option so that LOo will even start. Thing is, it rarely uses more than 4Gbs or so. Is there a way to disable this mess? I got the space for my compile. I really don't need the checks. Another reason for the question, the OP could add a ungodly amount of swap and just listen the hard drive heads sing. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS="--quiet-build=n"