From owner-freebsd-current Wed Oct 9 8:28:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 475E837B401 for ; Wed, 9 Oct 2002 08:28:56 -0700 (PDT) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id C748D43E3B for ; Wed, 9 Oct 2002 08:28:55 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 12152 invoked from network); 9 Oct 2002 15:28:55 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Oct 2002 15:28:55 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g99FSln5011055; Wed, 9 Oct 2002 11:28:51 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200210091029.g99AT8hb009974@grimreaper.grondar.org> Date: Wed, 09 Oct 2002 11:28:49 -0400 (EDT) From: John Baldwin To: Mark Murray Subject: RE: src/games bikeshed time. Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-Oct-2002 Mark Murray wrote: > Hi > > The current flare-up over src/games/wargames reminds me that we are > carrying a bunch of Really Old Stuff in usr/games/. > > Yes folks, its that time of the year. > > I ask myself, "why are we wasting ``make world'' time and install > bandwidth on 1970's-era games?". Umm, you have _got_ to be kidding me. I can understand "it's buggy code that can give l33t games GID privileges!" arguments, but _not_ build time arguments. Many of the games have one source file. Including header files there is a whopping 3142k of C sources under games/. Spread across 41 games that is an average of 76k per game. /usr/bin/lint has 504k of src. That's 6 games. I think we should axe lint from the tree because the sheer TRAUMA from watching my machines LABOR through compiling all of lint(1) during that time that I happen to blink is giving me massive headaches. In fact, I'll have my lawyers be sure and mail you the medical bills. I'm sure this is going to involve lots of therapy. Realistically. On my laptop with X running, mail client running, me typing this message, etc. Doing a fresh build of all of games (including obj, depend, and all) took a whopping 1 minute and 49.70 seconds. Wow, that's such a major bit of time. If I had gotten up to get a soda from the soda machine it would have finished before I had gotten back. The horror! World builds on my laptop usually take about 1.5 hours, or 90 minutes. Let's round the games time up to 2 minutes for easy math. That means that src/games takes up a whopping 2.2% of the world time. And this is on PIII-700 with the slower-than-molasses-in-january gcc 3.2.1 with -march=pentium3 (all the extra optimizations make it slower). Moving over to my test box here at work we have a P4 2.4ghz that takes about, oh, 19.5 minutes to build all of world (4.x). It's a bit fudgy, but let's just assume the 2.2% factor. That comes out to about 26 seconds. I think in the time this thread has taken in the form of reading and writing messages, games could have been built at least 100 times. Find a real argument. Build time is not a real argument. wargames(6) was pretty stupid, but I don't see a reason to remove the rest of the games. There is a NOGAMES option for those of you who really don't want them to "inflate" (*cough*) your build times. > As fortune(6) has a strong maintainer and follower base, removing that > would be premature. s/premature/a request for people to take out a contract on me/ If you can find a real argument for removing the games that makes the change necessary, then so be it. However, build time is not such an argument (esp. with NOGAMES) and we don't need to make change just for the sake of change. This is a personal preference just like your ttys change was. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message