Why Does YouTube's throughput suck so bad?


Recommended Posts

REJECT/DROP 173.194.55.0/24

REJECT/DROP 206.111.0.0/16

(for the uninformed, /16 and /24 is not a range, but a subnet class) ie, 206.111.0.0 - 206.111.255.255 = /16)

Problem solved, was posted on reddit just this week. I did it myself and everything loads instantly now on my 85mbit FiOS line vs before laggy as ever. This affects all the feeds on youtube/vimeo, so all will be well. It can be confirmed by adding and removing with tests before after and then removed after again.

Time Warner and Verizon have this issue, no one is quite sure the absolute cause, but those servers your blocking are google and vimeo servers that most likely handle content throttling. When they are blocked you download directly from the source, ie; google data center.

Use caution as you are blocking a wide range of ip address locations. No one has reported any adverse effects yet.

Linux commands below; (Advanced Firewall on Windows Vista or higher can handle this also)

sudo ipfw add reject src-ip 173.194.55.0/24 in

sudo ipfw add reject src-ip 206.111.0.0/16 in

Source; http://www.reddit.co...50w8x?context=1

I would like to know how they came up with these subnets from their ISPs and what exactly is meant by the REJECT/DROP. This would helpful to those trying to figure out why their own YouTube browsing is slow on a different ISP.

Well real quick if you resolve

o-o---preferred---sn-mv-p5qe---v17---lscache1.c.youtube.com

You get 206.111.9.12, well thats what I got, which is just cname, etc. But yeah not sure how they determined to block the whole /16 block..

When resolving that I get 208.117.251.13. But still, it leaves too many questions for me. Where did you get that cname from? Who is to say that YouTube doesn't use other caches referred to by cname depending on location. It would seem it's far too difficult to find out YouTube's structure for providing videos to make one suggestion work uniformly. Hence, the method is imperative.

Its its quite possible the cache(s) reside on lots of different networks.. I would not block such networks unless you were having a specific issue with that specific cache, etc..

I would do your own analysis of where your pulling your youtube videos from.

The reddit link is the guy was doing experiments and posted what he found, not sure blocking it is the correct solution - but others seemed to have jumped on that plan. Does not mean its a fix for anyone having youtube issues.

  • Like 2

I have never ever ever ever EVER been able to stream video from YouTube at a decent pace, and I have... big surprise, Time Warner as my ISP. I've always known they were involved in the issue. I have 20 Mbps internet with them and no issue with any speed test ever, just actually playing the videos. Glad to hear people figuring out more info about the cache servers. I'll definitely have to try that when I get home. YouTube still streams like it's 1995 for me.

I have Time Warner Roadrunner and I was also having issues with YouTube buffering. I added the entry to my Windows Firewall and now it streams so fast and perfect like it should. I don't know why this works but it definitely does for me. It is so lame we have to do this just to get good YouTube speeds.

It's pathetic that ISPs are messing with the experience and screwing up people's ability to use the internet connection they paid for. Network caches should only ever be used if the improve performance, not as a way to reduce the ISP's running costs. And it's no surprise to see that American ISPs are responsible for the bulk of the issues, given the issues with broadband competition over there. There's no incentive to offer a better service if users don't have a decent alternative.

Not sure it works...I have Roadrunner 20/2 package. On my desktop, I made the change the change to Windows Firewall, I'm getting 10,000-20,000 kbps download on youtube. On my laptop, where I didn't make any changes to Windows Firewall, I'm getting roughly the same download speed on the same exact video at the same resolution...

From what I remember, youtube implemented small buffering within the last 2 years which means it will buffer a certain amount or percent of the video (not sure which or what the parameter is) and then as you get nearer to the end of that buffer point, load more data from youtube.

You think it's annoying that it does that, especially if you're on a flakey wireless connection but it actually does make sense, how many people on youtube are just browing random videos or stop listening/watching things part the way through? Saves YT a lot of resources and bandwidth to not stream the whole files to everyone if they're not gonna use it, plus it allows them to monitor and slow down connections when they detect people downloading videos en masse.

