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

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

 



BankHacker wrote:

Looking for information about "linux-gate.so.1" I have found this webpage:

    http://www.trilithium.com/johan/2005/08/linux-gate/

I think this could be the reason for the slowdown in my case because
symptoms match. My program is invoking 10 million system calls for the
first random test and it happens only in the dynamic version. My CPU
is an Intel Pentium IV.

Ahaha, so if I understand you the strace output is huge for the dynamic one and smaller for the static one?

Can you post an example of one of the "10 million" syscalls that is present in the strace output for the dynamic case (if I understood you correctly)?

My glibc version is 2.4-8:

# rpm -qa | grep glibc
    glibc-kernheaders-3.0-5.2
    glibc-common-2.4-8
    glibc-headers-2.4-8
    glibc-2.4-8
    glibc-devel-2.4-8

Do you think this could be the cause. How to fix it?

Thanks!

There are some magic things down

/proc/sys/kernel/

that you might want to meddle with to see if they affect the situation.  Eg

echo "0" >/proc/sys/kernel/randomize_va_space
echo "0" >/proc/sys/kernel/exec-shield

Another idea, perhaps to to give a static libm and keep the dynamic libc stuff eg

gcc blah.c /usr/lib/libm.a

not sure if that will work but worth a try. Then the ldd for the resulting binary should no longer reference libm.

-Andy

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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux