From owner-freebsd-ports@FreeBSD.ORG Tue Aug 2 21:09:12 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47CBC1065674 for ; Tue, 2 Aug 2011 21:09:12 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.freebsd.org (Postfix) with ESMTP id D003E8FC12 for ; Tue, 2 Aug 2011 21:09:11 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p72L97e1028433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Aug 2011 07:09:08 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p72L97Go079045 for ; Wed, 3 Aug 2011 07:09:07 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p72L97BD079044 for freebsd-ports@FreeBSD.org; Wed, 3 Aug 2011 07:09:07 +1000 (EST) (envelope-from peter) Date: Wed, 3 Aug 2011 07:09:07 +1000 From: Peter Jeremy To: freebsd-ports@FreeBSD.org Message-ID: <20110802210907.GB78870@server.vk2pj.dyndns.org> References: <20110801085135.GA45113@lpthe.jussieu.fr> <4E367999.8000906@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OwLcNYc0lM97+oe1" Content-Disposition: inline In-Reply-To: <4E367999.8000906@FreeBSD.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: UPDATING 20110730 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2011 21:09:12 -0000 --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Aug-01 19:21:21 +0200, Michel Talon wrote: >This is unfortunately impossible because the ports system is organized >around a make logic and the relevant dependency variables are only >obtained through running make on each ports Makefile *in the context* of >the gigantic makefiles (bsd.port.mk, etc) which are included. We've had this discussion before but there is plenty of scope for someone with copious free time to optimise this. Options include a new tool that handles the "easy" cases without needing to fully parse all of bsd.*.mk (and knows to punt the cases it can't handle to make) and/or pre-precessing bsd.*.mk to speed up their loading. Note that about 1/3 of bsd.*.mk is comments. On 2011-Aug-02 22:12:48 +0300, Andriy Gapon wrote: >I will repeat myself: currently portmaster's performance relies on >the fact that certain often used data originating from disk is >actually cached in memory by the OS. Typically performance-conscious >applications explicitly pull such data into an application cache. An alternative viewpoint is that this is wasteful because data is then double-buffered. An alternative view is that the default ZFS configuration is sub-optimal and should be fixed - rather than insisting that every tool that accesses more than a handful of files should do its own caching. (And, reading zfs-discuss, avg@ is far from the only person to have been bitten by the ZFS metadata limit). --=20 Peter Jeremy --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk44Z3MACgkQ/opHv/APuIc/RgCfd/2ji7kITlbWdNZoRlB9i5Lb RwsAnR3uvCYDu6/dmtwDhtqbFbiEcd/+ =BDMI -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--