I wanted to add a bit of interesting information. On any YouTube video you can right click and show video info. This will display the speed at which you are downloading the video. I've gone to a few and some are maxing out my pipe but some more popular videos are throttled down to less than 1Mbps. This would seem to suggest that there is in fact a cache somewhere affecting me. What is the best way for me to determine from where I am downloading a particular video? I'm not too familiar with this level of investigation.

From what I remember, youtube implemented small buffering within the last 2 years which means it will buffer a certain amount or percent of the video (not sure which or what the parameter is) and then as you get nearer to the end of that buffer point, load more data from youtube.

You think it's annoying that it does that, especially if you're on a flakey wireless connection but it actually does make sense, how many people on youtube are just browing random videos or stop listening/watching things part the way through? Saves YT a lot of resources and bandwidth to not stream the whole files to everyone if they're not gonna use it, plus it allows them to monitor and slow down connections when they detect people downloading videos en masse.

There is more of a problem than simple buffering that people are having issue with. I have a 25Mbps connection. If I were streaming videos at that speed, I wouldn't care how little my buffer is. The problem is that either YouTube or ISPs are using caching servers which can't handle the load of their customers. It seems as though some people are finding success in ignoring certain IPs/subnets in which incompetent cache servers reside. That is where this conversation should be heading in my opinion: Helping find a method for each person to apply to their situation.

Someone linked to a good guide the other day, but I'm not able to find it at this time.

You need to go into your advanced firewall for windows, create a outbound rule, choose custom, all programs, all ports, tcp for protocol, enter address lines as 206.111.0.0/16 etc, and finish.

It should look like below for 206.111.0.0/16 in your advanced firewall if done right.

The 173 subnet class c is for vimeo if I read correctly, I just used google in the above example. And its 206.111 not 206.x

And IpTables wise, routers like the Actiontec supplied by FiOS allows for GUI Web Access for advanced filtering.

i think it needs to be an inbound rule, not an outbound, right?

i followed this guide yesterday that i found linked on the Reddit site

http://www.studyblog.net/2011/10/block-ip-address-or-ip-range-in-windows-server-2008-by-windows-firewall/

i can confirm that this fix works. I am doing the Youtube speed test right now, downloading their 720p test video. The site shows that my avg speed over the last month was 4Mbps. Right now it's downloading that video at 20-27Mbps.

Nope never had issue one with youtube bandwidth

Do you have a specific video your having issues with you can link too? Some of the major ISP use their own caching server for youtube, that could be your problem?

I would rightclick on a video and get the info, what speed are you getting. I would also again from rightclick on video to a speedtest - what does that show?

