sarah_orange: (Default)
[personal profile] sarah_orange
the FOC house is (still) experiencing network issues. I say network issues because I don't think there's anything wrong with the Virgin connection. Most of the time we're getting our correct download and upload speeds (although I shall do some checks over the next few days and add them to the post just for completeness) and more importantly it's possible to recreate the problem.

the problem is with torrenting or peer to peer file stuff. After my last round of trying to sort stuff out I worked out that unplugging Al's pc from the network stopped the problem. After some discussion it transpired he generally had torrents going but had the download speed throttled. Headscratching. Turns out he didn't have the upload speed throttled. Breakthrough. Apart from it wasn't. The downloads and uploads are now throttledand the problem still occurs. So Al now has his torrents scheduled to run after we go to bed and during the day midweek.

I've taken to having a cmd window open most of the time pinging the bbc website on loop to keep an eye on response times. generally it'll be around 20-40ms - during one of the problem times it will be 1000-2000ms. Sometimes its a bit lower and I can play wow but get disconnected frequently. Last night it was slow - well over 1400 average but Al wasn't torrenting - so I rebooted some stuff and it turned out Fuzzy was - same thing though - download and upload were suitably throttled. So we thought we'd experiment a bit.

Firstly here's our set up - we have the virgin broadband modemy thing which has one output. that goes directly into the netgear modem they supplied. this does the dhcp and stuff. from this the wii and xbox are connected (but are generally switched off) and a line runs to the upstairs router. the upstairs one is the same make of netgear (but vx.x.7 where as downstairs is vx.x.9 I believe) - it has a fixed IP address and dhcp turned off. the range for dhcp on the downstairs router is set to start 1 higher than the IP of the upstairs one so there are no clashes with things in the house. we have the 2 routers as one router isn't enough ports and the signal from the downstairs one doesn't cover our tall victorian house. originally we had just the new router upstairs and still had this problem so it may not be specifically related to the second router. I've downloaded wireshark but frankly that shit baffles me...

anyhoo. as an experiment last night fuzzy took his pc downstairs to see if starting his torrent down there had the same effect as from the upstairs router. it did. interestingly when he started the torrent up his ping stayed ok for a minute or so before gradually getting worse. this made me think that my idea that the problem may be somehow connected to broadcast storms or something had some validity. as another check I made sure that all the pcs in the house were experiencing the latency - not just mine.

so there you have it - I'm going to have a look through both routers tonight and add the settings onto this entry as I forgot to write them down last night (hey al was out and fuzzy stopped torrenting so I got to enjoy 20-40ms latency on WoW which, suprisingly, doesn't appear to increase the ping times by any noticable amount (maybe it's increasing it to 25-45 but that's it...)) I've also noticed that WoW patch updates cause the problem too (as they are torrented peer to peer) and it took me nearly an hour longer to install one than D the other night :(

anyone that could provide us with suggestions and tips and explainations will be rewarded by much gratitude!
there may even be boozes in it ;)

feel free to comment anonymously if you're not on LJ - it'll screen it but I can relase them - put your name on so I know who to squee at :D

Date: 2010-05-26 11:02 am (UTC)
From: [identity profile] steer.livejournal.com
This is usually caused by the asymettry of ADSL. The upload bandwidth is much less than the download bandwidth so you need very aggressive upload throttling or a huge outgoing queue builds. Also you will find that some torrent clients don't implement upload throttling properly and you will also find that some autospeed algorithms fuck things up in exactly the way you describe.

My suggestion is to try P2P with real heavy upload throttling on -- like measure your upload bandwidth using a speed test site and then throttle to 20% of that or less. Don't use P2P autospeed algorithms as most work by saturating the upload link.

Date: 2010-05-26 11:12 am (UTC)
From: [identity profile] sarah-orange.livejournal.com
ta steer - I shall point the boys to this post. I suppose this is why we didn't get this problem before - as we were on a bt line?

