* Differences between shared and static compilations on UDB/Multia
@ 1996-09-19 4:00 Peter R David
0 siblings, 0 replies; only message in thread
From: Peter R David @ 1996-09-19 4:00 UTC (permalink / raw)
We noticed a large difference in performance between
statically compiled and dynamically compiled executables on the
UDB/Multias. Dynamically compiled code runs at one third the speed of
the statically linked code.
This is true for both FORTRAN and C. The code in the
following test is the floating point intensive savage, a large do loop
over a=tan(atan(exp(log(sqrt(a*a))))) For comparison, the same
executable was run on an Alphastation 250 4/266 and on a UDB at 233 &
266MHz. The operating system was DU 3.2G or linux, with very similar
results.
Any ideas on why dynamically compiled code should so much slower?
Any ideas on solutions?
Thanks,
Peter David
DU 3.2G Timings;
UDB
@233 mHz
Statically linked = 10.007u 0.039s 0:10.12 99.1% 0+0k 0+0io 0pf+0w
Dynamically linked =20.810u 0.080s 0:21.36 97.7% 0+1k 0+0io 0pf+0w
UDB
@266 mHz
Statically linked = 8.022u 0.040s 0:08.23 97.9% 0+0k 0+0io 0pf+0w
Dynamically linked=21.034u 0.080s 0:21.81 96.7% 0+1k 86+0io 7pf+0w
Alphastation 250 4/266
Statically linked = 8.336u 0.010s 0:15.73 53.0% 0+0k 18+0io 17pf+0w
Dynamically linked= 6.598u 0.017s 0:12.11 54.5% 0+1k 7+0io 5pf+0w
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-09-19 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-19 4:00 Differences between shared and static compilations on UDB/Multia Peter R David
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox