Re: [PATCH 2/3] src/readelf.c: Support concurrency for -w, --debug-dump

2025-04-05 Thread Frank Ch. Eigler
Hi - > 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

Re: [PATCH 2/3] src/readelf.c: Support concurrency for -w, --debug-dump

2025-03-31 Thread Aaron Merey
Hi Frank, On Mon, Mar 31, 2025 at 6:29 PM Frank Ch. Eigler 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 t

[PATCH 2/3] src/readelf.c: Support concurrency for -w, --debug-dump

2025-03-29 Thread Aaron Merey
Implement concurrent execution of print_debug_* functions during handling of -w, --debug-dump using libthread.a. A new `-C, --concurrency=NUM` command line option controls the maximum number of worker threads used. This value defaults to the number of CPUs. Job output is buffered and printed in t