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 1QvaUa-0004hq-Q9 for garchives@archives.gentoo.org; Mon, 22 Aug 2011 19:49:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84C7A21C17D; Mon, 22 Aug 2011 19:48:53 +0000 (UTC) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9FE7F21C0C7 for ; Mon, 22 Aug 2011 19:47:49 +0000 (UTC) Received: by vxi39 with SMTP id 39so5590205vxi.40 for ; Mon, 22 Aug 2011 12:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=rD8FUs6deB57wZctYgEWefMIg5QFzA7x1p4AmO0Y3YY=; b=UGwq7yEn7B1jz+hb8hJrWbGPKfe4C8qir8Bpuik2fMafenEPWdZ3HStXZAiGtlkUiX DAKBZpIxRMM5vzd7Jzofhdtaz/P1VHsOlPlJjwouxYuSTU3we54m62cDjMVf+selVTFV ZN/QXiQR9bqSKCm9+XrGtXgouUHC7mOGDmzQ8= Received: by 10.52.186.130 with SMTP id fk2mr2676372vdc.343.1314042469080; Mon, 22 Aug 2011 12:47:49 -0700 (PDT) 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 Sender: paul.hartman@gmail.com Received: by 10.52.160.1 with HTTP; Mon, 22 Aug 2011 12:47:29 -0700 (PDT) In-Reply-To: References: From: Paul Hartman Date: Mon, 22 Aug 2011 14:47:29 -0500 X-Google-Sender-Auth: yN0JlX0kO0iztEtnWuKM3LBWKnc Message-ID: Subject: [gentoo-user] Re: Hoping someone can help explain distcc to me To: Gentoo User Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: X-Archives-Hash: aac0bee140b7b674b1c0f8e97702b81d On Sat, Aug 20, 2011 at 5:56 PM, Paul Hartman wrote: > > 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. Thanks to all who replied for your suggestions and info! After experimenting with various combinations of settings it seems to be working now. I think I was too aggressive with the number of parallel make jobs, the laptop just couldn't coordinate that many. I also stopped distccd on the laptop, in case it was picking up jobs unintentionally. Here's the results, a real-life test with ImageMagick 6.7.1.0. The machines were idle, files were already downloaded, and I don't use ccache, so it should be actual compile time comparison only: Normal emerge on laptop, no parallel jobs in MAKEOPTS, no distcc: merge time: 8 minutes and 27 seconds. With -j3 in MAKEOPTS, using distcc: merge time: 4 minutes and 40 seconds. Great! Of course, on the desktop it only takes 1 minutes 17 seconds, but an almost 50% reduction in emerge time on the laptop is still great to see.