Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Reduce performance impact of stream stats #361

Description

@pstavirs

For 64 byte packets with v1.2.0

  • Without stream stats tracking enabled: 490 Mbps
  • With stream stats tracking enabled: 385 Mbps

A loss of 100 Mbps (~20%) which I can't explain. A quick look at perf top also doesn't show anything obvious.

The most costly operations seem to be stats_ access/updates within PcapTxThread::sendQueueTransmit() but the whole function itself (except it's children) takes up only about 2% cpu. So it's likely something system side that needs to be studied in greater detail.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions