Skip to content

Mathis Throughput Estimator #1613

@mfeit-internet2

Description

@mfeit-internet2

As a minimally-intrusive measurement, It might be useful to calculate theoretical throughput based on MSS, RTT and loss per Mathis et al.

Steps would be:

  • Open a socket to the far end
  • Maybe send a small amount of data just to prime the pump
  • Use ss(8) to pull the MSS and maybe RTT from the socket data
  • Close the socket
  • Test packet loss to the far end
  • Put that into the Mathis equation: (MSS/RTT) * (1/sqrt(LOSS))
  • Return the result as bandwidth

Useful ss command:

ss --tcp -i -O --no-header

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions