Peculiar network problem

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Peculiar network problem

Post by Bounty »

I'm trying to download Ubuntu via Bittorrent, which should be a half-hour job, but it's all kinda gone to shit in a very weird way.

I'm using Vista Home Premium, a WRT54GL router running Tomato 1.23 through a Linksys WUSB54GC connector, and µTorrent 1.83. My computer has a static IP with all relevant BT ports forwarded. The Windows firewall knows to allow µT both incoming and outgoing connections. µTorrent gets a green light, the connection works fine.

The problem is as follows:

Under normal circumstances I get about 400Kb/s. When I start a torrent, it *always* levels out at 60Kb/s, and the rest of my connection gets choked to hell. Browsing barely works, pages fail to load or take up to a minute to render properly (even simple ones with just basic HTML that otherwise load in a blink). Starting a second torrent slows the first one down until they're both at 60Kb/s. It's always that same number.

Using the same router and connection my last PC got consistent 300-350 speeds. It's not the torrent, it's not the router as far as I know, it's not the connection, all settings are correct, and I've basically reached the point where I'm out of tricks to try. What confuses me most is not the slowdown but the very peculiar combination of the torrent levelling out at precisely 60Kb/s while the rest of my connection goes to shit, and that this happens *only* with µTorrent running.

Ideas?
rhoenix
Jedi Council Member
Posts: 1910
Joined: 2006-04-22 07:52pm

Re: Peculiar network problem

Post by rhoenix »

Your ISP is throttling torrent traffic.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Re: Peculiar network problem

Post by Bounty »

And they started doing this precisely in the week I bought a new PC, on a non-standard BT port? And this throttling drags the rest of the connection down with it? I very much doubt that.
rhoenix
Jedi Council Member
Posts: 1910
Joined: 2006-04-22 07:52pm

Re: Peculiar network problem

Post by rhoenix »

I'm not going to give you a point-by-point rebuttal here. However, my hypothesis is falsifiable in the following ways:

1. reboot into Ubuntu on the same computer, and try downloading the same torrent file.
2. try another computer on the same connection, and try downloading again.

Please report your results. We will see from there.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Re: Peculiar network problem

Post by Bounty »

Ubuntu 9.04, Deluge 1.19, same hardware, same connection, same torrent: 300+ Kb/s, no browser issues. It's not traffic shaping.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Re: Peculiar network problem

Post by Bounty »

I doubt it's the driver since I do get 400Kb+ download speeds via the browser. It feels more like something along the line is overloading the router or hogging the connection.
User avatar
Resinence
Jedi Knight
Posts: 847
Joined: 2006-05-06 08:00am
Location: Australia

Re: Peculiar network problem

Post by Resinence »

Ditch BT4luddites utorrent and try using the win32 version of deluge, since deluge apparently worked on linux.
“Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation.” - Oscar Wilde.
User avatar
Beowulf
The Patrician
Posts: 10621
Joined: 2002-07-04 01:18am
Location: 32ULV

Re: Peculiar network problem

Post by Beowulf »

Possibly you're running out of half open connections, and thus can't get as many seeds to download from? Don't really know what the solution is.
"preemptive killing of cops might not be such a bad idea from a personal saftey[sic] standpoint..." --Keevan Colton
"There's a word for bias you can't see: Yours." -- William Saletan
rhoenix
Jedi Council Member
Posts: 1910
Joined: 2006-04-22 07:52pm

Re: Peculiar network problem

Post by rhoenix »

Alright, I withdraw my suspicions about traffic shaping or deep packet inspection. The only other thing I can think of which matches what experiences you've described might be either the network card driver for Vista, or the speed settings for it.
User avatar
Netko
Jedi Council Member
Posts: 1925
Joined: 2005-03-30 06:14am

Re: Peculiar network problem

Post by Netko »

You are hogging your upload which chokes the "acknowledge" packets, thus slowing down your download because the remote source is waiting for them to send you the next packet.

Here's a link with a bit more info: http://www.cfos.de/traffic_shaping/traf ... ping_e.htm

Anyway, at the linked site you can buy a improved minidriver that prioritizes traffic at your computer so that acknowledgments are sent before html requests which are sent before torrent traffic and similar which is an effective remedy for the situation (I've been using their product for years).

Of course, the free alternative is to simply limit your upload in utorrent to around 80% of declared line speed which should give you enough breeding room for acknowledgments and browsing to work fine.
User avatar
Starglider
Miles Dyson
Posts: 8709
Joined: 2007-04-05 09:44pm
Location: Isle of Dogs
Contact:

Re: Peculiar network problem

Post by Starglider »

Netko wrote:which should give you enough breeding room for acknowledgments
You can breed ACK packets? Ah, so that's how denial of service attacks work, they're just factory farms for SYNs. :)
User avatar
Netko
Jedi Council Member
Posts: 1925
Joined: 2005-03-30 06:14am

Re: Peculiar network problem

Post by Netko »

Yes, you see you have to have a good breeding program for them otherwise they never develop properly and are lazy and then you get problems like in the OP. True story.

:D I really shouldn't write posts when still groggy from a nap.
User avatar
Uraniun235
Emperor's Hand
Posts: 13772
Joined: 2002-09-12 12:47am
Location: OREGON
Contact:

Re: Peculiar network problem

Post by Uraniun235 »

Resinence wrote:Ditch BT4luddites utorrent and try using the win32 version of deluge, since deluge apparently worked on linux.
I looked at some screenshots of Deluge and it looks almost the same as utorrent; what's the big difference?
"There is no "taboo" on using nuclear weapons." -Julhelm
Image
What is Project Zohar?
"On a serious note (well not really) I did sometimes jump in and rate nBSG episodes a '5' before the episode even aired or I saw it." - RogueIce explaining that episode ratings on SDN tv show threads are bunk
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Re: Peculiar network problem

Post by Bounty »

My µTorrent upload speeds are properly set up. They're at 80% of my upload speed, and turning them down further changes nothing.
Ditch BT4luddites utorrent and try using the win32 version of deluge, since deluge apparently worked on linux.
I'd rather find the actual problem, thanks. I could just download everything from Linux but then I wouldn't learn anything.

Netko, thanks for the info; is that roughly the same as the QoS I have set up in Tomato?
User avatar
Netko
Jedi Council Member
Posts: 1925
Joined: 2005-03-30 06:14am

Re: Peculiar network problem

Post by Netko »

Its pretty much the same thing, although details may differ, aside from the obvious different location of traffic shaping. This is weird, your description of the problem sounds like a typical acknowledge packet choking, but with your described configuration it shouldn't be happening.

Be sure to check if the prioritise ACK option is set in your Tomato QoS settings. Related to that, check to see the numbers of connections uTorrent is set to allow - dropping that down to 100 per torrent or even overall could be a good diagnostic attempt.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Re: Peculiar network problem

Post by Bounty »

Prioritize ACK is set.

I'm thinking the problem is either with Vista, the Vista driver for my wireless dongle, µTorrent, or a combination of those three. The fact that it works fine in Linux rules out the hardware, router settings and connection.

I tried bringing the connections back to 80 per-torrent and 80 overall but neither had an impact. µTorrent did work under XP with pretty much the same settings as it has under Vista right now.
User avatar
Uraniun235
Emperor's Hand
Posts: 13772
Joined: 2002-09-12 12:47am
Location: OREGON
Contact:

Re: Peculiar network problem

Post by Uraniun235 »

Try limiting the number of connections uTorrent is allowed to make. That should be somewhere in Preferences, I think.
"There is no "taboo" on using nuclear weapons." -Julhelm
Image
What is Project Zohar?
"On a serious note (well not really) I did sometimes jump in and rate nBSG episodes a '5' before the episode even aired or I saw it." - RogueIce explaining that episode ratings on SDN tv show threads are bunk
Post Reply