From owner-freebsd-ports@FreeBSD.ORG Thu Sep 8 07:00:40 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 529C71065672 for ; Thu, 8 Sep 2011 07:00:40 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 251BF8FC1F for ; Thu, 8 Sep 2011 07:00:40 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id p886QEdv014522; Thu, 8 Sep 2011 00:26:17 -0600 From: Erich Dollansky To: freebsd-ports@freebsd.org, schaecsn@gmx.net Date: Thu, 8 Sep 2011 13:26:11 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.2-STABLE; KDE/4.6.5; amd64; ; ) References: <20110908045328.C6E2E1EE8F1@keeper.homelinux.org> In-Reply-To: <20110908045328.C6E2E1EE8F1@keeper.homelinux.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201109081326.11474.erichfreebsdlist@ovitrap.com> Cc: Subject: Re: The cost of a source based package 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, 08 Sep 2011 07:00:40 -0000 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. At the end, we who want to go green have to stop using the Internet and go back to postal services as it costs less energy. Erich > > > - Stefan > > > > Details: > > Price: 1 kw*h = 10 US cent. > > Kill-a-Watt trick: by setting the price per kw to $9.999 (= $10), I could get one more digit of accuracy for the consumed energy by dividing the price by 10. > > HW: Sony vaio pcg-k23 laptop (pentium 4, 2,8 GHz, huge display). Booted into FreeBSD, it consumes around 40 Watt ("idle"). When compiling programs, the power consumption doubles to somewhat above 80 Watt. Internet connection 768kb/s. > > SW: Installed 259 ports via this script: > --- snip --- > date > for i in /usr/ports/x11/xorg-minimal\ > /usr/ports/x11/xorg-apps\ > /usr/ports/x11/xorg-cf-files\ > /usr/ports/x11/xorg-docs\ > /usr/ports/x11/xorg-libraries\ > /usr/ports/shells/bash3\ > /usr/ports/print/teTeX\ > /usr/ports/editors/emacs\ > /usr/ports/editors/joe2\ > /usr/ports/multimedia/xmms\ > /usr/ports/multimedia/ffmpeg\ > /usr/ports/lang/clisp\ > /usr/ports/lang/hugs\ > /usr/ports/lang/swi-pl\ > /usr/ports/lang/llvm-gcc4\ > /usr/ports/lang/gnat\ > /usr/ports/lang/Gofer\ > /usr/ports/x11-toolkits/tk86 > do > cd $i && yes o | make install clean > done > date > halt -p > --- snip --- > > Similarly, 246 binary packages have been installed via pkg_add -r. > > pkg_delete /var/db/pkg/* > rm -rf /usr/ports/distfiles/ > > PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/ > export PACKAGESITE > > --- snip --- > date > for i in xorg-minimal\ > xorg-apps\ > xorg-cf-files\ > xorg-docs\ > xorg-libraries\ > bash3\ > teTeX\ > emacs\ > joe2\ > xmms\ > ffmpeg\ > clisp\ > hugs\ > swi-pl\ > llvm-gcc4\ > gnat\ > Gofer\ > tk86 > do > pkg_add -r $i > done > date > halt -p > --- snip --- > > > The number of ports and binary packages varies slightly. I don't know why. This only introduces a small error. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >