PIA Kill Switch instantly stops web browser connection, but torrents seem to slowly wind down. Why?
Issue:
When the kill switch trips, I instantly lose access to the Internet with my web browser.
However, with torrents I notice they slowly wind down even after the kill switch has been activated. The torrents appear to go down in speed and finally stop, but this takes up to 20-30 seconds after the kill switch activated. Why is this happening? Shouldn't the torrents instantly stop or I'm getting brief expose and loss of privacy?
Happens no matter which torrent client I use on Mac or Windows.
Comments
On the wire, the traffic is always cut to be sent serially in packets, so technically all connections are at 0b/s except the one the OS is currently processing, so averaging is necessary. Torrent clients also don't process single packets at a time because that would cause an insane amount of wakeup/sleep cycles (and expensive context switches), so there's also several stages of buffering both in the kernel and in the torrent client itself.
Torrents also uses lots of individual connections to lots of peers, and those peers connectivity also fluctuates a fair bit and also depends on how much the uploader is sharing its upload capacity with you.
So yeah, your client averages over a long period of time to avoid having the speeds jump between like 200k and 20M all the time and give you a saner and more useful total bandwidth estimate.