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

Upgrade jemalloc to 0.6; add jemalloc feature #1502

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

andyleiserson
Copy link
Collaborator

jemalloc is used by default on linux. The feature enables it on non-linux platforms.

The stats feature is enabled by default on version 0.5 of the tikv-jemalloc-ctl crate. It needs to be specified on version 0.6 of the crate. I figured might as well upgrade the jemalloc bits now, when I'm aware of the breaking change, than have to remember (or somebody else rediscover) it later.

The jemalloc profiling enables are a bit confusing. This PR does not have all of the config that I set to do memory profiling. My intent was to have it compiled-in-but disabled, but I'm not sure that's actually what this PR does. I will do a draft run to check whether there is a performance impact.

jemalloc is used by default on linux. The feature enables it on
non-linux platforms.
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.24%. Comparing base (69f0a5d) to head (abff373).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1502      +/-   ##
==========================================
+ Coverage   93.02%   93.24%   +0.21%     
==========================================
  Files         237      237              
  Lines       43535    43535              
==========================================
+ Hits        40498    40593      +95     
+ Misses       3037     2942      -95     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@akoshelev
Copy link
Collaborator

+1 on doing a draft run before merging this

@andyleiserson
Copy link
Collaborator Author

@andyleiserson
Copy link
Collaborator Author

Draft run took 1:51, no change from previous.

I also did some further investigation to convince myself that this PR really does have profiling disabled. Since I'm curious, I opened a new one (#1505) to see if there is a performance impact of turning it on.

@andyleiserson andyleiserson merged commit 8a0fd6b into private-attribution:main Dec 17, 2024
13 checks passed
@andyleiserson andyleiserson deleted the jemalloc branch December 17, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants