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 1Quw2p-0002mI-AW for garchives@archives.gentoo.org; Sun, 21 Aug 2011 00:37:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E80A21C13E; Sun, 21 Aug 2011 00:37:32 +0000 (UTC) Received: from mail.ukfsn.org (unknown [77.75.108.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EF5921C105 for ; Sun, 21 Aug 2011 00:35:45 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id 1210BDECBD for ; Sun, 21 Aug 2011 01:35:44 +0100 (BST) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id wvVH2QJ6e4z4 for ; Sun, 21 Aug 2011 01:39:24 +0100 (BST) Received: from wstn.localnet (unknown [78.32.181.186]) by mail.ukfsn.org (Postfix) with ESMTP id D8D1CDECB0 for ; Sun, 21 Aug 2011 01:35:43 +0100 (BST) From: Peter Humphrey Organization: at home To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Hoping someone can help explain distcc to me Date: Sun, 21 Aug 2011 01:35:42 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.39-gentoo-r3; KDE/4.6.5; x86_64; ; ) References: In-Reply-To: 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 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201108210135.43166.peter@humphrey.ukfsn.org> X-Archives-Salt: X-Archives-Hash: db9f0efe04a0559c3ac823652763b447 On Saturday 20 August 2011 23:56:08 Paul Hartman wrote: > I have a fast desktop computer and a slow laptop. Both are ~amd64 > Gentoo. After some of the recent discussions about Gentoo on slow > devices, I thought I'd dust off the laptop and try to bring it up to > date. > > I'd like to use distcc to make the desktop do all the compiling during > emerges. I've never been able to get distcc working properly, or, at > least, I've never been able to get it working to the point where using > distcc is any faster than not using it at all. Your laptop isn't sending its compilation jobs to your desktop. Have you used gkrellm or similar to check for network traffic? I think I'd take a different approach, one that I dare say you can anticipate. By all means take the advice you're about to be offered to get distcc working, but why not create a chroot on your desktop, NFS export the packages directory from the laptop to it and do the whole job there? Then return to the laptop and emerge -k. It does need more keystrokes but it uses far less CPU. You just need to copy /var/lib/portage/world, make.conf and the /etc/portage tree to the chroot before you start. I did once get distcc working, but as Neil has observed re Atoms, a lot of work is still done before compilation is farmed out to the distcc server, rather diluting the benefit of distributed compilation. -- Rgds Peter Linux Counter 5290, 1994-04-23