Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate jemalloc #8110

Open
Al2Klimov opened this issue Jul 10, 2020 · 2 comments · May be fixed by #8152
Open

Integrate jemalloc #8110

Al2Klimov opened this issue Jul 10, 2020 · 2 comments · May be fixed by #8152
Assignees
Labels
area/configuration DSL, parser, compiler, error handling enhancement New feature or request

Comments

@Al2Klimov
Copy link
Member

Is your feature request related to a problem? Please describe.

Our config takes long to load due to malloc() is expensive.

Describe the solution you'd like

Add libjemalloc to LD_PRELOAD= in our sbin/icinga2.

@Al2Klimov
Copy link
Member Author

@htriem For every Linux distro we package install libjemalloc from the distro's package repos (or EPEL) and figure out where libjemalloc.so is (if any). Summarize that below.

@Al2Klimov Al2Klimov added the enhancement New feature or request label Jul 10, 2020
@Al2Klimov Al2Klimov assigned Al2Klimov and unassigned htriem Aug 5, 2020
@Al2Klimov
Copy link
Member Author

Al2Klimov commented Aug 5, 2020

Distro Package Lib
debian/buster libjemalloc2 /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
debian/buster:x86 libjemalloc2 /usr/lib/i386-linux-gnu/libjemalloc.so.2
debian/stretch libjemalloc1 /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
debian/stretch:x86 libjemalloc1 /usr/lib/i386-linux-gnu/libjemalloc.so.1
ubuntu/focal libjemalloc2 /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
ubuntu/eoan libjemalloc2 /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
ubuntu/eoan:x86 libjemalloc2 /usr/lib/i386-linux-gnu/libjemalloc.so.2
ubuntu/bionic libjemalloc1 /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
ubuntu/bionic:x86 libjemalloc1 /usr/lib/i386-linux-gnu/libjemalloc.so.1
ubuntu/xenial libjemalloc1 /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
ubuntu/xenial:x86 libjemalloc1 /usr/lib/i386-linux-gnu/libjemalloc.so.1
centos/8 jemalloc /usr/lib64/libjemalloc.so.2
centos/7 jemalloc /usr/lib64/libjemalloc.so.1
centos/6 jemalloc /usr/lib64/libjemalloc.so.1
centos/6:x86 jemalloc /usr/lib/libjemalloc.so.1
fedora/32 jemalloc /usr/lib64/libjemalloc.so.2
fedora/31 jemalloc /usr/lib64/libjemalloc.so.2
fedora/30 jemalloc /usr/lib64/libjemalloc.so.2
fedora/29 jemalloc /usr/lib64/libjemalloc.so.2
sles/15.1 libjemalloc2 /usr/lib64/libjemalloc.so.2
sles/15.0 libjemalloc2 /usr/lib64/libjemalloc.so.2
sles/12.5 - -
sles/12.4 - -
opensuse/15.1 libjemalloc2 /usr/lib64/libjemalloc.so.2
opensuse/15.0 libjemalloc2 /usr/lib64/libjemalloc.so.2
raspbian/buster libjemalloc2 /usr/lib/arm-linux-gnueabihf/libjemalloc.so.2

Al2Klimov added a commit that referenced this issue Aug 5, 2020
@Al2Klimov Al2Klimov linked a pull request Aug 5, 2020 that will close this issue
Al2Klimov added a commit that referenced this issue Aug 6, 2020
Al2Klimov added a commit that referenced this issue Dec 14, 2020
... to speed up malloc(3) and thereby also the config loading.

refs #8110
Al2Klimov added a commit that referenced this issue Mar 26, 2021
... to speed up malloc(3) and thereby also the config loading.

refs #8110
Al2Klimov added a commit that referenced this issue Apr 12, 2021
... to speed up malloc(3) and thereby also the config loading.

refs #8110
@Al2Klimov Al2Klimov added the area/configuration DSL, parser, compiler, error handling label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants