Re: Extremely poor performance crunching random numbers under PIV-FC5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux