-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Description
Is your feature request related to a problem? Please describe.
Some of my scripts and plugins rely on decompiling large numbers of functions. I noticed that in particular, decompiling multiple functions at once does not scale past roughly 10 concurrent threads, even when not limited by the processor/memory. To test this, I repurposed the FindPotentialDecompilerProblems.java script to just decompile all functions in a medium sized binary (25k functions), and adjusted the core.override. Decompilation speed basically hits a peak at about 10-12 threads and is noticeably worse with core.override=16 and beyond (although the machine I was testing on has a lot more than 16 cores available)
My best guess is that the decompiler I/O is being the bottleneck here, but any help diagnosing/increasing performance would be most welcome.
Additional context
Ghidra 9.2.2