4 ms·
Traffic priority is very game-able and subjective, though. You can easily argue VoIP versus bulk transfer, but where's the application boundary between "necessa
by pjc50 13y ago
Traffic priority is very game-able and subjective, though. You can easily argue VoIP versus bulk transfer, but where's the application boundary between "necessary" and "not necessary" - music streaming? SSH? Online games? Who decides this?
It might be workable if it came with a guarantee that rates below (max bandwidth/contention ratio) would always be delivered from each customer, and traffic above that would be at risk from contention.
- venomsnake 13y agoIt is extremely easy test. Are you costrained by latency or bandwidth. If it is latency - to have VOIP you need 200ms round trip top. That is the first lecture in Communication Technology 101. Video streaming is latency tolerant but bandwidth sensitive. You moderately don't care if a packet gets lost or spikes as long as you have long enough buffer. So any kind of conversation needs a fast lane. Downloading and streaming don't. But they need bulk.
- AnthonyMouse 13y agoThe problem is the only time you actually have latency issues is when there is not enough bandwidth. Almost nothing is so sensitive that it can't stand for packets to be buffered for 25ms. The problematic latency is when you're sufficiently bandwidth constrained that packets are dropped and have to be retransmitted, in which case you can't drop streaming packets either or else over a matter of seconds the client's buffer will shrink into nothing and the video will start stuttering.
- venomsnake 13y agoMy PC has 32 gigabytes of RAM. That is a lot of buffer. Make the buffer minutes or half and hour. Right now it is more convenient for me to torrent at 100Mbit 1080p and just watch than stream.
- AnthonyMouse 13y agoThat doesn't do any good for streaming when there isn't enough bandwidth. If the video bitrate is twice as much as the available bandwidth then it would take 30 minutes to fill the buffer in order to watch an hour of uninterrupted video. I want to turn on my TV and watch Netflix, not turn on my TV, come back in 30 minutes, watch one episode of House of Cards, come back in 30 minutes, etc.
- pjc50 13y agoIt's not an easy test when looking at the packet. If you're relying on people to label their packets appropriately, they will lie if doing so gets them what they want.
- danielweber 13y agoThe test is that I'll pay more for my VoIP packets to get through right now than I will for my Netflix packets. My 2am download of Windows Update goes into the bargain basement slow lane. Let anyone else go first, I don't care.
- AnthonyMouse 13y agoThere isn't anyone to go first at 2AM. Nobody's packets are dropped at that time of day. The problem with QoS is that the window where it's actually useful is miniscule. If, on the one hand, it's 2AM and nobody is using the network, QoS does nothing because all the packets are delivered and none are dropped. On the other hand, if everybody is trying to watch the Superbowl at the same time and $STREAM_BPS * $NUM_USERS > $TOTAL_BANDWIDTH, QoS can't save you. You have more time-sensitive traffic than you have pipe to put it in, so at least some of your customers are going to see choppy video (or no video). In the middle of that you have this tiny slice where the network is saturated "just right" for QoS to actually do something. You have only just enough bandwidth to handle all of the active streams, so that when some bursty thing (like loading a large web page) comes along, you can drop some packets from a stream and have just enough bandwidth available two seconds later to let the stream catch up before the client's buffer is exhausted. To skip to the punch line, that never happens. Networks that hit 100% utilization on a regular basis are under-provisioned. If you're at the point where QoS helps you do something, your network is broken, because tomorrow's peak usage could be higher than today's which means you needed to start upgrading yesterday. QoS on the Internet is useless. And that's before you get to the whole trouble with what to do about ssh tunnels and TLS connections and otherwise unclassifiable traffic.
- danielweber 13y agoI've helped plenty of clients where QoS changed their VoIP phones from "not working" to "working." You can push my Windows Update example to 6pm -- I still don't care at all how it runs. I'd tell my router to mark it as the least time-sensitive of any of my network connections.
- 13y ago