-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[RFC] Update jemalloc to 5.3RC #33057
[RFC] Update jemalloc to 5.3RC #33057
Conversation
No significant changes in jemalloc related metrics. |
7ffaa19
to
d72b110
Compare
6482a1c
to
19216f4
Compare
b9fafb7
to
6788f3f
Compare
@mergify update |
✅ Branch has been successfully updatedHey, I reacted but my real name is @Mergifyio |
c43709a
to
c69ac2e
Compare
And now we can use upstream jemalloc, since all required patches had been merged into upstream (we have to use fork since there was no new 5.2.x releases). v2: rebase to include patch for failed assert
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: update jemalloc one more time v3: - do not include jemalloc_mangle*.h - do not change jemalloc.h - fix for JEMALLOC_NOTHROW/JEMALLOC_SYS_NOTHROW Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: update jemalloc Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Those were just copied from include_linux_x86_64, and replaced x86_64 with the arch. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
- remove GNU_SOURCE it is done in common CMakeLists.txt - remove JEMALLOC_OVERRIDE___POSIX_MEMALIGN (there is no need to since __posix_memalign() does not exists in linux) Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Note, that there is no need to disable JEMALLOC_PURGE_MADVISE_FREE, since jemalloc does check in runtime, and ClickHouse already successfully works w/o this change. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: define JEMALLOC_DEFINE_MADVISE_FREE https://s3.amazonaws.com/clickhouse-builds/33057/6482a1c48f22d80f704bf869857091045a3f6917/binary_ppc64le/build_log.log v3: fix pthread_atfork https://github.com/ClickHouse/ClickHouse/runs/5128801105?check_suite_focus=true Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com> f
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Generated on osx 10.14 Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
…ilds Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
c69ac2e
to
6a2abd3
Compare
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
All issues seems to be resolved. @alexey-milovidov what do you think about upgrading jemalloc to 5.3RC? |
You mean: "No more custom patches for jemalloc, pure upstream" |
I don't like that "Performance Comparison" has errors. We need to fix all of them. |
@kitaisreal will fix "Performance Comparison" |
Right. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Use new jemalloc 5.3RC release
Details:
Refs:
Checklist:
bin->low_bits_full > bin->low_bits_empty