Skip to content

Performance Issue: CPU usage doesn't go down #32

@merarischroeder

Description

@merarischroeder

ISSUE:

  • Program CPU usage is expected to go down, when the network speed is reduced
  • It doesn't

BACKGROUND

  • Testing WAN Link in Cloud using iPerf3, through a TLS encryption tool written in Rust (Tokio/Async)
  • 70% at 3gbps
  • 70% when limited to 1gbps

LIKELY CAUSE

  • Upon write to a socket, the OS will normally quickly copy the data and return
  • Trickle doesn't copy the data and return, instead when it needs to limit the speed, it sleeps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions