Why my application with large number of shared libraries loads slow ?
Issue
- Application relies on
dlopen(string_name, RTLD_LAZY|RTLD_GLOBAL);
on a large amount of shared libraries. - Before glibc 2.12 it was average 10 times faster to load.
- Is upstream RFE Improve performance of dynamic loader for deeply nested DSO dependencies being tracked in RHEL ?
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.