Skip to content

Instantly share code, notes, and snippets.

View ravenstar's full-sized avatar

ravenstar

  • Australia
View GitHub Profile
@ravenstar
ravenstar / hfsc-shape.sh
Created April 16, 2023 06:36 — forked from eqhmcow/hfsc-shape.sh
HFSC - linux traffic shaping's best kept secret
#!/bin/bash
# As the "bufferbloat" folks have recently re-discovered and/or more widely
# publicized, congestion avoidance algorithms (such as those found in TCP) do
# a great job of allowing network endpoints to negotiate transfer rates that
# maximize a link's bandwidth usage without unduly penalizing any particular
# stream. This allows bulk transfer streams to use the maximum available
# bandwidth without affecting the latency of non-bulk (e.g. interactive)
# streams.