*BSD News Article 28074


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!itesec!frmug.fr.net!renux.frmug.fr.net!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.misc
Subject: Re: Shared Library Status ?
Date: 7 Mar 1994 23:35:33 +0100
Organization: A Happy FreeBSD-current Usenet Site
Lines: 115
Message-ID: <2lga83$2tj@keltia.frmug.fr.net>
References: <JKH.94Mar5233255@whisker.hubbard.ie> <hastyCM8Buv.26z@netcom.com> <michaelv.762936864@ponderous.cc.iastate.edu> <hastyCM9r6q.KFB@netcom.com>
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <hastyCM9r6q.KFB@netcom.com>,
Amancio Hasty Jr <hasty@netcom.com> wrote:
>Perhaps you can tell us how long does it take to compile your 
>kernel also include your config file and hardware configuration?

486DX-33, 16 Mo, AHA-1542B, Micropolis 640 Mo SCSI, 32 Mo swap.
FreeBSD keltia 1.0.10 KELTIA_CURRENT#0 i386 (current as of 3/2/94)

============================================================
#
# KELTIA : AHAx
#

machine		"i386"
cpu		    "I486_CPU"
ident		KELTIA_PCC
timezone	-1 dst
maxusers	16
maxfdescs	128			    #Max file descriptors per process
options		INET			#InterNETworking
options		PCFS			#MSDOS File System
options		"COMPAT_43"		#Compatible with BSD 4.3
options		XSERVER			#Xserver
options		UCONSOLE		#X Console support
options		"COM_BIDIR"     # of course...
options     "FIFO_TRIGGER=FIFO_TRIGGER_8"   #Use this fifo value in sio.c
options		FIFO            #Named pipes
options		SCSIDUMP	#SUpport for panic dumps on sd0
options		SYSVIPC
options		SYSVMSG
options		SYSVSEM
options		SYSVSHM
options         "SHMMAXPGS=64"          # 256Kb of sharable memory
options		USER_LDT		#allow user-level control of i386 ldt

options     "EXCLUDE_GUS"

config		"386bsd"	root on sd0 swap on sd0

controller	isa0

controller	fd0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fd0 drive 0
disk		fd1	at fd0 drive 1

controller	aha0	at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
controller	scbus0

device		sd0
device		sd1

device		st0
device		st1

device		pc0	at isa? port "IO_KBD" tty irq 1 vector pcrint
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#For high speed serial lines.
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port "IO_LPT1" tty irq 7 vector lptintr

device snd2 at isa? port 0x220 irq 5 drq 3 vector sbintr
device snd1 at isa? port 0x388 irq 0 drq 0 vector sbintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device   ppp 1
pseudo-device	pty	16
pseudo-device	speaker

pseudo-device	swappager
pseudo-device	vnodepager
pseudo-device	devpager
============================================================
>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.

I was getting _9mn_ with 386BSD 0.1 + pk 0.2.* WITHOUT X11.

I'm getting that now :
============================================================
cc  -O -pipe -W -Wreturn-type -Wcomment  -I. -I../.. -I../../sys -DKELTIA_PCC -DI486_CPU -DEXCLUDE_GUS -DUSER_LDT -DSHMMAXPGS=64 -DSYSVSHM -DSYSVSEM -DSYSVMSG -DSYSVIPC -DSCSIDUMP -DFIFO -DFIFO_TRIGGER=FIFO_TRIGGER_8 -DCOM_BIDIR -DUCONSOLE -DXSERVER -DCOMPAT_43 -DPCFS -DINET -DKERNEL -Di386 -DNPX -c vers.c
loading 386bsd
rearranging symbols
text    data    bss     dec     hex
397312  24576   128728  550616  866d8
      897.57 real       688.58 user       105.69 sys
============================================================

Not too bad, considering that :
1. I'm now under XFree86[tm] 2.0,
2. I've five xterms (elm, strn, two shells, UUCP log) and
   xclock, xbiff++, notes and fvwm,
3. I'm using gcc 2.4.5 (386BSD was 1.39 as you know),
4. I've more things into my kernel than I used to have...

uptime was :
[206][~]% uptime
11:18pm  up 15:23,  6 users,  load average: 1.13, 1.17, 0.83

during the compile.

So, for me, shared libs are  not that much  slowing the machine down (and I
don't have my BT-747S yet).

Thanks to the FreeBSD team to enable me to say that ! :-)
-- 
Ollivier ROBERT                          Ollivier.Robert@keltia.frmug.fr.net
A FreeBSD & PERL addict...                PGP 2.3a public key on key-servers 
Running FreeBSD-current and very happy to do so !