From owner-freebsd-current@freebsd.org Fri Nov 13 05:23:36 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 8C820A2DF0B for ; Fri, 13 Nov 2015 05:23:36 +0000 (UTC) (envelope-from sergey.dyatko@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 69EE41C48 for ; Fri, 13 Nov 2015 05:23:36 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 67CBDA2DF09; Fri, 13 Nov 2015 05:23:36 +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 4CA1BA2DF07 for ; Fri, 13 Nov 2015 05:23:36 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 E57861C47 for ; Fri, 13 Nov 2015 05:23:35 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by wmww144 with SMTP id w144so15493481wmw.0 for ; Thu, 12 Nov 2015 21:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=esdGr/uGQWHpDo38hOmvPfLFUIh54jB8O6Kj0g/hUN0=; b=DsbxaoCurjzrIFYSAd5PaCKGveolb9xHr1fUhIQeix9HWgnrQA1G9scXuRQHB+NWzx gp7gUH6cmvQ2FoUcrJ+qHcQja0pXc7M0fRAkYfy0SFKJMVEMxutGKm0SK/RtPof+CkOP PbZtYc67r4+k4sKqEpgPhMlaf/AnP4WP/iwRM4RlvdneClM57P9XvmVQGpHVneSiU6tE /Yi8c4I7LQ+x9rP8FHxuVxvkqMzqJ+Sd67CajrkRbMAxfFEXXlLNbYbhEyq3h6AbqCem CuVsRgVyxwPuYU8j7wzkxUe2C4nGMfQZPMN1r5rSoFAIPP3wt117Thbp+5L8WWlH5wfg OCrA== X-Received: by 10.28.217.130 with SMTP id q124mr1298561wmg.92.1447392214427; Thu, 12 Nov 2015 21:23:34 -0800 (PST) Received: from laptop.minsk.domain (minsk.nivalnetwork.com. [86.57.144.74]) by smtp.gmail.com with ESMTPSA id ka10sm17940733wjc.30.2015.11.12.21.23.33 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Nov 2015 21:23:33 -0800 (PST) Date: Fri, 13 Nov 2015 08:20:02 +0300 From: "Sergey V. Dyatko" To: Subject: Re: [CFT] build: WITH_FAST_DEPEND and WITH_CCACHE_BUILD Message-ID: <20151113082002.258103d3@laptop.minsk.domain> In-Reply-To: References: <5644CF1C.9020709@FreeBSD.org> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:23:36 -0000 On Thu, 12 Nov 2015 21:04:53 -0800 Craig Rodrigues wrote: > 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. I have enabled it in src.conf ( head@r290570, GENERIC-NODEBUG kernel) On hw.model: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz time make -j8 buildworld: 3685.33 real 25176.56 user 1918.05 sys WITH_FAST_DEPEND 3904.77 real 25833.18 user 2327.22 sys without > (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 -- wbr, tiger