Hi Frank, On Mon, Mar 31, 2025 at 6:29 PM Frank Ch. Eigler <f...@redhat.com> wrote: > > > Due to significant lock contention, running eu-readelf when configured > > with --enable-thread-safety causes a major performance degradation. > > Currently, concurrency may double the runtime of eu-readelf. > > > However I think this work should still be merged. --enable-thread-safety > > is still marked as experimental and these patches facilitate testing > > future improvements to lock contention. > > Experimental but being enabled in RHEL/Fedora, right? Have you > considered making this patch set eu-readelf default to traditional > serial mode? That way, no performance regression for normal users, > but all the code is compiled in for experiments.
Yes if eu-readelf defaults to serial mode then elfutils can be built with thread safety enabled in RHEL/Fedora. We should mention in the release notes that concurrent use of elfutils is still considered experimental. For RHEL we would mark it as a "technology preview" feature. Aaron