*BSD News Article 28120


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!usc!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!newsrelay.iastate.edu!news.iastate.edu!ponderous.cc.iastate.edu!michaelv
From: michaelv@iastate.edu (Michael L. VanLoon)
Newsgroups: comp.os.386bsd.misc
Subject: Re: Shared Library Status ?
Date: 7 Mar 94 15:21:17 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 42
Message-ID: <michaelv.763053677@ponderous.cc.iastate.edu>
References: <JKH.94Mar5233255@whisker.hubbard.ie> <hastyCM8Buv.26z@netcom.com> <michaelv.762936864@ponderous.cc.iastate.edu> <hastyCM9r6q.KFB@netcom.com>
NNTP-Posting-Host: ponderous.cc.iastate.edu

In <hastyCM9r6q.KFB@netcom.com> hasty@netcom.com (Amancio Hasty Jr) writes:

>In article <michaelv.762936864@ponderous.cc.iastate.edu> michaelv@iastate.edu (Michael L. VanLoon) writes:
>>In <hastyCM8Buv.26z@netcom.com> hasty@netcom.com (Amancio Hasty Jr) writes:

>>>A while ago netbsd-current shared library implementation was slow...

>>I can't say that I've noticed any substantial difference, actually.
>>I'm sure someone somewhere has measured it, but my perception is that
>>my NetBSD-current system with shared libs runs quite smoothly.  I'm
>>extremely satisfied with NetBSD-current and its shared lib
>>implementation.  I assume FreeBSD-current's is pretty much the same.

>Perhaps you can tell us how long does it take to compile your 
>kernel also include your config file and hardware configuration?

>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'm afraid my times would give you no usable benchmark.  I'm sure you
won't find another machine exactly like mine anywhere. :-)  I'm
running an EISA-bus 386dx33 with an EISA SCSI card, 10meg of RAM (can
swap a lot), 5meg of it being on a slow ISA-bus 16bit memory board,
but with a super-fast 64k processor cache.  In short, my times will
probably mirror no other system. :-)  Fortunately, I have a 32-bit
local bus memory card on order to replace the slow ISA one.

Since my machine can tend to swap while building big stuff, the shared
library startup time is probably hardly measurable in the overall
compile time of something large.  On the other hand, shared libs might
actually improve the compile time on my system since running binaries
use less VM while sharing all their library code, causing my machine
to possibly swap less then it might with big static compiler tools.
Maybe when I get more RAM I can do a comparison.  For the time being,
there are probably better guinea pigs than me.

-- 
------------------------------------------------------------------------------
  Michael L. VanLoon                           Project Vincent Systems Staff
  michaelv@iastate.edu              Iowa State University Computation Center
------------------------------------------------------------------------------