Date: Mon, 24 Nov 1997 10:24:26 +0100 From: Gianmarco Giovannelli <gmarco@giovannelli.it> To: "FreeBSD 3.0" <freebsd-current@FreeBSD.ORG> Subject: Suggestion to speed up make world Message-ID: <347947CA.9161BE88@giovannelli.it>
next in thread | raw e-mail | index | archive | help
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 <sigh>. 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 67108864 (65536K bytes) avail memory = 62660608 (61192K bytes) Probing for devices on PCI bus 0: chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0 chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0 chip2: <Intel 82371AB USB host controller> rev 0x01 int d irq 15 on pci0.1.2 chip3: <Intel 82371AB power management> rev 0x01 on pci0.1.3 de0: <Digital 21041 Ethernet> 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: <Matrox MGA 2164W graphics accelerator> rev 0x00 int a irq 10 on pci0.11.0 ahc0: <Adaptec 2940 Ultra SCSI host adapter> 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: <QUANTUM XP34550W LXY1> 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: <QUANTUM XP34550W LXY1> 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: <IOMEGA ZIP 100 E.08> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?347947CA.9161BE88>