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

Reduce performance impact of stream stats #361

Open
pstavirs opened this issue Jun 24, 2023 · 0 comments
Open

Reduce performance impact of stream stats #361

pstavirs opened this issue Jun 24, 2023 · 0 comments
Milestone

Comments

@pstavirs
Copy link
Owner

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.

@pstavirs pstavirs added this to the v1.4 milestone Jun 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant