From owner-freebsd-current@freebsd.org Mon May 8 18:23:04 2017 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 6739DD63394 for ; Mon, 8 May 2017 18:23:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (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 1DE8BC75 for ; Mon, 8 May 2017 18:23:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x22a.google.com with SMTP id v14so36963941pfd.2 for ; Mon, 08 May 2017 11:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=PGwXCKTW97h+LGTOBNHnjeTdAjdk7alFyO0uFoWMfV8=; b=d55yc2IPNypfE1gzE1bcXuLYqLBZ2ga/6R6pBRiSajjRXr0/kGGOJOSqyenou85LfD uk+ATdYqzwMF+qgrJM9v4EdNOxDNEAL1d+IFX3+iEYP+BxTKHKy2Ar2UxwGcgoaKInLo wz33OB3JBJ4JJTq41B11nAfvzrU6mbWCxFFA9PvmmcXxDS3XZQP7iiGjmRjsE5NGAAE8 HXxD5kjXmFII9vWQU9exj7WHM67aVfk20EZlrc3iqOUrUmy1bYgYZSZdqMVMl1ikwfij ATizGgI2g722jMyDxYOwG4f4apfpaqeyGYcKU+a98t4kgY/5qwCw42f7VNxqw7uZefNc rc2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=PGwXCKTW97h+LGTOBNHnjeTdAjdk7alFyO0uFoWMfV8=; b=XnP4/hxIUdMActGGoliAVvveJICCp/dWe+gPy7ioS/qJ3YWPOTsR0Z4ukcf1ZSZ5lM VytHcMSNbONyWPrfUXGNhj5DydmGXFH/+/lNOuCue2JcQvmc+VAkDd/bVGmZF7erhDnP YB17EwT5SCphgNVjojHb6QevSyWHxCcXNlCx2plDc4sHi1BqmKDS01Xh79J10R6G6P+/ OIQIr1NdT35Pf6Tw5gKK0tquRzwk1bFy053MKqwCwWiJofwQ0UVyBNznZjHx/nEQjJpc lvbhUqy002eK9Bier9Ms7XP7rvy8o2IeCn79fP23mY+yqGt9CPtQ2BVk+P04c9nCwdzr 1vvw== X-Gm-Message-State: AODbwcDdpsOzxKcFKizREdp3XuDlmS2s7OI1jPXIPkKUhwMxTL/wKDkM MwnD0pGD065Jkg== X-Received: by 10.84.195.129 with SMTP id j1mr21926600pld.122.1494267783542; Mon, 08 May 2017 11:23:03 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id c23sm14033367pfh.38.2017.05.08.11.23.02 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 May 2017 11:23:02 -0700 (PDT) Subject: Re: filemon: weird full-time build although filemon enabled Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4B5EBB05-BD8C-4B27-BCD0-C9BD76C87A43"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <20170506092255.083828f8@thor.intern.walstatt.dynvpn.de> Date: Mon, 8 May 2017 11:23:01 -0700 Cc: FreeBSD CURRENT Message-Id: <557CD2F0-4E32-41EE-A0A9-DF5D8C189E83@gmail.com> References: <20170506092255.083828f8@thor.intern.walstatt.dynvpn.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 08 May 2017 18:23:04 -0000 --Apple-Mail=_4B5EBB05-BD8C-4B27-BCD0-C9BD76C87A43 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 6, 2017, at 00:22, O. Hartmann wrote: >=20 > I build CURRENT on two technically similar systems on a almost daily = basis. Therefore, it > was a great relief having WITH_META_MODE=3Dyes set in = /etc/src-env.conf for incremental > builds. To make my understanding of this clear (just in case I'm = wrong): setting > WITH_META_MODE builds only portions that does not need to be build in = the make context. >=20 > Well, the reason writing this email is: on one system, I run almost = every reboot into a > "full build" and this puzzles me a bit. The long-lasting and time = exhausting builds are > within the LLVM/CLANG tree. They consume a lot of time. The box in = question does have a > weak CPU, only two physical cores, four threads, 8GB of RAM and builds = the /usr/obj > residing on a SSD. The reference machine does have the same = motherboard, also a SSD, but > has 16 GB RAM and a 4-core/8 threads XEON CPU - but both are = "IvyBridge". The XEON > usually needs 30 - 40 minutes to compile a full world/kernel from a = clean /usr/obj, the > "weak" box takes approximately 120 minutes - it is understandable that = a shortage of the > build time is appreciated. >=20 > Well, having said this, I need to mention that both systems use almost > identical /etc/src.conf setting - except the order of appearance of = the WITH_ tags. In > fact, they are identical except the KERNCONF (naming of the kernel) = and PORTS_MODULES=3D, > the "weak" box incorporates x11/nvidia-driver and = emulators/virtualbox-ose-kmod, so these > modules are build every time the system gets rebuild, but the time = taken by those is > negligible. >=20 > The problem: to make my point clear: the "weak" box starts compiling = almost everytime now > the LLVM/CLANG tree while the XEON box does not. This is spooky. >=20 > I deleted on both systems recently /usr/obj completely from its = content and restarted a > buildworld again to hope, that the problem was introduced due to some = files > necessary for the BSD make environment to indicate the incremental = build. But no success. > Even more spooky is the fact, that after a build on the "weak" box and = a build again, the > box bevaves as expected not rebuilding everything again, but in some = cases after a > reboot, a rebuild the hits again the build of LLVM/CLANG tree, while = the XEON box does > not. >=20 > I think there is something missing an I'd like to ask what is the = suggested way to > initially restart a full build to ensure that WITH_META_MODE gets = initialised correctly. >=20 > Well, I'm not a developer, so please be patient with my naive report. >=20 > Thanks in advance, Dumb question: which kernel are you using on which machine = (GENERIC, GENERIC-NODEBUG, a custom kernel with or without debug hooks, = e.g., INVARIANTS, enabled)? Also, how are you building the system = (locally using UFS or ZFS, remotely, e.g., over NFS, etc)? Thanks, -Ngie --Apple-Mail=_4B5EBB05-BD8C-4B27-BCD0-C9BD76C87A43 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJZELeGAAoJEPWDqSZpMIYV4wIP/3NKiAjoYSlzyNrPYn5z19oD ATmBevYVq7hzzKUhWEes3ei+2/Umz7cAB+DhNy6PL4ynT2PhVVFCArNjXVWFU+ZB zeoBVO35oeL4C7BHta2gAw6abOCWQHz8YcpOHExM6m2XRJiiABs5TSF57fd53n6d efdXxbe6GYiVwpvVtTX5iCXm3JNJ0EJ2usK3MCud/kR1eVJIjwlW5JhXEkxkVkna 95AFW51q6nvhAx5HKEKlm6L+Lp68YvmN/IJZcT6ZnCo8SkYqHUJOglue0/mwhMt+ cbKjAVCQTHo612yL8btE7uBVGGzYOhEdkslJECbPT0T5yQZO461VvAtduuIZ9ZPJ CZlmToH7kzI5C0ffRreDKmWKPRuZQTENWjYZvYyvbRyc5AF71e8bLSBx7k9ZOgl2 9NU1k8C6dyX+DV26hzsAGW04pQyoXS2fbnBs+GhW9wlnTpEuJjfAk0aym7BWKx1L gkt34hL9jZwucDBgTTcgp9qg+tP6zT23Mc48ZXDU1/Wuhdtl/sXQotvw1bmEUPZE C05GnFcA8LRCFnZt6sxmFO7S+GkubuwhKokt8icNBtcUomYh8COmX2tNiI3R6sY8 oEco9PyFCLDzojoWIhKVzPESW6BtQA18+/cRD8uKH5cOxqTMvL7YkkfrguHDa/nK NJX0htZtMJ6Ev5817Eat =JTxe -----END PGP SIGNATURE----- --Apple-Mail=_4B5EBB05-BD8C-4B27-BCD0-C9BD76C87A43--