Date: 2010-05-26 11:16 am (UTC)
From: [identity profile] steer.livejournal.com
If you switched line to something with lower upload it will happen more. Also if you started to download more popular content it will happen. Finally, if you use private p2p sites which provide better connections (like tv torrents) I think it's more likely since people get your upload scavenged.

I would try (in order)

1) Heavier throttling (and don't forget the MB/s Mb/s Bytes bits conversion)

2) Different bittorrent client with heavier throttling.

3) Using a packet sniffer such as wireshark to look at what the traffic clogging the network is.

My confident bet though is that the problem you have is full buffering in your outbound modem bandwidth. In fact I was at a presentation about full outbound buffers in P2P this very morning.

Date: 2010-05-26 11:19 am (UTC)
From: [identity profile] glennkenobi.livejournal.com
I never knew that downloading porn could be so complicated :-D :-)

Date: 2010-05-26 11:40 am (UTC)
From: [identity profile] eblue.livejournal.com
For goths sake stop using Torrents... I can't believe people still use them, even if you use private trackers, your ISP will use traffic shaping, and even if you switch ports, which you will have to do on a semi regular basis because your ISP will either block those ports or throttle them.

Sign up for a decent Usenet server account, something like Giganews which has european servers and SSL.

Date: 2010-05-26 11:32 am (UTC)
From: [identity profile] urbancannibal.livejournal.com
My suggestion is to give up playing WoW and choose a proper MMOG instead. :P

Date: 2010-05-26 11:42 am (UTC)
From: [identity profile] http://users.livejournal.com/_pyromancer_/
Don't use torrents or P2P.

What's probably happening is Virgin's deep-packet inspection stuff is spotting that your connection is doing P2P type stuff and throttling your connection all the way back as a result. It's not a fault, it's deliberate bandwidth throttling, partly in response to music / movie industry pressure, and partly simply to protect the Virgin network from traffic saturation.

I'd suggest, if people are determined to use P2P or Bit Torrent, you want two separate connections, the Virgin cable one for legitimate stuff, WOW, normal Internet browsing, legal downloads from Amazon, etc, and a separate phone-based ADSL connection, preferably from a small local ISP (who are less likely to be doing aggressive automated deep-packet traffic profiling), for all the dodgy stuff. And make sure people use the correct connection for the traffic they want to run.

If I was doing it I'd have two seperate wired networks, and tell people to plug in to whichever one they need - use green cables for the legit one and red for the other, so it's easy to keep track of. But then I simply don't trust wireless connections.

Actually, thinking about it, use wired for the legit and wireless for the other. Gives a better get-out clause if anyone ever comes knocking, "someone external must have broken our WEP key".

Date: 2010-05-26 11:50 am (UTC)
From: [identity profile] daevid.livejournal.com
Does that actually happen though? I thought the throttling by Virgin was just a rumour :s

WoW also uses P2P for it's patch updates too...

