From owner-freebsd-ports@FreeBSD.ORG Thu Dec 13 20:01:00 2007 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 18A1316A420 for ; Thu, 13 Dec 2007 20:01:00 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id E23D413C43E for ; Thu, 13 Dec 2007 20:00:58 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so416473pyb.3 for ; Thu, 13 Dec 2007 12:00:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=qQh1o0D88nJtGSxNtgqAGS/3bFKPmSXsytPTb13a404=; b=Pb4MorCgyLzaF4npeNWshEg4ZfV2Krh1SgFpyoxSO/6GP9NcXZl8n54qkLsDwoukzikrVrbriHmIYKDcVdvIUGWDxwmizJhFWcZfiLdhP0XFZghneZQHIf9XFCb0qV854wbozUg0V8ZrCCbY4f5LfUF++PVvHmfzXXLjBqAwS3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=tfsApWzADOhXY00f8bPmRwI2KwOcfWZmAlgmnbNVlF800Xx7vdzhUfFvZPLPi0qNh6emmreP5TDuQf9YTmx2jx56NrUG+ZFIeeb5xUyGdROS/zvxUvfe1sj4frXWm/IOEyUtELiwD8JSaUmY4wJk9nDd2inyk0HDpn4B8SAZgtA= Received: by 10.65.100.14 with SMTP id c14mr5106935qbm.88.1197576056865; Thu, 13 Dec 2007 12:00:56 -0800 (PST) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id e11sm364180qbc.2007.12.13.12.00.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Dec 2007 12:00:56 -0800 (PST) Message-ID: <47618F76.4080001@gmail.com> Date: Thu, 13 Dec 2007 15:00:54 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.9 (X11/20071209) MIME-Version: 1.0 To: Garrett Cooper References: <475F7390.9090509@gmail.com> <1022BEDA-8641-4686-AB1A-3FE2D688F47F@FreeBSD.org> <475FAC1F.1010401@gmail.com> <19341C6C-BF3A-4DFD-B8DF-87F4E92B0335@FreeBSD.org> <0F330142-A3CA-4E6E-84BD-FDE55A8E3AEE@yahoo.com> <20071213111050.O6078@wonkity.com> <291C2604-2EDD-412E-9108-2ADD7D4D9F68@u.washington.edu> In-Reply-To: <291C2604-2EDD-412E-9108-2ADD7D4D9F68@u.washington.edu> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Warren Block , freebsd-ports@freebsd.org, Steven Kreuzer , Ade Lovett Subject: Re: Limitations of Ports System 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: Thu, 13 Dec 2007 20:01:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garrett Cooper wrote: > > On Dec 13, 2007, at 10:17 AM, Warren Block wrote: > >> On Thu, 13 Dec 2007, Steven Kreuzer wrote: >> >>> This thread was called "results of ports re-engineering survey" >>> but I figured I would start a new thread. >> >> Rightly so. >> >>> On Dec 12, 2007, at 6:45 AM, Ade Lovett wrote: >>>> We *know* it can be done better. We *know* the scaling >>>> limits of the current system, and most of us are completely >>>> amazed it even still works. If y'all want to make a >>>> difference, concepts and ideas we have plenty of. Code talks. >>>> >>> >>> Out of curiosity, are any of these shortcomings documented >>> anywhere? I have been using ports on my home machine for a long >>> time and I've never had any problems with it. I assume the >>> issues come into play when you work with multiple systems you >>> are trying to keep in sync, etc. >>> >>> I would be interested in reading about some of the limitations >>> people have run into when using ports. >> >> Notable with the new modular Xorg is the speed of changes >> (install/deinstall/clean) when there are a lot of ports >> installed. Before modular xorg, 400 ports installed was a lot. >> 700 now is not surprising. >> >> Some profiling looking for areas which could benefit from speed >> optimization would be useful. That may have already been done >> but not publicized. >> >> -Warren Block * Rapid City, South Dakota USA > > > My hunch is that part of the problem lies in the fact > (unfortunately) that everything's done via Makefiles and that > there's a lot of redundancy to some extent with the operations > performed by pkg_install and friends (at least from reading and > writing the /var/db/pkg* and /usr/ports/INDEX* files are > concerned), in particular when dealing with non-slave / -master > instances, and how make is invoking pkg_install(1). I don't have > hard evidence to support that point though, and until that point is > reached my comment is merely speculation. That is why I plan to use xorg as the test case for the new system.... namely if it builds xorg in the most efficent way possible then it will be considered good enough for release -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHYY92zIOMjAek4JIRAjBoAJ4hi8xhHmreBMKHu7FMnDI+HkYDMACfQfxS wVcLDfmxx33RniSkKLsysYo= =ZLLP -----END PGP SIGNATURE-----