From owner-freebsd-current Mon Nov 24 00:22:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA15559 for current-outgoing; Mon, 24 Nov 1997 00:22:34 -0800 (PST) (envelope-from owner-freebsd-current) Received: from www.giovannelli.it (www.giovannelli.it [194.184.65.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA15547 for ; Mon, 24 Nov 1997 00:22:22 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from giovannelli.it (ts1port9d.masternet.it [194.184.65.237]) by www.giovannelli.it (8.8.8/8.8.5) with ESMTP id JAA00314 for ; Mon, 24 Nov 1997 09:27:16 +0100 (MET) Message-ID: <347947CA.9161BE88@giovannelli.it> Date: Mon, 24 Nov 1997 10:24:26 +0100 From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: "FreeBSD 3.0" Subject: Suggestion to speed up make world Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I have done a lot of plain "make world" in these days using this little scripts: #!/bin/sh cd /usr/src echo -n "---- Start Make World : " >>/root/world.log date >>/root/world.log cd /usr/src make world >/dev/null && echo -n "---- End Make World : " >>/root/world.log && date >>/root/world.log chmod 777 /var/mail chmod 555 /usr/share/man/cat? a) ---- Start Make World : Mon Nov 17 10:06:17 GMT 1997 a) ---- End Make World : Mon Nov 17 11:56:31 GMT 1997 b) ---- Start Make World : Wed Nov 19 10:40:41 GMT 1997 b) ---- End Make World : Wed Nov 19 12:30:21 GMT 1997 c) ---- Start Make World : Fri Nov 21 03:24:35 GMT 1997 c) ---- End Make World : Fri Nov 21 05:16:52 GMT 1997 d) ---- Start Make World : Fri Nov 21 18:15:36 GMT 1997 d) ---- End Make World : Fri Nov 21 20:09:23 GMT 1997 e) ---- Start Make World : Sat Nov 22 15:30:40 CET 1997 e) ---- End Make World : Sat Nov 22 17:29:29 CET 1997 f) ---- Start Make World : Mon Nov 24 02:38:05 CET 1997 f) ---- End Make World : Mon Nov 24 04:27:21 CET 1997 All the line minus f) was obtained using : /dev/sd1a on / (local) /dev/sd1s2f on /usr (asynchronous, NFS exported, local) /dev/sd1s2e on /var (asynchronous, local, noatime) procfs on /proc (local) This last, f), one was obtained using : /dev/sd1a on / (local) /dev/sd1s2f on /usr (asynchronous, NFS exported, local) /dev/sd1s2e on /var (asynchronous, local, noatime) /dev/sd0s2e on /usr/obj (asynchronous, local, noatime) procfs on /proc (local) I though I can achieve better result if I use two disks for the /usr/obj and /usr/src, than only one for both. But in reality the gain in the time is little and I am not so fast as other people here in the list that use slower hardware . I use -pipe -O in the make.conf and I do plain "make world". My configuration is : FreeBSD 3.0-CURRENT #0: Sat Nov 22 18:58:52 CET 1997 root@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x561 Stepping=1 Features=0x8001bf real memory = 67108864 (65536K bytes) avail memory = 62660608 (61192K bytes) Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 chip2: rev 0x01 int d irq 15 on pci0.1.2 chip3: rev 0x01 on pci0.1.3 de0: rev 0x11 int a irq 9 on pci0.10.0 de0: 21041 [10Mb/s] pass 1.1 de0: address 00:40:05:30:ba:0b vga0: rev 0x00 int a irq 10 on pci0.11.0 ahc0: rev 0x00 int a irq 11 on pci0.12.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 4341MB (8890760 512 byte sectors) ahc0: target 1 Tagged Queuing Device sd1 at scbus0 target 1 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 4341MB (8890760 512 byte sectors) ahc0:A:2: refuses WIDE negotiation. Using 8bit transfers ahc0:A:2: refuses synchronous negotiation. Using asynchronous transfers sd2 at scbus0 target 2 lun 0 sd2: type 0 removable SCSI 2 sd2: Direct-Access sd2: ILLEGAL REQUEST asc:24,0 Invalid field in CDB sd2 could not mode sense (4). Using ficticious geometry [...] In the kernel (from c to f )I have used : options AHC_TAGENABLE options AHC_SCBPAGING_ENABLE options AHC_ALLOW_MEMIO All the make world except one (made from an xterm) was made from console without any other relevant task in the background (single box not connected to the net) Any suggestions to speed up my box ? Another funny thing : Adaptec support told me one time to disable disconnection of the drives (for correcting some incompatibility with matrox card under Win95) but if I leave them disconnected with the 3 option above I can see fireworks during a make world ... Is it correct ? Thanks everyone for attention and sorry for the long posting... -- Regards... Gianmarco "Unix expert since yesterday" http://www2.masternet.it