Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 18:04:24 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Michel Talon <talon@lpthe.jussieu.fr>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade installing unexpected dependencies
Message-ID:  <47B33128.4070905@infracaninophile.co.uk>
In-Reply-To: <20080213161759.GA34862@lpthe.jussieu.fr>
References:  <20080213161759.GA34862@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Michel Talon wrote:
> Robert Huff wrote:
>> Matthew Seaman writes:
>>
>>>  Building your own INDEX is easy (just type 'make index' in
>>>  /usr/ports) but very time consuming -- probably 45 minutes or so
>>>  on a typical desktop box
>> 	On a lightly loaded p4/2.2Ghz (with only 512mb of RAM) it
>> routinely takes about 75 minutes.

> Last time i have built the INDEX on a core 2 duo machine, it took less
> than 10 minutes, in fact 8 minutes if i remember well, which is ways
> less than the numbers you are claiming. 

So, one of you has a machine that's a few years old now, and the other
has a machine that's top of the line and pretty shiny.  That range of
difference in performance is not at all unexpected.

It's not processor speed that's the ultimate determinant -- building the
INDEX is critically dependent on disk IO rates too.  I suspect the Michel
probably has fast SAS drives and/or a pretty useful hardware RAID controller
whilst Robert is using run of the mill IDE or SATA drives.

Doing something to cause most of the ports tree to be cached in VM before
you start (like, for instance, running make index as a rehearsal) will make
a big difference to the time required.  Of course, that is most effective
if you've got lots of available RAM. etc. etc.  Basically the more cojones
your machine has in all departments, the faster it will build an index.

	/me tactfully withdraws as this thread descends into a 'my machine
        is better than your machine' contest...

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHszEo8Mjk52CukIwRCENPAJ9YIZpo24hachry02eh5fcyIGsNowCfQCJN
e89RZ7ftQs2JsHCNpnYvSn4=
=JyoV
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B33128.4070905>