|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Questions about bandwidth allocation between torrent programs and browsers.
#8996980 - 09/28/08 05:38 AM (15 years, 7 months ago) |
|
|
Hey, I don't know if anyone here knows about this shit... but here's the situation:
I have a 7Mbit connection that is very reliable.
I've noticed that when downloading with uTorrent (maybe 75k/sec each direction) for some reason my browser load times slow waaaay down. It's annoying as hell, and occasionally it prompts me to turn off the downloads until I'm down browsing.
The thing is, with a 7Mbit connection, there should be plenty of bandwidth to spare. Do torrents somehow interfere with the same ports that HTML uses? Would this even be cause for this?
I run uTorrent w/Peer Guardian 2 for a firewall. I have HTTP Allowed in PG2.
I KNOW I have more available bandwidth because I can throw NewsBin on and get another 3+ Mbits a second on there at the same time.
Does anyone have any idea what's going on here? Is there a setting somewhere that allocates bandwidth priority? Is there a way to bump my browser to the top of this list, so to speak?
Thanks in advance guys.
|
Seuss
Error: divide byzero



Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 3 months, 8 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: JacquesCousteau]
#8997014 - 09/28/08 05:51 AM (15 years, 7 months ago) |
|
|
Could be several things...
What is your UP speed? I have a large (huge for this area) downstream pipe, but an itty-bitty tiny upstream pipe. Because of this, if I am downloading a torrent, my upstream pipe fills up with TCP/IP overhead making it difficult to browse.
It could also be a problem/limitation with the number of concurrent connections that your router (or OS) is able to support. If you have 200 people connected to you transferring data for the torrent, you router/OS may not be able to add the 201st connection needed when you want to connect to a web site.
You might be the victim of some kind of bandwidth management policy by the ISP. This is less likely than the two above, but is starting to become more common.
I would try limiting the upstream speed and the maximum number of connections on the torrent client and see if those help. Use something like www.dslreports.com/stest to determine what your upstream speed it, and then give the torrent client half of it (for testing, you want to give it around 80% for maximum torrent speeds, but this may bring back your problem.) Limit the maximum number of connections (globally, not per torrent) to something in 80 to 100 range. Between these two, I suspect your problem will go away.
-------------------- Just another spore in the wind.
|
krypto2000
Unknown


Registered: 12/05/06
Posts: 11,579
Last seen: 4 years, 6 months
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: Seuss]
#8997057 - 09/28/08 06:24 AM (15 years, 7 months ago) |
|
|
Not sure if you can do this with uTorrent, but I know you can with Azureus. There is a way to turn on encyption, that should get by your isp's throttling if they are doing that. However it still may be slow, it doesn't upload like most programs would.
That's just an inherent problem with bittorrent protocol, or at the very least all of the bt clients. I forget exactly how it works, but something like it just sends a bunch of small packets whenever it gets them instead of spacing them out into regular intervals, so it ends up saturating your connection even though it's not taking up all of the bandwidth. You can still upload at your full allowed speed, but there's a lot more latency created by bittorrent because your web browsing must continually wait for a free slot to dl/ul to instead of having it immediatly or having regularly alotted times (which bittorrent should do). This is why browsing is much slower yet you can download a file using all of your available bandwidth still.
Sorry if that didn't make sense, I tried to avoid any technical terms in my explanation in hopes that it would. To explain it further I might have to go into a lot more detail of networking which is beyond the scope of the topic here. Basically though, unless your isp is throttling your connection, which is possible, bittorrent is just inherently flawed and no matter what it's going to slow down your internet connection. I can upload at 80kbps - 150 (I forget/it's more or less dependant on the neighbors activity), but I always keep it at 20kbps due to this problem and it's hardly noticeable (although most of the time nothing is actually being uploaded cause I only have private trackers running).
Edited by krypto2000 (09/28/08 06:28 AM)
|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: Seuss]
#8997065 - 09/28/08 06:34 AM (15 years, 7 months ago) |
|
|
Much thanks, Seuss, I believe you are onto something there! I know my upload speed isn't nearly as good as the download, so this is most likely the culprit! I will look into limiting the connections.
|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: krypto2000]
#8997074 - 09/28/08 06:41 AM (15 years, 7 months ago) |
|
|
Krypto, thanks for your feedback too man... I do appreciate it.
I've limited the upload speed to 30k/sec to see if it helps, but the "Number of connections" dialogue is labeled as "Global" and does not seem to allow me to change specifically the number of UPload connections.
There is a "Number of upload slots per torrent" right below that, and I'm thinking this might be what I'm looking for? I went ahead and bumped it down to a low number in hopes that this will do the trick.
Now for some intense web browsing to test this baby out.
|
Seuss
Error: divide byzero



Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 3 months, 8 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: JacquesCousteau]
#8997099 - 09/28/08 06:58 AM (15 years, 7 months ago) |
|
|
> "Number of connections" dialogue is labeled as "Global"
That is the one you want. All connections are bi-direction.
-------------------- Just another spore in the wind.
|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: Seuss]
#8997114 - 09/28/08 07:04 AM (15 years, 7 months ago) |
|
|
Hmm... okay... thanks Seuss.
I'm gonna go into my router's management program and see if I can find out the connection limit that's being imposed upon me...
|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: JacquesCousteau]
#8997128 - 09/28/08 07:10 AM (15 years, 7 months ago) |
|
|
Okay, it looks like max connections for the router I own is 230.
I set the global max. connections in uTorrent to 115.
It seems like it is making a difference!
I thought I would lose some of my download activity from that, but it seems to have stayed the same. I guess that's some good news there.
Thanks for the help guys!
|
Seuss
Error: divide byzero



Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 3 months, 8 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: JacquesCousteau]
#8997140 - 09/28/08 07:17 AM (15 years, 7 months ago) |
|
|
> Okay, it looks like max connections for the router I own is 230.
I donno why, but a lot of routers are buggy or unable to actually handle their claimed max. I almost always assume 128 is the real max (on cheap "consumer" gear) and try to limit around 80 to 100 connections with the torrent client, leaving me a bit of headroom for other stuff (such as web browsing).
> Thanks for the help guys!
Welcome. Glad to help.
-------------------- Just another spore in the wind.
|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: Seuss]
#8997148 - 09/28/08 07:20 AM (15 years, 7 months ago) |
|
|
Hey, just a follow-up, while looking for the max connections for XPx64, I found this guide which seems to have REEAAAAALLY sped things up even more:
http://www.planetamd64.com/lofiversion/index.php?t4861.html
Now everything is loading lightning fast, even with uTorrent and Newsbin downloading at the same time. 
|
krypto2000
Unknown


Registered: 12/05/06
Posts: 11,579
Last seen: 4 years, 6 months
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: JacquesCousteau]
#8997252 - 09/28/08 08:47 AM (15 years, 7 months ago) |
|
|
Thanks for the link, those tweaks are much faster!
|
JacquesCousteau
Being.



Registered: 06/10/03
Posts: 7,825
Loc: Everywhere, Everytime.
Last seen: 2 years, 14 days
|
Re: Questions about bandwidth allocation between torrent programs and browsers. [Re: krypto2000]
#8997321 - 09/28/08 09:18 AM (15 years, 7 months ago) |
|
|
What goes around comes around, my friend!
|
|