Skip to content

Ratelimiter: Very high CPU usage when ratelimiter is throttling guest RX. #1439

@sandreim

Description

@sandreim

When rate limiting is enabled and the guest is receiving a lot of traffic that triggers throttling the emulation thread will use 100% CPU.

There are 2 possible approaches here:

  • quick fix: keep the current code structure and configure edge triggered epoll for the tap fd.
  • proper fix: rework the current state machine and use edge triggered epoll

Metadata

Metadata

Assignees

Labels

Priority: HighIndicates than an issue or pull request should be resolved ahead of issues or pull requests labelledType: BugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions