[RFC] Un-staticise the toolchain

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Apr 26 20:16:09 UTC 2012


On 26/04/2012 20:01, Chris Rees wrote:
> hydra# cd /usr/ports && time make MAKE=~crees/bin/make-static index
> 
> Generating INDEX-9 - please wait.. Done.
> 729.770u 120.841s 7:45.10 182.8%        920+2676k 5251+116484io 7750pf+0w
> 
> hydra# time make MAKE=~crees/bin/make-dynamic index
> 
> Generating INDEX-9 - please wait.. Done.
> 771.320u 133.540s 8:07.83 185.4%        609+2918k 474+116484io 570pf+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.  Try 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.

	Cheers,

	Matthew

[*] Unmount and remount /usr/ports should do that I believe.

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120426/43356080/signature.pgp


More information about the freebsd-current mailing list