Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 1997 15:23:19 +1000
From:      Stephen Hocking <shocking@mailbox.uq.edu.au>
To:        hackers@freebsd.org
Cc:        andrew@zeta.org.au
Subject:   Re: shared libraries? 
Message-ID:  <199708300523.PAA02145@mailbox.uq.edu.au>
In-Reply-To: Your message of "Thu, 28 Aug 1997 16:38:48 %2B1000." <199708280638.QAA18886@gurney.reilly.home> 

next in thread | previous in thread | raw e-mail | index | archive | help

	[Snippage re performance impact of shared libs]

My own take on this is that I've seen less memeory consumption when using 
shared libs uon an SVR4 system (as measured by top, sar et al). With shared 
libs and the cache issue, clustering commonly used routines together has a 
positive performance impact (indeed, there whas a good paper put out by the 
SVR3 guys when they implemented the shared libc as how they had to re-order to 
reduce resident set size and so forth).

I have a collection of references 
floating around for all this, including one paper by a guy called Jerry 
Breecher(sp?) in which he re-ordered modules in shared objects on Unix systems 
and a Data general system and saw reduced memory usage and pageout rates. It 
appeared that a re-ordering based on the simple ranking given by prof et al 
gave most of the benefits of schemes using fancy time-ordering techniques 
(what modules were most used at each phase within a program). I've been 
meaning to hack together a simple perl script to automate this process - 
perhaps I ought to bump up the priority of this a bit.

It's not a new idea of course, look at the MIPS tools pixie and coord (which 
admittedly are more biased towards restructuring basic blocks for otimal cache 
line use).


	Stephen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708300523.PAA02145>