From owner-freebsd-stable@freebsd.org Wed Feb 14 11:10:34 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C380F17B7E for ; Wed, 14 Feb 2018 11:10:34 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [192.108.105.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0ED971314 for ; Wed, 14 Feb 2018 11:10:33 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (bones.soaustin.net [192.108.105.22]) by mail.soaustin.net (Postfix) with ESMTPSA id E24D5FB9; Wed, 14 Feb 2018 05:10:25 -0600 (CST) Date: Wed, 14 Feb 2018 05:10:24 -0600 From: Mark Linimon To: Kurt Jaeger Cc: Mike Tancsa , FreeBSD-STABLE Mailing List Subject: package building performance (was: Re: FreeBSD on AMD Epyc boards) Message-ID: <20180214111024.GA9330@lonesome.com> References: <8037bf98-acc8-6981-d25b-3b58330dbd33@sentex.net> <20180214081553.GF89804@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180214081553.GF89804@home.opsec.eu> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 11:10:34 -0000 On Wed, Feb 14, 2018 at 09:15:53AM +0100, Kurt Jaeger wrote: > On the plus side: 16+16 cores, on the minus: A low CPU tact of 2.2 GHz. > Would a box like this be better for a package build host instead of 4+4 cores > with 3.x GHz ? In my experience, "it depends". I think that above a certain number of cores, I/O will dominate. I _think_; I have never done any metrics on any of this. The dominant term of the equation is, as you might guess, RAM. Previous experience suggests that you need at least 2GB per build. By default, nbuilds is set equal to ncores. Less than 2GB-per and you're going to be unhappy. (It's true that for modern systems, where large amounts of RAM are standard, that this is probably no longer a concern.) Put it this way: with 4 cores and 16GB and netbooting (7GB of which was devoted to md(4)), I was having lots of problems on powerpc64. The same machine with 64GB gives me no problems. My guess is that after RAM, there is I/O, ncores, and speed. But I'm just speculating. mcl