yatp icon indicating copy to clipboard operation
yatp copied to clipboard

too many cpu cost in single_level::LocalQueue::pop

Open mzygQAQ opened this issue 1 year ago • 0 comments

here is an flame graph of tikv (storage-work-pool) when bench, i found around 15% cpu of all tikv cost in single_level::LocalQueue::pop image

The call stack points to the crossbeam_ Epoch, this seems to be due to the overhead of an lock-free data structure. But I'm not sure if this is normal

mzygQAQ avatar Jun 30 '23 09:06 mzygQAQ