From owner-freebsd-current@FreeBSD.ORG Thu Apr 26 20:30:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B73C2106564A for ; Thu, 26 Apr 2012 20:30:39 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1408FC0A for ; Thu, 26 Apr 2012 20:30:39 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so16060bkc.13 for ; Thu, 26 Apr 2012 13:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=b5NRXMAlUTRMjUGpnJBYTZIQX9gsSgLnMVy1y2uOdEE=; b=qbEgylr7+2zfwpPlo3wZcLlDP7iF36v3gPlR8s40uqsUm8s0uIiv4M8hwH8n5OKEiR 9ygWOzfvymW8NgqyKxTv0quRM2Bs3E9uJS0jlzgBJK+6TK8+eNXe0Fp4CAEC2E24TNNn N0sxBl4J5Mh/CmBsk6iw5cwO3DW76lG7uTSHqFAo3yfQ4kG7Uy7gw4vYT/K3ucajOFqI 7sbggdiP894f3B24OuJo5zIKLTjD8Oxh8KC7/vP6MfcGukpFDSzywZ/PTlOTX8Z7k4mm ZXggNW+PJ0HbqGbpA+4U//gCncu+HVA67K+B3MJHs6VH8P+YThxAG6sANKC39PKA0Uc1 OfsQ== Received: by 10.204.156.135 with SMTP id x7mr3043012bkw.131.1335472238118; Thu, 26 Apr 2012 13:30:38 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.202.142 with HTTP; Thu, 26 Apr 2012 13:30:07 -0700 (PDT) In-Reply-To: <4F99ACF9.2050609@infracaninophile.co.uk> References: <20120426093548.GR2358@deviant.kiev.zoral.com.ua> <20120426134140.GF14350@lo0.su> <4F99ACF9.2050609@infracaninophile.co.uk> From: Chris Rees Date: Thu, 26 Apr 2012 20:30:07 +0000 X-Google-Sender-Auth: 9PoJeYSt_lnVqdhBNK9HbR0vtXo Message-ID: To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: [RFC] Un-staticise the toolchain X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 26 Apr 2012 20:30:39 -0000 On 26 April 2012 20:15, Matthew Seaman wr= ote: > On 26/04/2012 20:01, Chris Rees wrote: >> hydra# cd /usr/ports && time make MAKE=3D~crees/bin/make-static index >> >> Generating INDEX-9 - please wait.. Done. >> 729.770u 120.841s 7:45.10 182.8% =A0 =A0 =A0 =A0920+2676k 5251+116484io = 7750pf+0w >> >> hydra# time make MAKE=3D~crees/bin/make-dynamic index >> >> Generating INDEX-9 - please wait.. Done. >> 771.320u 133.540s 8:07.83 185.4% =A0 =A0 =A0 =A0609+2918k 474+116484io 5= 70pf+0w >> >> We have a 10% slowdown (or 11% speedup, depending on your figures) when >> using a dynamically loaded make. > > I don't think you can validly conclude much from just one sample of each > type. =A0Try repeating those tests enough that you can do some decent > statistics. > > Oh, and you should probably either discard the first few results, or > else take pains to flush[*] the buffer cache between each run, so you > end up measuring the same thing repeatably. Had I done the tests the other way around, I may agree with you, but the second test should benefit from any buffering, and it is *still* slower. Look, I know it's not a perfect benchmark, it was just some food for thought-- a difference of 10% is pretty significant, and I don't think you can blame that on a solar flare. Chris