From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ru77X-0007yt-B1 for garchives@archives.gentoo.org; Sun, 05 Feb 2012 18:47:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19713E090B; Sun, 5 Feb 2012 18:47:19 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E8FBFE08C6 for ; Sun, 5 Feb 2012 18:46:14 +0000 (UTC) Received: by yhjj72 with SMTP id j72so2292901yhj.40 for ; Sun, 05 Feb 2012 10:46:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=TDPoyZJrhyy9S+DbTN0+JfyoKseMb1UpOQ+BTD+cLEw=; b=wyFXyny3R9kP6/HdmXD6eDZ4l1dHlnWAnwH4vrIRQAdWqTQIhsK0u9G9JIrJaDPcuw uR4W2UycnMPlhxydxt+fd2Ikpmlt/wx+hd+2kj23KlDyx84HbGkGcFLBIEXiX7RfRhr5 66G3T46kNZGRJal8UqTBSxPGCvhd6sUFHvF3w= Received: by 10.236.139.130 with SMTP id c2mr20558484yhj.103.1328467574480; Sun, 05 Feb 2012 10:46:14 -0800 (PST) Received: from [192.168.2.5] (adsl-98-95-147-47.jan.bellsouth.net. [98.95.147.47]) by mx.google.com with ESMTPS id h36sm19344349yhj.6.2012.02.05.10.46.13 (version=SSLv3 cipher=OTHER); Sun, 05 Feb 2012 10:46:13 -0800 (PST) Message-ID: <4F2ECE74.3070006@gmail.com> Date: Sun, 05 Feb 2012 12:46:12 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20120204 Firefox/9.0.1 SeaMonkey/2.6.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] =?UTF-8?B?wqstwrs6IFtnZW50b28tdXNlcl0gZGlzdGNj?= =?UTF-8?B?IC0gYW1kNjQgYW5kIHg4Ng==?= References: <4F2EB69A.2030205@volny.cz> <4F2EC0FA.2070801@volny.cz> In-Reply-To: <4F2EC0FA.2070801@volny.cz> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 101e3e82-2618-4f80-98fa-65983c0aa441 X-Archives-Hash: f8485281a11b673bdce7971ac46d4667 Samuraiii wrote: > > > > > On 2012-02-05 18:38, Michael Mol wrote: >> On Sun, Feb 5, 2012 at 12:04 PM, Samuraiii 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: samuraiii@volny.cz > GnuPG key ID: 0x80C752EA > > (obtainable on http://pgp.mit.edu) > Full copy of public timestamp block > 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"