From owner-freebsd-current@freebsd.org Fri Nov 13 05:04:54 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90D59A2DB71 for ; Fri, 13 Nov 2015 05:04:54 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6F3EE13BB for ; Fri, 13 Nov 2015 05:04:54 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6CF0CA2DB70; Fri, 13 Nov 2015 05:04:54 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51A40A2DB6F for ; Fri, 13 Nov 2015 05:04:54 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0965F13B9; Fri, 13 Nov 2015 05:04:54 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykfs79 with SMTP id s79so130460973ykf.1; Thu, 12 Nov 2015 21:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+86eT4zspIQ74Bri0oDKrD1krGn/stg1falX0xtoXyA=; b=PGeOXOlmr6RVsrkO8YVQRFnDXgEwaw6+ZI/nQKMX/j+zsPt2J/x8c7XIV57a8cCLiF g2V57tqhjasnRx4K7PqWPOWpjWW5L6osaJzmcmuRlIcfGz96DpULt+B2Nq3XwXE2quX9 vJCL/6hBdu5KDDtkYJpi5wRHaZ7N+TBpcMo+gNhfnSz0pJrH8kSw5PzlRp4KSZFlTV7K rI7AgcD1ZVooIy+B+HdyNGWXDNoPfeOnFhjzJQbrlEFn2PF08Sgd0e+s54Pi9AHWjATx atL4uFKEAAmTWt9CgFDacLWuaqQrI0mGhrfFnnm8+ihT2zF0chC7+A42oanaJo9IzLIc EAhQ== MIME-Version: 1.0 X-Received: by 10.129.146.197 with SMTP id j188mr19274054ywg.19.1447391093283; Thu, 12 Nov 2015 21:04:53 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.37.95.9 with HTTP; Thu, 12 Nov 2015 21:04:53 -0800 (PST) In-Reply-To: <5644CF1C.9020709@FreeBSD.org> References: <5644CF1C.9020709@FreeBSD.org> Date: Thu, 12 Nov 2015 21:04:53 -0800 X-Google-Sender-Auth: i8yXcg7ryxcsaYwIDuuxlMeIVqg Message-ID: Subject: Re: [CFT] build: WITH_FAST_DEPEND and WITH_CCACHE_BUILD From: Craig Rodrigues To: Bryan Drewery Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2015 05:04:54 -0000 On Thu, Nov 12, 2015 at 9:40 AM, Bryan Drewery wrote: > - The first is WITH_FAST_DEPEND. Please see the commit for its full > I have enabled WITH_FAST_DEPEND in make.conf for several builds. (1) Job: https://jenkins.freebsd.org/job/FreeBSD_HEAD Before WITH_FAST_DEPEND: https://jenkins.freebsd.org/job/FreeBSD_HEAD/3488/ 1 hour, 23 minutes After WITH_FAST_DEPEND: https://jenkins.freebsd.org/job/FreeBSD_HEAD/3497/ , 1 hour, 17 minutes Compiler used: clang (2) Job: https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/ Before WITH_FAST_DEPEND: https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/1309/ , 23 minutes After WITH_FAST_DEPEND: https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/1329/ , 22 minutes Compiler used: gcc 4.2.1 (3) Job: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/ Before WITH_FAST_DEPEND: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/761/ , 1 hour, 7 minutes After WITH_FAST_DEPEND: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/762/ , 1 hour 2 minutes Compiler: gcc 4.9.2 The timings are not very scientific, because the VM's in which the builds are occurring are very loaded, since each build host is running multiple VM's, which are building different things. This gives you a basic idea though, that WITH_FAST_DEPEND works on a few compilers (clang, gcc 4.2, gcc 4.9), and there is some build time reduction, and no increase in build time. Congratulations for tackling this stuff in FreeBSD. As you mentioned, this area has not been touched in 14 years. -- Craig