From owner-freebsd-ports@FreeBSD.ORG Fri Sep 9 00:04:00 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 C0550106564A for ; Fri, 9 Sep 2011 00:04:00 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id A4DB78FC16 for ; Fri, 9 Sep 2011 00:04:00 +0000 (UTC) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 2713E5C55; Thu, 8 Sep 2011 16:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1315525531; bh=ISLSQPgTtyu0gW0h5MtYt79+LJe4gc08FvSM6EmBymo=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=3fED6LyDZYXovnC16XRc3WZGd/eajg78ruWMq90zf1QXKQmWWMk9MPm4ud4xf85GB CHHEiZkeTm+rTtQ2PaiNJWf1VvGwDHzyry4qBkPCYgqztRv9SQmyUb4+q7EyVsifnf 2QDU+6qmfCTzKrtvssuiTK0L3NwZw5hM5y2UMyQ0= Message-ID: <4E69539A.7080703@delphij.net> Date: Thu, 08 Sep 2011 16:45:30 -0700 From: Xin LI Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20110908045328.C6E2E1EE8F1@keeper.homelinux.org> <201109081326.11474.erichfreebsdlist@ovitrap.com> In-Reply-To: <201109081326.11474.erichfreebsdlist@ovitrap.com> OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: The cost of a source based package system X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 00:04:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 09/07/11 23:26, Erich Dollansky wrote: > Hi, > > On Thursday 08 September 2011 11:53:28 Stefan Schaeckeler wrote: >> Hi all, please don't take this posting too serious. I was just >> curious ... > > your are talking about a serious problem. >> >> Using source based ports is with almost 5 US cents 6.19 times >> (case 1 vs case 2a) or 1.73 times (case 1 vs case 2b) more >> expensive than using binary packages :) > > Yes, but: > > You are moving the cost from you to the the hosting companies. If > more people use packages, they will need more capacity to supply > all the different variants. > > Does anybody know what takes more capacity? The sources or the > binaries? I would believe that the sources would take more space > and bandwidth but the different variants of the binaries could be > much bigger at the end. > > I remember some articles about the electricity bill Google gets > every month. It is not that low. > > So, to paint a more complete picture, we must see both sides of > the fence. > > To make matters worse, people like me do both. I upgrade via the > packages and then compile while I am already able to work with the > new ports. At least, if the packages worked. Both portmaster and portupgrade have 'package' mode, which uses packages when available. If one can live with default optimization (which is usually good anyways) and if most times the default options would satisfy his/her need, or if the port doesn't provide any options, binary packages would save a lot of time. The real problem for FreeBSD's packaging system is, in my opinion, we do not maintain branches and ports tree is a fast moving target, making it impractical to build packages and push to mirrors. My $0.02: It might be worthy to experiment a branched development model and only pull up changes at a much lower pace to branch (e.g. create a branch near a release and drop the branch after a few weeks once a new one is created, and only pullup changes when there is need, like because security vulnerability or serious reliability/performance issue), it would be easier to produce binary package and sync them across mirrors. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOaVOaAAoJEATO+BI/yjfBWmkH/RRpJWJQn4Gqv7WL/HMsX/4Y kXZjVwS5uRF1hey3kf768P0Z1KcFeWNjyMx/B7VkV30tZzqs6Y/5EDqIEKrbrHJ/ Cq6tJGojG6k58dZPPRmCAo97FNbMYO2Xn4pj4+vz2hy/s0YRpPY9Ry+1yGMW0N2W Z55Xoko51Y5e1ZDtMjXTe+AqW1N+Gt/S/5HNAqTY9znpMADmeTyON+37wd069x+E WDd1oHLGadTt123KBU0NMhAMXGhWZWhQh6u6YRQP9Xkog3k9mNnAO+gHY/xiUG0h 2vlDhbZ5WFbeuw7eLd7sWgfgl77j42TFSFq0PUR9gdEBPkBJSjjJkk+B0Wb+A5E= =V1Bg -----END PGP SIGNATURE-----