Virgin Media here in the UK use caching server for popular YouTube videos and its really really slow :(

i can confirm that this fix works. I am doing the Youtube speed test right now, downloading their 720p test video. The site shows that my avg speed over the last month was 4Mbps. Right now it's downloading that video at 20-27Mbps.

Yup, fix works for me as well. I was pulling my hair out today trying to figure this out. Was resorting to 240p! Using U-Verse here.

Well, the issue is back. Last for about an hour then I went to load another video in 720p and it only plays 5 seconds or so before it has to buffer again. What a PoS. I use youtube a lot for game mods, lets plays, etc and this is just annoying. Swear this was working fine not even 4 days ago.

edit: Yeah, I can't explain it. Went in and re-added the firewall rule and it wasn't getting above 360p without stopping. Went to do the youtube speed test and the damn thing loaded up fine. Went back to the original video I was trying to watch and its working fine again. Who knows.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Ocenaudio 3.19.5 by Razvan Serea  Ocenaudio is a full featured, fast and easy to use audio and music editor. It is the ideal software for people who need to edit and analyze audio files without complications. Ocenaudio also has powerful features that will please more advanced users. To assist ocenaudio development, a powerful toolset of audio editing, analysis and manipulation called Ocen Framework was created. ocenaudio is also based on Qt framework, a well known library for cross-platform development. Cross-platform support ocenaudio is available for all major operating systems: Microsoft Windows, Mac OS X and Linux. Native applications are generated for each platform from a common source, in order to achieve excelent performance and seamless integration with the operating system. All versions of ocenaudio have a uniform set of features and the same graphical interface, so the skills you learn in one platform can be used in the others. VST plugins support Ocenaudio supports VST (Virtual Studio Technology) plugins, giving its users access to numerous effects. Like the native effects, VST effects can use real-time preview to aide configuration. Real-time preview of effects Applying effects such as EQ, gain and filtering is an important part of audio editing. However, it is very tricky to get the desired result by adjusting the controls configuration alone: you must listen the processed audio. To ease the configuration of audio effects, ocenaudio has a real time preview feature: you hear the processed signal while adjusting the controls. The effect configuration window also includes a miniature view of the selected audio signal. You can navigate on this miniature view in the same way as you do on the main interface, selecting parts that interest you and listening to the effect result in real time. Multiselection for delicate editions To speed up complex audio files editing, ocenaudio includes multi-selection. With this amazing tool, you can simultaneously select different portions of an audio file and listen, edit or even apply an effect to them. For example, if you want to normalize only the excerpts of an interview where the interviewee is talking, just select them and apply the effect. Eficient edition of large files With ocenaudio, there is no limit to the length or the quantity of the audio files you can edit. Using an advanced memory management system, the application keeps your files open without wasting any of your computer's memory. Even in files several hours long, common editing operations such as copy, cut or paste happen almost instantly. Fully featured spectrogram Besides offering an incredible waveform view of your audio files, ocenaudio has a powerful and complete spectrogram view. In this view, you can analyze the spectral content of your audio signal with maximum clarity. Advanced users will be surprised to find that the spectrogram settings are applied in real time. The display is updated immediately when altering features such as the number of frequency bands, window type and size and dynamic range of the display. Ocenaudio 3.19.5 changelog: Fixes crashes related to audio devices on Windows (DirectSound and ASIO) Fixes several crashes and memory corruption issues Fixes opening several headerless files at once, which previously dropped all but one Improves batch export by suggesting and remembering the destination folder Fixes accented and non-Latin characters in VST plug-in and compressed-archive file names Adds zstd compression support and updates the archive library Other bug fixes and improvements Download: Ocenaudio 64-bit | Portable | ~40.0 MB (Freeware) Download: Ocenaudio for Linux and Mac OS View: Ocenaudio Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I did think about a Echo show once and it would be useful to see what my cameras see. But my brother got one and I changed my mind. Adverts and not really worth the price just to see my cameras. I have a load of dots and a Echo Gen 4, they will do.
    • I asking where you are from or live, because if you don't live in the U.K, why are you so bothered? That is another reason I voted out, E.U and people poking their noses in where they should not be. Sadly we still have it, Trump, and his cronies. Putin as well and no doubt others. It makes no difference what we believe, if we made the right choice or not, we are out. As I said to someone when the news first broke we have voted out, we just need to make the best of it. I have no problems with closer ties to the E.U, we still need to trade. Just don't want to be in their club.
    • So you think I voted out because i am anti-immigrant. I am fed up with those that come over and think that we owe them something. The ones that are at the moment coming over from France where they are already in a safe country because they think and no doubt will get everything chucked at them. While people who were born and bred here get very little. I have nothing against as i have said before those that come here and work. In fact I know full well that our NHS would struggle without them. I do have a problem with those that come over here and try to push their religion and their way of life onto us. My reasons for voting out was because of what the E.U is and is also becoming. I did not agree with Freedom of movement, not because I don't want people over here, but because people need to be checked before being allowed to cross borders and that goes both ways. But my main thing was because the E.U is becoming if not already a united states of Europe. The only reason countries like Poland and Romania joined was because they had no money. When my partner left Poland, she had nothing, Poland had nothing, that is why she left. Wanted to learn something and earn a living. The E.U would have us back according to Michel Barnier. https://www.euronews.com/my-eu...ator-barnier-tells-euronews Why are you so scared to say what country you are in?
    • I wonder what that line really meant...
  • Recent Achievements

    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      499
    2. 2
      +Edouard
      205
    3. 3
      PsYcHoKiLLa
      145
    4. 4
      Steven P.
      72
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!