From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 05:35:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5808C16A51C for ; Fri, 16 Nov 2007 05:35:30 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 38D3913C457 for ; Fri, 16 Nov 2007 05:35:30 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lAG5ZNfZ024630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Nov 2007 21:35:23 -0800 X-Auth-Received: from [128.208.5.249] (lodovico.cs.washington.edu [128.208.5.249]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lAG5ZNJ6023297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Nov 2007 21:35:23 -0800 Message-ID: <473D2C62.3040707@u.washington.edu> Date: Thu, 15 Nov 2007 21:36:34 -0800 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: tundra@tundraware.com References: <473B6AF1.4010604@smo.de> <473B6C63.9060407@gmail.com> <200711151935.10550.freebsd@dfwlp.com> <473D1784.1040901@tundraware.com> In-Reply-To: <473D1784.1040901@tundraware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.11.15.211456 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: FreeBSD Mailing List Subject: Re: unimpressive buildworld time 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: Fri, 16 Nov 2007 05:35:30 -0000 Tim Daneliuk wrote: > Jonathan Horne wrote: >> On Wednesday 14 November 2007 03:45:07 pm Aryeh M. Friedman wrote: >>>> Impressive ;-) My main machine (with an Athlon XP @ 2GHz) takes ~2 >>>> hours to build kernel and world (I use a script to do that). My >>>> other box is running -CURRENT and takes ~11 hours to build kernel >>>> and world (Celeron 500...). >>>> >>>> Just to supply some numbers that "go the other direction" :-) >>> With no -j and running gnome and doing other things in the foreground >>> (watching a avi) 1 hr 3 mins on a e6850 w/ 4 gig (amd64) >> >> p4 540 3.2GHz, 1GB ram: >> >> -------------------------------------------------------------- >>>>> World build completed on Thu Nov 15 19:15:05 CST 2007 >> -------------------------------------------------------------- >> >> real 63m8.635s >> user 102m44.096s >> sys 10m44.889s >> [root@athena /usr/src]# >> >> heh, i have appropriately renamed the thread. :) with -j 8 >> >> cheers, > > My Pentium-D 3G DualCore w/2G memory and a pretty vanilla > SATA drive does buildworld and 3 different kernels in 68 minutes wall > time > building 6.3-PRE (aka -STABLE) using -j20. SMP kernels on STABLE (6.x) are going to perform worse than SMP kernels on CURRENT (7-RELENG / 8-CURRENT), depending on the scheduler used (4BSD vs ULE scheduler), as well as a variety of other factors. Remember... performance not only depends upon clock speed or the number of cores you have, but also what caching/prefetching scheme FreeBSD uses (not sure if it's fetches large amounts infrequently or small amounts frequently), how much memory is available to make and its spawned processes (gcc, awk, etc), as well as the number of processes active on the machine, and host usage (high disk usage, high memory usage, etc). After reading through the thread, I noticed that people are making comparing apples to oranges, as... 1. 6.x contains gcc 3.4.x whereas 7.x/8.x contains 4.2.1 2. The machines have a variety of different resources available. - RAM types and amounts. - Processor types (AMD processors typically have lower cache sizes than Intel processors). - Different disk types and speeds. - etc, etc. 3. Load amounts vary. If you would like to run realistic benchmarks and money isn't an issue, I suggest buying similar (if not same) hardware and experimenting with only one variable item (i.e. harddrive, processor, RAM, etc), or using one machine as a testbed, varying hardware components and software variables to yield repeatable results, instead of just saying, "Hey, my make buildworld is slow even though I have an uber off-the-market processor / setup -- what the heck man???", or another similar claim. My 2 cents.. -Garrett