Date: 2010-05-26 11:57 am (UTC)
From: [identity profile] http://users.livejournal.com/_pyromancer_/
Deep packet inspection can tell an ISP a lot. I don't know all the details as I don't deal with that side of our system (I'm more the domains and hosting systems end of things), but I do know we can shape broadband traffic to quite an impressive degree here - and we're a hell of a lot smaller than Virgin.

A quick test would prove it - get everyone in the house to stop using all forms of Torrent or P2P (other than the WoW one, which is almost certainly detected and classed as legit) for a full week, and see if the problems go away.

Date: 2010-05-26 11:59 am (UTC)
From: [identity profile] bitwise-bob.livejournal.com
Could be an issue with whichever router connects you to the internet.
Presumably it will be running NAT ( using 1 internet/public IP address for all your internal machines), if it is then it has to keep track of every connection between your LAN and the internet - with torrents running that could be thousands of entries in its table to process -- some routers just aren't up to the task.

If this is the cause you'd probably see the problem continue for a short while after the torrents were stopped (until the router ages the connections out of its table)

There may be a new firmware for the router, always worth a try.

Date: 2010-05-26 12:08 pm (UTC)
From: [identity profile] thatmakesmemad.livejournal.com
Limit the number of simultaneous connections on the bittorrent clients ?
Virgin apparently have application management so prioritize different applications for traffic access (http://www.virgin.net/allyours/faqs/trafficManagementFAQ.html) but then since games are the highest this doesn't explain the drop outs.
I seem to remember that earlier models of netgear routers had problems with excessive numbers of connections causing them to keel over.
What model of netgear router is it ?

Date: 2010-05-26 12:14 pm (UTC)
From: [identity profile] daevid.livejournal.com
Mmmm there is this bit too :(

"What are abusive users?

As with all service providers Virgin Media has to deal with customers who want to side-step our Traffic Management Policy in order to take get more bandwidth at the expense of other customers. To safe guard the service for all customers Virgin Media monitors the amount that customers download per hour during our peak times (4pm and midnight on weekdays and 10am and midnight at the weekends).

During our peak times, if we see that a particular customer is downloading excessive amounts within a one hour period which could be having a detrimental affect on other users then we will restrict that customer's actual throughput speed to 512Kbps until midnight of that day. At midnight the throttle will be automatically taken off the line and returned to its normal speed."

Date: 2010-05-26 12:25 pm (UTC)
From: [identity profile] sarah-orange.livejournal.com
ah so that sounds like my suggestion to fuzzy that he does what al does and restricts his torrents to 1am - 4pm during the week and 1am - 9am during the weekends is actually correct...?

Date: 2010-05-26 12:37 pm (UTC)
From: [identity profile] daevid.livejournal.com
Would appear so... I stand corrected by Jacks earlier statement. It does though go some way to explaining my own troubles i had with WoW patches before i disabled P2P...

I would say try to find a better ISP who does not hold with throttling but i also know you have this as part of a package... i guess it just depends on how much restriction the house can take compared with what benefits the package provides

Date: 2010-05-26 12:28 pm (UTC)
From: [identity profile] selectnone.livejournal.com
This looks like a chance to wave the flag for Zen Internet, who are great :D

They don't do any bandwidth shaping or restriction like that, have great service, and you can cancel with a month's notice.

I'm on the £25-a-month package which has a 25gig monthly download-limit, soon to be upped to 50gig; you can pay for extra if you need it, so that's not really an issue.

Zenzenzen :D

Date: 2010-05-26 12:35 pm (UTC)
From: [identity profile] http://users.livejournal.com/_pyromancer_/
Like I said in my other reply, get everyone in the house to completely stop using torrents and P2P for a week, and see if that solves the problem. If it does, you've found the culprit. If not, *then* suspect the hardware.

Date: 2010-05-26 01:12 pm (UTC)
From: [identity profile] viciouscabaret.livejournal.com

You can't expect Al to go for a whole week without porn!

Date: 2010-05-26 01:48 pm (UTC)
From: [identity profile] http://users.livejournal.com/_pyromancer_/
He could always *buy* porn, instead of torrenting it? :-)

Date: 2010-05-26 01:20 pm (UTC)
From: [identity profile] sarah-orange.livejournal.com
the problem stops the second the torrents are stopped so we know they are the problem but the question was *why* are they such a problem with fuzzy and al have throttled the downloads and uploads so much...?

Date: 2010-05-26 01:45 pm (UTC)
From: [identity profile] http://users.livejournal.com/_pyromancer_/
Would I perhaps be correct in assuming that the vast majority of torrent traffic is, shall we say, not quite what the media companies might approve of? :-)

I know there are some legit uses (ISTR some Linux distributions use Bit Torrent) - but I gather its main use is obtaining entire series of TV shows without buying the DVD box sets, plus music piracy. Now given that Virgin also operate a cable TV service, and used to be a record label, I'd imagine they're not that keen on people downloading ER or whatever. So I wouldn't at all surprised if there isn't some code somewhere in their network control gear that basically goes "that user is running Bit Torrent, target acquired, nuke from orbit!" (and if the coder who wrote it is anything like me, that's *exactly* what will be in the comments just above the relevant detector statement. Mwahahahah!) :-)

Also as someone mentioned, check what they are throttled to in both directions, if possible get MRTG on the network to monitor the throughput (though that may need replacing the last router before the cable modem with a Linux box configured as a router). I've a Virgin connection, it's 2MB download but barely 91k upload - adding new photosets to Gungemaster takes several days at a time, with rsync running in the background on the basement server day and night. So check that the upload speed is set to something very low, like 20k or less, or 10k or less each.

Date: 2010-05-26 01:59 pm (UTC)
From: [identity profile] thatmakesmemad.livejournal.com
I suspect the traffic throttling based on application probably works on the basis of throttling to the speed of the lowest rate of application so as soon as bitttorrent starts up you get slugged and when it stops you get promoted back up the food chain.
It's starting to sound like HoG with everyone ensconced in their cells getting a tv screen tan playing online games , watching tv and communicating through the keyboard or notes slipped under doors.
Time to introduce BOOT CAMP and I don't mean an add on for Apple computers neither.

Date: 2010-05-26 02:06 pm (UTC)
From: [identity profile] thatmakesmemad.livejournal.com
Minort thought but you do have the two routers working on different wireless channels don't you ?
To avoid congestion on the same frequency.

Date: 2010-05-26 08:23 pm (UTC)
From: [identity profile] thatmakesmemad.livejournal.com
likewise try bittorrent while wired in just to eliminate wireless congestion possibilities

Date: 2010-05-26 01:38 pm (UTC)
From: [identity profile] axy-666.livejournal.com
I think it's all been said above however here goes:

From what I remember from Virgin they will throttle at peak times if your connection is getting hammered. I think it's like 2Gb in an hour or a little less before your connection gets throttled. I've not looked at the AUP thing but it was something that happened to me on Virgin when I was still in the UK, I cursed them for it too.

If you are getting drops with a fair few users I would also say take a look at the Router connected to the Virgin modem. Personally, if you have a lot of traffic going through a cheap-ish Netgear expect the drops, I think I have the same one running the wireless here and that's about all it's good for imo.

I'd recommend something that's actually built to handle high traffic. For example I have a cable connection over here in Ireland, I'm using a Draytek Vigor2100V (it's a wired voip router), I had that on Virgin over in the UK too and all I can say is the connection was rock solid and is over here in Ireland on UPC cable. So I'd be looking to spend out and get a decent router, such as a Draytek SoHo router, too.

Date: 2010-05-26 01:53 pm (UTC)
From: [identity profile] http://users.livejournal.com/_pyromancer_/
Actually I'd second that.

Netgear gear is OK for minor networks like my home one where there are several machines but only ever one, or at the most two, users at a time - but for anything with intensive usage you want to get something like Cisco gear doing the main switching.

Date: 2010-05-26 02:03 pm (UTC)
From: [identity profile] thatmakesmemad.livejournal.com
I'm guessing by Cisco you don't mean Linksys :D
Slight problem with these routers is price at £120 odd for a draytek and god knows what for a professional cisco setup

Date: 2010-05-26 04:12 pm (UTC)
From: [identity profile] wibblefish.livejournal.com
this was my thought too, many of the cheaper modems can only handly so many connections at once and P2P can nab them all.

Date: 2010-05-27 05:35 pm (UTC)
From: [identity profile] bitwise-bob.livejournal.com
Some torrent clients will allow you to limit the maximum number of peers/connections (globally or per torrent) independently of the bandwidth allocated. If possible scale it back a bit & see if that helps any.

November 2014

S M T W T F S
      1
2345678
9101112131415
16171819202122
23 24 2526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 20th, 2025 03:51 pm
Powered by Dreamwidth Studios