Skip to content

[Linux] Support wakeup watermark for perf ring buffers #254

Description

@lalitb

On Linux, one-collect currently polls the perf ring buffer on a fixed sleep interval when no data is available. The perf subsystem supports event-driven wakeup via a configurable byte watermark - the kernel signals the perf fd only when enough data has accumulated, eliminating unnecessary polling.

Supporting this would allow callers to tune the latency/throughput tradeoff:

  • Low watermark -> wake on every event, minimum latency
  • High watermark -> amortize wakeup cost, better throughput at scale

Metadata

Metadata

Assignees

No one assigned

    Labels

    importantThese are issues that have importance for a scenario the maintainers agree needs attention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions