Bug 2216193 - What is the reason for removing jemalloc dependency?
Summary: What is the reason for removing jemalloc dependency?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rust-fd-find
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-20 12:36 UTC by Dora O’Fee
Modified: 2023-06-25 11:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-25 11:50:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dora O’Fee 2023-06-20 12:36:38 UTC
Could you please explain the reason for removing jemalloc dependency in the package, and document it explicitly in the spec file? Many thanks!

The performance improvements using jemalloc seem to apply to Fedora/RHEL too: https://github.com/sharkdp/fd/pull/481#issuecomment-534494592.

Comment 1 Fabio Valentini 2023-06-22 15:20:46 UTC
As far as I can tell, there are still some reasons that prevent us from using jemalloc:

- The jemalloc-sys crate would need adaptations to build against system libjemalloc instead of the bundled copy
- The jemallocator crate does not seem to work / support targets other than x86_64-unknown-linux-gnu. We need support for i686, aarch64, s390x, and ppc64le as well.

I'll document this in the spec file for fd-find.


Note You need to log in before you can comment on or make changes to this bug.