trickle icon indicating copy to clipboard operation
trickle copied to clipboard

Performance Issue: CPU usage doesn't go down

Open merarischroeder opened this issue 3 years ago • 0 comments

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

merarischroeder avatar Aug 09 '22 01:08 merarischroeder