Subject: More info on shared library performance problem
To: None <port-sparc@netbsd.org>
From: Vareck Bostrom <bostrov@lava.cs.orst.edu>
List: port-sparc
Date: 11/21/1994 19:00:54
We noticed while expirmenting with different compiler flags that if one 
changes the inode of /usr/lib/libc.so.12.0 (by copying it over 
itself, for example) that the performance is drastically improved. 
We recorded dhrystone results of 24,000+ with dynamically linked dhrystones,
however, the performance problem creeps back upon reboot. Also, if one
runs a large program like Xsun or emacs the problem reappears. This can
once again be fixed by copying over /usr/lib/libc.so.12.0 with 
itself. 

Maybe someone could provide some insight as to what the dynamic 
linker does when a library changes as noted above, and also what happens
when a large program is loaded. 

- bostrov@lava.cs.orst.edu
- thorpej@cs.orst.edu