Extremely poor performance crunching random numbers under PIV-FC5
Andy Green
andy at warmcat.com
Thu May 18 14:32:05 UTC 2006
BankHacker wrote:
> These are the linked libraries the dynamic version is using:
> # ldd dynamic-test-cpu-2
> linux-gate.so.1 => (0x003c1000)
> libm.so.6 => /lib/libm.so.6 (0x00728000)
> libc.so.6 => /lib/libc.so.6 (0x005ed000)
> /lib/ld-linux.so.2 (0x005d0000)
OK
> Running the debugger strace gives these diferencial results:
> # strace -o /tmp/dump-dynamic ./dynamic-test-cpu-2
>
> times({tms_utime=28, tms_stime=13, tms_cutime=0, tms_cstime=0}) =
> 1718797100
> times({tms_utime=4511, tms_stime=13, tms_cutime=0, tms_cstime=0}) =
> 1718801583
> write(1, "10 millones de rand() en 44.830 "..., 72) = 72
>
> # strace -o /tmp/dump-static ./static-test-cpu-2
>
> times({tms_utime=27, tms_stime=13, tms_cutime=0, tms_cstime=0}) =
> 1718810164
> times({tms_utime=50, tms_stime=13, tms_cutime=0, tms_cstime=0}) =
> 1718810186
> write(1, "10 millones de rand() en 0.230 s"..., 71) = 71
Can that really be the only changes? Should the dynamic version not be
touching its dynamic libs early in the dump and the static version not?
-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20060518/3aebb7ad/attachment-0002.bin
More information about the users
mailing list