[EMAIL PROTECTED] wrote:

> Dynamic loading can be noticeably slow if you are loading something
> via NFS. In addition the PIC code and jump tables used for dynamic
> linking result in a 10-15% slowdown in execution speed on SunOS and
> Solaris (at least in my experiments). Not what I'd call really slow, but
> we've complained vigorously about smaller slowdowns.

This is probably all true.  However what you are not taking into account
is the overall improvements in system performance due to the fact that
the shared libraries are only held in memory once (yes I know some bits
of a .so may not be shared, but most of it is).  Paging involves disks,
and they are orders of magnitude slower than the dynamic linking
overhead.  Repeat the excercise with a couple of hundred concurrent
copies of your test.  Drawing conclusions based on a single test can be
misleading.

-- 
Alan Burlison

Reply via email to