308 points · by spking · 6y ago · 220 comments
The problem isn't that your videoconferencing goes from 1080p to 360p -- it's that it stutters and stops working for seconds at a time, so students completely miss content, and introduces a lag that makes it impossible to have conversations because people are always talking over each other.
While YouTube buffers ahead, so playback tends to be smooth regardless.
And clearly this has nothing to do with net neutrality, which is about ISP's throttling types of content. This is the content provider itself. And they're giving you the option to manually go back to hi-def.
So I hardly see what there is to complain about. YouTube is just trying to make sure kids are more likely to have usable online classes.
Thing is, ISPs in the UK (including mine) are saying that typical evening use is 10-20x typical daytime use, so the uptick in remote working isn't actually an issue for them at all.
So remote working during daytime might not be an issue, but increased recreational use of internet in the evening might be. (I'm just speculating here, haven't seen anything from the ISPs about this)
Bufferbloat.
Ideally, at least for TCP applications, with perfect network congestion control, reduced bandwidth due to streaming should only degrade data rate, but never massively increase the latency. A slight increase is normal, but a huge increase is not. Unfortunately, in real life, it's often the case, and this aspect is often overlooked by vendors, developers, and sysadmins, making things even worse than it should be.
Network hardware or software is optimized for throughput, and its performance under heavy traffic is often not tested. One common practice is using a buffer that is as large as possible, so that you can push the data rate to the maximum and avoid dropping packets at all cost. This is called Bufferbloat and it's a latency disaster. When the upstream bandwidth is saturated, the downstream buffer keeps accepting more bytes/packets, effectively breaks the proper feedback signal used by congestion control algorithms, so it never kicks in in a timely manner, and the FIFO nature of the buffer means the latency of a saturated link is always as high as the buffer size. As long as something is using the bandwidth, the network will always be slow like a snail. When people start having this problem, they simply blame the bandwidth-intensive application, and set a QoS up to prioritize things like DNS and VoIP, and to punish downloaders (and big networks usually have incrediblely complex and elaborate rules), This appeared to "fix" the problem, but it does not solve the underlying problem, all it does is moving the problem to the low priority queue. Another trouble is unwanted buffer can exist everywhere, in applications, operation systems, and underlying hardware, and since there's a conflict between throughput and latency, and some buffers are even technically necessary (Wireless networks are the worst offender), there's still a long way to do to fix everything.
I am only speaking from my experience of managing small LANs, but I got most of the information from Dave Täht and Jim Gettys, who have been working on this issue in the last 10 years. Gettys writes extensively on bufferbloat in his blog that states similar issues exist at a much larger scale, including the ISP edge and backbone. Perhaps the vast majority of the case we are seeing here is caused by a lack of bandwidth and not related to bufferbloat, but I guess bufferbloat is still here to blame for at least 20% of the cases.
Here is a talk Dave Täht recently made: https://blog.apnic.net/2020/01/22/bufferbloat-may-be-solved-...
And here is Gettys' blogpost: https://gettys.wordpress.com/2018/02/11/the-blind-men-and-th...
Fundamentally, TCP is designed to get all the bits to their destination. That’s great for file transfer, but not ideal for streaming video— at the transport level, there’s no way to decouple data rate from latency because it’s not allowed to drop anything.
UDP is the latency-prioritized transport protocol for the internet. It drops packets that it can’t handle because they are expected to contain out-of-date information anyway. It’s generally mote complicated to use because all of the flow control needs to happen at the application layer.
If you get a grade below "B", then your home router is likely bufferbloated. Then read "What can I do about Bufferbloat?" at https://www.bufferbloat.net/projects/bloat/wiki/What_can_I_d...
Please report back to the list so we can refine our knowledge. (It's like Covid-19 testing. We cannot know the incidence of infection if we don't test lots and lots of people to find a true rate...) Thanks.
It won't have a significant impact.
AIUI google uses BBR which attempts to not fill up buffers and thus only add minimal extra latency. Plus in many cases the last mile is the bottleneck, in which case proper queue management on the router or its counterpart can keep the latency low. I think fq-pie is a mandatory part of docsis 3.1 for that reason.
Congestion should only result in limited bandwidth, not in significant latency spikes, and youtube will automatically lower resolution anyway if available bandwidth is too low to sustain playback.
So no changes should be needed at this point.
For people at home, the bottleneck is often something like their apartment building or block or neighborhood -- wherever their ISP didn't provision enough. Obviously "proper queue management" on your home router doesn't affect this. To the contrary, a series of routers full of buffers means that congestion absolutely does increase latency, and drastically.
"Bufferbloat" is a known phenomenon. We may wish it didn't exist, but it does.
So your claim that "no changes should be needed" to ensure videoconferencing latency is unimpacted is just wrong, and flat in the face of all real-world evidence.
Have you ever tried personally using videoconferencing on a saturated network? This isn't theory... it's something you can try yourself. (I used to work in videoconferencing and latency caused by network congestion was the #1 quality issue.)
College seminars, as well as all of grade school, are conducted live. High school doesn't have "lectures" the way college does, or middle school or elementary school.
Everything I've read is about the last mile.
And considering the major uptick is caused by video for work and for classes, I would guess that is 99% domestic, so what would be the cause of a massive increase in international traffic?
In large congestion scenarios, what impacts people is large amount of data being transacted by large nodes.
CDNs are caches. I am sure it gets much more complex with systems at Youtube scale, but they don't keep all files at all edges. Furthermore, they know what the fuck they are doing, and if ISPs and governments are going "shit, our bandwidth is nuts, hey Youtube/Netflix can you cool it a little?" then maybe there is something to it.
Why and how is everyone an armchair NOC operator/epidemiologist/supply chain manager? How is it so hard to believe that when you get past certain politicians/bureaucracies, there are smart people working to figure out these hard problems that likely know a little bit more than we do?
> Why should the video bitrate be dropped because some second rate ISPs are oversubscribing super badly? Isn't all of this totally against the principles of net neutrality?
No. This is entirely separate from net neutrality. That principle says, "No ISP should discriminate on the basis of content."
In the case of an oversubscribed ISP, the "magic of the markets" that so many lobbyists talk about is that you can simply switch to a new provider. Oh, you only have one provider? Tough cookies.
Unfortunately there may be/will be people that because they can't enjoy a movie, they will go for a walk. That doesn't help. So we're captive of the second-rate-ISPs, the stupid people that want to go for a walk because "internet is slow". I'll take "that bullet" to just save even ONE grandparent.
Common sense is not so common. If govs encourage "people going for a walk" then majority of Greeks, Italians, Spaniards would be in the parks with a bottle of wine and sandwiches having picnics "while out on a walk".
It's the stupid ones that ruin it for all. The ones who don't want to limit themselves for a couple of weeks for the greater good.
How does less video traffic save lives?
I am on (UK) the business voda connection (35 mbs) in the uk and pay about 80% more than the cheapest you can get but not seen any problems
Because I agree completely; a few pixels of definition or hues of colour are a great deal less important than a bunch of dead people.
I'm not sure where this would save Google any money. It seems to just be a helpful (if more symbolic) thing to do.
If not, I would second the "zero pixel" option!
A 0 pixel video would defeat this by being in effect an audio stream separated from the video. I always wondered why manufacturers don't just resize the video stream to 1 pixel and use any of the device LEDs to "display" the video thus bypassing this part of the ToS.
Isn't this backwards? It seems more likely that the TOS follows the business decision here. I believe old versions of the official mobile apps continued to play the video with the phone screen off.
Hilarious hack, love this idea
it's not like we don't have ads on radio
It is not impossible to go over all music videos, automatically fetch lyrics and replace video with static album cover or something, but who would do it? If YouTube does this then they are responsible for any copyright infringement, and they become huge competition to user-created content on their own platform.
youtube-dl -f bestaudio https://youtu.be/YT0k99hCY5I
Or if you want to listen to it straight away mpv --ytdl-format=bestaudio https://youtu.be/YT0k99hCY5I mpv --ytdl-format=bestaudio 'ytdl://ytsearch1:John Butler Trio Ocean'
As a function: !#/bin/bash
yt(){
mpv --ytdl-format=bestaudio "ytdl://ytsearch1:$*"
}
Edit: as per comment below, swapped '--no-video' for '--ytdl-format=bestaudio'youtube-dl can directly stream as well, e.g.,
youtube-dl -o - "https://www.youtube.com/watch?v=BaW_jenozKcj" | vlc -
(from the manpage).And there's mps-youtube as well.
This does what you want.
For a specific example, it has a nice toggle above every track, where you can flip between video and audio-only. It works great, except that I cannot find a way to force it to stay on audio-only. As soon as the current track ends, the toggle resets back to "video".
And this kind of stuff is all over the app.
youtube-dl -F https://youtube.com/video-url
That will give you a list of formats, pick an audio-only one, and use the -f flag to download that format.As others have said, if the "video" is a static image, the bandwidth usage should be negligible in practice. But I've seen lots of promotional album streams that intentionally add busy graphics, motion lyrics, etc; while they're sometimes cool, they're wastes of bandwidth and processing if I just want it play audio in a background tab.
Many times I've listened to a YouTube video or stream without watching it by just starting the video and then pocketing my phone and being careful not to touch it. I hear the audio and continue my shopping or cleaning or whatever while battery and bandwidth is wasted displaying the video to the debris inside my pocket.
I can only assume Google has run the numbers and decided it's actually more profitable for them to make something so silly and wasteful on both sides of the connection necessary, but that's what it is.
https://chrome.google.com/webstore/detail/audio-only-youtube...
mpv --no-video [youtube url]
(This uses youtube-dl, without saving it to your hard drive.)You can still watch 4k videos by changing the setting manually.
Here's an add-on to do this automatically:
https://addons.mozilla.org/en-US/firefox/addon/disable-polym...
Not sure if they have regulated themselves or the sources are reduced. Or both.
I wish they would use special compression for text that's not moving.
Do you have a better suggestion?
For low-motion static content like a slideshow or console window, a ultra-low frame rate usually results in acceptable fidelity while minimizing bandwidth, but not all hardware decoders (think Chromecasts, TVs) play well with them, so it wasn't possible to go down this road in general.
(Disclaimer: This is my personal opinion and not that of my employer.)
It's been interesting watching them scale up Netflix Party in the meantime...
It mislead me for sure.
Also the "Google Play Music All Access" is 4.90 USD and YouTube Premium is 5.80 USD, not much of a difference.
Also a family pack for Play Music isn't available. And the Family Pack (5 members) for YouTube Premium is 8.69 USD, which is what I'm on and all slots are occupied, so it's obviously a better deal.
(I understand the sentiment, but it's actually more like $15 a month here. Plus I make about a fifth of what a developer in the USA might make, pre-taxes. After taxes, rent, and groceries, $15 is about 10% of my monthly budget. I am not going to spend it on cat videos.)
If you don't like the ads, just pay for premium.
Everyone here goes on about how "it's just the price of 3 cups of coffee", but here it's most definitively not.
Alternative for iOS users. Bookmark, save to home screen - search for your YouTube video on there.
The only time I care about quality is some educational content where there are e.g. small equations on the screen.
Good call.
https://addons.mozilla.org/en-US/firefox/addon/enhancer-for-...