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

    • You can't, if you didn't notice, it doesn't support surround at all, it's right in the spec list.
    • Hi — I’m always interested in soundcards. Like displays, I just want to know I’m getting as much clean “sonic juice” into my brain as possible as the years take their toll. I’m not entirely sure what to take away from this review, though. It doesn’t really tell me whether the AE‑X is a good product or who it’s actually for. Most of what I’m getting is: there’s a driver to install, here’s what it looks like, and here’s what’s in the box. There’s a lot of emphasis on the SPDIF input. When you mention not needing to switch headphones between console and PC — does that mean the PC has to be powered on just to pass audio through? That seems like a fairly big waste of energy. Is this more something a streamer would use alongside a capture card? How are you testing the sound? (Also, you might want to clarify that you’re using the headphones in wired mode when you mention they’re wireless.) You mention the lack of EMI shielding — how much real‑world difference does that make compared with typical motherboard audio? On multi‑channel: what exactly isn’t supported? Does this mean Windows spatial audio (Dolby Atmos for Headphones, DTS Headphone:X, etc.) won’t work, or just that the card itself doesn’t decode surround formats? And are there any true multi‑driver “surround” headphones left that would even use that? You also highlight support for high‑impedance headphones — but what does that translate to in practice? How does it compare to driving the same headphones from a normal device, and does it make any difference for everyday, lower‑impedance models? In short, who is this card actually targeted at?
    • Yes, THIS is wordart, not the styling that can now be done. Wordart was all about those curvy words, that you could change the path of, like making words go around a circle. I don't think it can be done now, right?
    • Just saw a news report of a Waymo driving into a flooded road.
    • Password Safe 3.72.0 by Razvan Serea Password Safe is a password database utility. Like many other such products, commercial and otherwise, it stores your passwords in an encrypted file, allowing you to remember only one password (the "safe combination"), instead of all the username/password combinations that you use. Once stored, your user names and passwords are just a few clicks away. Using Password Safe you can organize your passwords using your own customizable references—for example, by user ID, category, web site, or location. You can choose to store all your passwords in a single encrypted master password list (an encrypted password database), or use multiple databases to further organize your passwords (work and home, for example). And with its intuitive interface you will be up and running in minutes. PasswordSafe was originally designed by the renowned security technologist Bruce Schneier and released as a free utility application. Password Safe 3.72.0 changelog: Fixed bugs Improved font scale handling - should resolve font size issues on high resolution displays. GH1749 In the Master Password Setup window, "Show Master Password" is no longer truncated on some displays. GH1092, SF1595 Size and position of main window is now correctly restored on scaled displays. SF1630 Keep password expiry date when both password and password expiry are changed; don't clear a non-recurring expiry when the password's changed. SF1628 Custom values can now be copied to the clipboard in read-only mode via Ctrl-C and right-click->Copy Value. New features GH1196 Dark display mode support: Password Safe now supports the system display mode, as well as setting the mode directly via Manage->Options->Display->Display Mode. This change also updates the general "look & feel" of the app to the current Windows theme. Known limitations: The Date picker and keyboard shortcut controls do not switch to dark theme The Customize Toolbar dialog does not switch to dark theme Custom Field support has been added to the more advanced features: Filters XML and Text import and export Comparison, Sync and Merge databases SF938 Custom field values may now be selected by name and copied via a "Copy Custom Field Value..." submenu in the entry context popup menu. SF936 Notes and Custom fields layout now overlap, selectable by tabs, resulting in a more compact and less cluttered layout. SF935 Autotype: Specifying '\v{name}' in the autotype text will cause the corresponding value to be autotyped. Download: PasswordSafe 64-bit | Portable 64-bit | ~20.0 MB (Open Source) Download: PasswordSafe 32-bit | Portable 32-bit View: PasswordSafe Website | Quickstart Guide | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      88
    4. 4
      Steven P.
      76
    5. 5
      Michael Scrip
      74
  • Tell a friend

    Love Neowin? Tell a friend!