Skip to content

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

@mzygQAQ

Description

@mzygQAQ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions