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

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



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)

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


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