From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 23:00:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 741F9106566B for ; Wed, 25 Jul 2012 23:00:23 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc4-s10.bay0.hotmail.com (bay0-omc4-s10.bay0.hotmail.com [65.54.190.212]) by mx1.freebsd.org (Postfix) with ESMTP id 46DB38FC14 for ; Wed, 25 Jul 2012 23:00:23 +0000 (UTC) Received: from BAY165-DS19 ([65.54.190.200]) by bay0-omc4-s10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 16:00:17 -0700 X-Originating-IP: [67.166.186.134] X-Originating-Email: [millenia2000@hotmail.com] Message-ID: From: Sean Cavanaugh To: "'Polytropon'" , "'Mr U'" References: <1343228557.99992.androidMobile@web140705.mail.bf1.yahoo.com> <20120726005343.5f4f604c.freebsd@edvax.de> In-Reply-To: <20120726005343.5f4f604c.freebsd@edvax.de> Date: Wed, 25 Jul 2012 18:59:56 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-Index: AQHPBDBGBh3+EXgs39Ju/R/mm7zzAgD5ZiHvly+ebbA= X-OriginalArrivalTime: 25 Jul 2012 23:00:17.0395 (UTC) FILETIME=[42179C30:01CD6AB9] Cc: "'freebsd-questions@freebsd org'" Subject: RE: how to speed up port make?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 23:00:23 -0000 Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. I gave up after 4 days and just went with prebuilt after that. -Sean -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Polytropon Sent: Wednesday, July 25, 2012 6:54 PM To: Mr U Cc: freebsd-questions@freebsd org Subject: Re: how to speed up port make?? On Wed, 25 Jul 2012 08:02:37 -0700 (PDT), Mr U wrote: > > hi > > is it possible to speed up port make ?? > i want to install openbox and xorg on a Pentium 4 and 2gb ram, > compiling xorg takes about 2 hours That's a fully normal make time on such a system. I've been experiencing it on FreeBSD 5 and 7 (with ATA disks and 768 MB SDR-SDRAM). There is no real way to speed it up, except to replace the hard disk with a SSD. But that's only for I/O, not for compiling itself. You also won't benefit from using the -j parameter (maximum number of jobs), because the P4 does not seem to support it. There's not much you can do to improve the system performance. You _can_ few things to streamline the system, but that won't be a _significant_ change. Plan your builds to take place when you don't use the system interactively, or use the "nice" command to give building a lower priority. It will last longer, but can be run in the background without noticing it. Don't complain about build times until you compile world and kernel on a 150 MHz Pentium 1 with 64 MB RAM. :-) To give you some impressions of real-work build times, see those examples: FreeBSD 5, 500 MHz P2 system: # make buildkernel KERNCONF 1:11 # make buildworld 3:54 FreeBSD 5, 2 GHz P4 system: # make buildworld buildkernel 2:13 # make buildworld 1:58 # make buildkernel KERNCONF=* 0:25 # make installkernel KERNCONF=* 30s On the same system: A portupgrade of XFree86 server: 2:12 And mplayer including nearly all options: 1:19 FreeBSD 7, 2 GHz P4 system: # make buildkernel KERNCONF=* 1:05 # make buildworld 3:54 Even worse: # time make buildkernel KERNCONF=* -D USBDEBUG 18232.967u 2427.404s 7:19:49.24 78.2% 391+379k 47250+5754io 3049pf+0w # time make buildworld buildkernel KERNCONF=* 18992.839u 2569.146s 9:12:00.28 65.1% 927+762k 25593+6358io 2506pf+0w (No idea how I got _that_ time!) # time make buildworld buildkernel KERNCONF=* 17272.243u 2294.595s 6:01:33.44 90.1% 24+204k 34888+6367io 2911pf+0w 18541.285u 2596.192s 6:19:33.55 92.8% 498+327k 31247+7302io 3034pf+0w 19725.009u 2882.355s 7:39:11.57 82.0% -875+548k 44987+6963io 2950pf+0w -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"