Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Oct 1997 16:31:51 -0600
From:      Steve Passe <smp@csn.net>
To:        "Jordan K. Hubbard" <jkh@FreeBSD.ORG>
Cc:        smp@FreeBSD.ORG, current@FreeBSD.ORG, nnd@nnd.itfs.nsk.su
Subject:   Re: cvs commit: src Makefile src/bin/sh Makefile  src/gnu/usr.bin/cc/cc1plus Makefile src/gnu/usr.bin/cc/cc_tools Makefile  src/gnu/usr.bin/cc/cpp Makefile src/gnu/usr.bin/gdb/gdb Makefile  src/lib/libpcap Makefile src/libexec/ftpd Makefile ...
Message-ID:  <199710052231.QAA18045@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Sun, 05 Oct 1997 11:47:20 MDT." <199710051747.LAA16424@Ilsa.StevesCafe.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Here are my results with the new parallel-make capable files.  I want to
thank Nickolay Dudorov for having done most of the grunt work on this,
good job Nickolay!

---
build with NO -j, clean /usr/obj:

# time make buildworld

7662.32s real 1410.24s user 6546.13s system 

2 hours, 7 minutes, 42.32 seconds

---
build with -j12, clean /usr/obj:

# time make -j12 buildworld

6041.75s real 3632.54s user 5185.52s system 

1 hour, 40 minutes, 41.75 seconds

---
Time savings with -j12:

27 minutes, 0.57 seconds

---
hardware summary:

FreeBSD 3.0-CURRENT #0: Fri Sep 26 21:55:35 MDT 1997
    root@Victor.StevesCafe.com:/usr/src/sysdevel/compile/SMPV
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV
>
real memory  = 67108864 (65536K bytes)
avail memory = 62185472 (60728K bytes)
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfec08000
 cpu1 (AP):  apic id: 12, version: 0x00040011, at 0xfec08000
 io0 (APIC): apic id: 13, version: 0x00170011, at 0xfec00000

ahc0: <Adaptec aic7880 Ultra SCSI host adapter> rev 0x00 int a irq 17 on 
pci0.9.
0
ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs
sd0: <SEAGATE ST32171W 0338> type 0 fixed SCSI 2
sd0: Direct-Access 2061MB (4222640 512 byte sectors)
sd1: <SEAGATE ST32171W 0338> type 0 fixed SCSI 2
sd1: Direct-Access 2061MB (4222640 512 byte sectors)

CPUs with 512k L2 cache, clocked at 200MHz

---
SCSI disk setup:

/dev/sd0s1h on /usr (local)				<- disk #1
/dev/sd0f on /usr/src (local, noatime)			<- disk #1
/dev/sd1g on /usr/obj (asynchronous, local, noatime)	<- disk #2

---
/etc/make.conf:

CFLAGS= -O -pipe
COPTFLAGS= -pipe


---
changes to (-current) src/Makefile.  Note that I have already committed these
to freefall -current.


*** Makefile.orig	1997/10/05 17:16:26
--- Makefile		1997/10/05 20:09:09
***************
*** 218,224 ****
                ${IBMAKE} -I${.CURDIR}/share/mk -B ${CLEANDIR} ${OBJDIR} 
depend && \
                ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} all && \
                ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} \
!                       -B all install clean cleandepend
        @echo
        @echo "--------------------------------------------------------------"
        @echo " Making hierarchy"
--- 218,224 ----
                ${IBMAKE} -I${.CURDIR}/share/mk -B ${CLEANDIR} ${OBJDIR} 
depend && \
                ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} all && \
                ${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} \
!                       -B install clean cleandepend
        @echo
        @echo "--------------------------------------------------------------"
        @echo " Making hierarchy"
***************
*** 333,339 ****
        @echo "--------------------------------------------------------------"
        @echo "Updating /usr/src from cvs repository" ${CVSROOT}
        @echo "--------------------------------------------------------------"
!       cd ${.CURDIR} && cvs -q update -P -d -r RELENG_2_2
  .endif
  
  #
--- 333,339 ----
        @echo "--------------------------------------------------------------"
        @echo "Updating /usr/src from cvs repository" ${CVSROOT}
        @echo "--------------------------------------------------------------"
!       cd ${.CURDIR} && cvs -q update -P -d
  .endif
  
  #

--
Steve Passe	| powered by
smp@csn.net	|            Symmetric MultiProcessor FreeBSD





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710052231.QAA18045>