4 ms·
My main problem with this is that Spotify utilizes the full upstream bandwidth, causing the latency to go up dramatically on connections where the upstream is l
by thomas-st 14y ago
My main problem with this is that Spotify utilizes the full upstream bandwidth, causing the latency to go up dramatically on connections where the upstream is limited. If they were just a little bit intelligent and limited the streaming to 90% of the available bandwidth I'd be okay with it since that wouldn't affect the latency.
Question: What is the best way to traffic shape all upstream connections on OS X? I've tried ipfw but I can't figure out a good way to e.g. limit the upload on all apps except for e.g. SSH.
- paxswill 14y agoIf you have a recent (>=10.7) version, pf [0] is installed. pf is a more capable firewall than ipfw, and can shape upstream connections in a number of ways. As an example of what it can do, the Network Link Conditioner [1] is built using pf. The version in OS X is not the most recent version in OpenBSD, but that FAQ is a good start, and the man page [2] can fill in the details. 0: http://www.openbsd.org/faq/pf/ http://www.openbsd.org/faq/pf/ 1: http://mattgemmell.com/2011/07/25/network-link-conditioner-in-lion/ http://mattgemmell.com/2011/07/25/network-link-conditioner-i... 2: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man5/pf.conf.5.html http://developer.apple.com/library/mac/#documentation/Darwin...