Page 1 of 1

This whole time I thought youtube throttled... it was my ISP

Posted: Mon Mar 25, 2013 4:16 pm
by Isaac

Code: Select all

isaac@pizza ~ $ sudo iptables -A INPUT -s 173.194.55.0/24 -j DROP
isaac@pizza ~ $ sudo iptables -A INPUT -s 206.111.0.0/16 -j DROP
Blocking those is making my computer connect to youtube in a way not predicted by my ISP, avoiding the throttling issue. I can now watch videos above 360p with no interruptions!

Jeff! What's actually happening here? My ISP will wise-up and throttle my new alternate youtube sever address, right?

Re: This whole time I thought youtube was slow... it was my

Posted: Mon Mar 25, 2013 4:25 pm
by Krom
IIRC What has actually happened is you have blocked the primary (and presumably overloaded) youtube servers, so the load balancing automatically punts you to the backup servers. Which will remain fast until more people start doing the same thing. :P

Re: This whole time I thought youtube throttled... it was my

Posted: Tue Mar 26, 2013 11:21 pm
by Avder
No I think what's happening is he is blocking his ISP's youtube caching server. Most of the bigger ISPs have them. They store popular videos on them so that they dont get bandwidth sapped when half of their customer base goes online to watch the latest stupid viral video in 1080p. And its his ISP's caching server that is responsible for the throttling, either intentionally, or by idiotic design. My money is on the former.

Now that he's blocked their caching servers, he is defaulting back to youtube itself, which actually sends at a decent speed, because it is not throttled.

Theres a good article or something somewhere that explains it better than I could.

Re: This whole time I thought youtube throttled... it was my

Posted: Wed Mar 27, 2013 12:39 am
by Jeff250
The whois command ($ whois 173.194.55.0) says that Google Inc owns the 173.194.0.0/16 CIDR block whereas apparently XO Communications owns 206.111.0.0/16. Do you know if both of your iptables rules are necessary to see a speedup?

Do you know (e.g., via wireshark) if you were downloading from anyone in those CIDR blocks before, and, if so, which one?

Re: This whole time I thought youtube throttled... it was my

Posted: Thu Mar 28, 2013 5:24 pm
by Isaac
I ran wireshark and got overloaded with information. I might have been listening to the whole network. I might be in trouble with the school network admin.

I'll have to read the wireshark manual and get back to you.

Image

Re: This whole time I thought youtube throttled... it was my

Posted: Thu Mar 28, 2013 9:24 pm
by Jeff250
You can filter on, e.g.,

ip.src == 173.194.55.0/24

to see if anything is coming from that block.

Re: This whole time I thought youtube throttled... it was my

Posted: Thu Mar 28, 2013 10:04 pm
by Isaac
It appears that I'm not using the blocked ip, as youtube connects to 74.125.0.25 The filter didn't return any hits at all on either of those IPs. However, I did notice a speed change on the day I made the original post. A large and very noticeable one. Is it possible something changed between now and the 25th? This whole idea came from reddit, so hundreds of thousands of users were probably doing the exact same thing. If the people at google didn't like what was happening to their Youtube, they could have easily changed server IPs.

It's also worth noting that, since I made this post, I've switched operating systems, to Lubuntu 12.10. So when I ran wireshark there's no chance I was still blocking those IPs.

Re: This whole time I thought youtube throttled... it was my

Posted: Thu Mar 28, 2013 10:56 pm
by Jeff250
I suppose it's also possible that if there were a load balancing problem (some servers getting too much traffic, some not enough) that they fixed it. All we can do is speculate at this point.

Re: This whole time I thought youtube throttled... it was my

Posted: Thu Mar 28, 2013 11:15 pm
by Isaac
As always, thanks a lot for your assistance. I've learned a lot from you on this forum.