Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!news.moneng.mei.com!news.introl.com!not-for-mail From: tim@introl.com (Tim Chase) Newsgroups: comp.os.386bsd.misc Subject: Re: Shared Library Status ? Date: 7 Mar 1994 16:51:28 -0600 Organization: Introl Corp. Lines: 197 Message-ID: <2lgb5g$11gc@introl.introl.com> References: <JKH.94Mar5233255@whisker.hubbard.ie> <hastyCM8Buv.26z@netcom.com> <michaelv.762936864@ponderous.cc.iastate.edu> <hastyCM9r6q.KFB@netcom.com> NNTP-Posting-Host: introl.introl.com In article <hastyCM9r6q.KFB@netcom.com> hasty@netcom.com (Amancio Hasty Jr) writes: >Perhaps you can tell us how long does it take to compile your >kernel also include your config file and hardware configuration? From a 486DX2-66 with 16MB RAM running NetBSD-current (sources current as of today): shared: 443.320u 78.500s 9:35.63 90.6% 0+0k 3108+24884io 0pf+0w static: 428.440u 65.360s 9:04.80 90.6% 0+0k 3027+24887io 0pf+0w >I have seen kernel compiles on my old 486DX33 (RIP) grow from >11 minutes with the old 386bsd plus patches to 22 + minutes under >a netbsd-current with shared-libraries. This makes me wonder if there wasn't some problem with the earlier implementations of shared libs didn't have a performance problem that was fixed. I don't remember any discussion, however, of such a problem but it's certainly possible. - Tim Chase tim@introl.com --- cut here for my config file --- # # architecture type and name of kernel; REQUIRED machine "i386" ident TSC # different CPU types; you must have at least the correct one; REQUIRED #cpu "I386_CPU" cpu "I486_CPU" # floating point emulation #options MATH_EMULATE # make the kernel a little faster; will break on some machines #options DUMMY_NOPS # temporary kluge while adding support for non-contiguous physical memory options MACHINE_NONCONTIG # time zone RTC is expected to be set in; REQUIRED timezone 6 # estimated number of users; affects maximum number of file descriptors maxusers 32 # paging of processes, and caching vnodes and devices; REQUIRED options SWAPPAGER options VNODEPAGER,DEVPAGER # system call tracing, a la ktrace(1) options KTRACE # FIFOs; RECOMMENDED options FIFO # System V-like message queues options SYSVMSG # System V-like semaphores options SYSVSEM # System V-like memory sharing options SYSVSHM #options SHMMAXPGS=1024 # 1024 pages is the default # generic SCSI system options SCSI # quotas in UFS options QUOTA # every file system known to man options MFS #options NFSSERVER,NFSCLIENT options MSDOSFS,ISOFS options FDESC,FIFO,KERNFS #options LOFS,PORTAL,PROCFS # various types of networks and protocols #options IMP options INET #options NS #options ISO #options TPIP #options EON #options CCITT # packet forwarding #options GATEWAY # kernel debugger #options DDB # Allows user to create an i386 LDT (Used by Wine to run Windows programs) options "USER_LDT" options "COMPAT_NOMID" options "COMPAT_43" options "TCP_COMPAT_42" # X server support in pccons options XSERVER,UCONSOLE config netbsd root on sd0 swap on sd0 #buses controller isa0 #console device pc0 at isa? port "IO_KBD" tty irq 1 vector pcrint #device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr #math co-processor device npx0 at isa? port "IO_NPX" irq 13 vector npxintr #serial ports device com0 at isa? port "IO_COM1" tty irq 4 vector comintr device com1 at isa? port "IO_COM2" tty irq 3 vector comintr device com2 at isa? flags 5 port "IO_COM3" tty irq 7 vector comintr #parallel ports device lpt0 at isa? port "IO_LPT1" tty # irq 7 vector lptintr device lpt1 at isa? port "IO_LPT2" tty device lpt2 at isa? port "IO_LPT3" tty #non-scsi disk controllers #controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr #disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 #non-scsi floppy controllers controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 #non-scsi tape drives #device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr #scsi controller bt0 at isa? port "IO_BT0" bio irq 11 drq 5 vector btintr device sd0 at bt0 flags 0 drive ? device sd1 at bt0 flags 0 drive ? device sd2 at bt0 flags 0 drive ? device sd3 at bt0 flags 0 drive ? device st0 at bt0 flags 1 drive ? device st1 at bt0 flags 1 drive ? device cd0 at bt0 flags 2 drive ? device cd1 at bt0 flags 2 drive ? device ch0 at bt0 flags 3 drive ? device ch1 at bt0 flags 3 drive ? #ethernet device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr #sound-blaster device sb0 at isa? port 0x220 bio irq 5 drq 1 vector sbintr # psuedo-terminals; REQUIRED for remote logins and many other things pseudo-device pty 64 # loopback; RECOMMENDED pseudo-device loop # ethernet; REQUIRED if using any ethernet device pseudo-device ether #XXX # used by kernel for logging messages; gateway to syslogd pseudo-device log # packet filter pseudo-device bpfilter 4 # compressed SLIP #pseudo-device sl # point-to-point protocol #pseudo-device ppp # speaker queue #pseudo-device speaker #pseudo-device tb 2 was never ported to 4.4 #pseudo-device tun missing header files # /dev/audio pseudo-device audio # vn virtual filesystem device pseudo-device vn 4 -- Tim Chase Introl Corp. Milwaukee, WI USA Email: tim@introl.com Phone: +1 (414) 327-7171