Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 20:30:07 +0000
From:      Chris Rees <crees@FreeBSD.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [RFC] Un-staticise the toolchain
Message-ID:  <CADLo83_sr=13H=9nnrdge0jJaOh5Bk2N_gg=Gf-uYhwM8jm7Xg@mail.gmail.com>
In-Reply-To: <4F99ACF9.2050609@infracaninophile.co.uk>
References:  <20120426093548.GR2358@deviant.kiev.zoral.com.ua> <20120426134140.GF14350@lo0.su> <CADLo838sdUT2e%2B7j8vCyOmDithLsh3kwDd_z04dWaPoiMphPDQ@mail.gmail.com> <4F99ACF9.2050609@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 April 2012 20:15, Matthew Seaman <m.seaman@infracaninophile.co.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_sr=13H=9nnrdge0jJaOh5Bk2N_gg=Gf-uYhwM8jm7Xg>