On 1/25/23 10:56, Arnaldo Carvalho de Melo wrote:
Em Wed, Jan 25, 2023 at 09:54:26AM -0800, Kui-Feng Lee escreveu:
On 1/24/23 05:45, Alan Maguire wrote:
... skip ...
If the number of static functions with suffices is high, the contention of
the lock would be an issue.
Is it possible to keep a local pool of static functions with suffices? The
pool will be combined with its parent either at the completion of a CU,
before ending the thread or when merging into the main thread.
May help, but I think maybe premature optimization is the root of... :-)
It is true. However, we already encountered the lock contention issue
when doing parallelization previously. It is very likely to have the same
issue here.
FYI, I did some tests and had numbers in another thread.
https://lore.kernel.org/bpf/9d2a5966-7cef-0c35-8990-368fc6de930d@xxxxxxxxx/