Hi smart people,
If I have several computers on my home network and I have not set any explicit QoS rules on my router, how is bandwidth allocated? For example, if computer 1 is downloading a torrent at max speed and a second computer starts a download, how is the bandwidth allocation between the two determined? Thanks!
There is no allocation if you haven’t configured any. Whoever can get their shit stuffed in the pipe first wins.
Note: QUIC is not really a transport layer protocol but uses UDP and builds atop of it.
UDP is hardly a transport layer protocol. It basically adds port numbers and checksum to IP. QUIC is usually described as transport layer since it provides flow/congestion control functionality usually ascribed to transport layer.
Sometimes port numbers is all you need
If you want a really in-depth description, this article will give it to you. https://en.wikipedia.org/wiki/TCP_congestion_control
Your torrenting might not be using TCP, but the same basic idea is the same.
TL;DR: the router uses some math and so forth to tell both computers to slow down to the point that it’s not overloaded.
Torrents open multiple connections with independent congestion control. If the second computer downloads from a single server at the same time, then it’s gonna certainly lose against the torrent.