Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old October 4th, 2007   #1
porcellinux
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 3
ktorrent+browsing = slow speed

Hi everyone!
I have a problem with ktorrent. It downloads at a max speed of 13kb/s. besides, when it's on going it slows/bloks the web browsing

How can I boost the download speed? (I already set right the router ports, and switched to opendsn)

How can my browser be fast while ktorrent is running? (I already tried to limit upload speed)

I also tried to pass to azureus, but risults are equal!!!!

This is really a problem 4 me!

Thank you!
porcellinux is offline   Reply With Quote
Old October 4th, 2007   #2
wieman01
Himbeer Brombeer Macchiato
 
wieman01's Avatar
 
Join Date: May 2006
Location: 100acrewood
Beans: 7,186
Kubuntu 9.04 Jaunty Jackalope
Re: ktorrent+browsing = slow speed

First of all you need to open these ports to get maximum performance:

Quote:
Prior to version 3.2, BitTorrent by default uses ports in the range of 6881-6889. As of 3.2 and later, the range has been extended to 6881-6999. (These are all TCP ports, BitTorrent does not use UDP.) The client starts with the lowest port in the range and sequentially tries higher ports until it can find one to which it can bind. This means that the first client you open will bind to 6881, the next to 6882, etc. Therefore, you only really need to open as many ports as simultaneous BitTorrent clients you would ever have open. For most people it's sufficient to open 6881-6889.

The port range that BitTorrent uses is configurable, see the section on command line parameters, specifically the --minport and --maxport parameters.

The trackers to which BitTorrent must connect usually are on port 6969, so the client must have outbound access on this port. Some trackers are on other ports, however.

BitTorrent will usually work fine in a NAT (network address translation) environment, since it can function with only outbound connections. Such environments generally include all situations where multiple computers share one publicly-visible IP address, most commonly: computers on a home network sharing a cable or xDSL connection. If you are unsure of whether you have NAT or not, then try this link which will try to determine if you are behind a NAT gateway.

However, you will get better speeds if you can accept incoming connections as well. To do this you must use the "port forwarding" feature of whatever is performing the NAT/gateway task. For example, if you have a cable or DSL connection and a router/switch/gateway/firewall, you will need to go into the configuration of this device and forward ports 6881-6889 to the local machine that will be using BitTorrent. If your device makes it hard to enter a range of ports (if you must enter each one separately), then you can just do the first 10 or so ports, or however many simultaneous clients you plan to ever have open. If more than one person behind such a gateway wishes to use BitTorrent, then each machine should use a different port range, and the gateway should be configured to forward each port range to the corresponding local machine.
Source here: http://www.dessent.net/btfaq/#ports

Second you need QoS = "Quality of service" enabled on the router. That depends again on what brand you own. You need to give browsing (http) a higher priority than torrent download (BitTorrent).

I use the DD-WRT firmware for my router and you can enable QoS easily there:

http://www.dd-wrt.com/dd-wrtv2/index.php
wieman01 is offline   Reply With Quote
Old October 4th, 2007   #3
porcellinux
First Cup of Ubuntu
 
Join Date: Oct 2007
Beans: 3
Re: ktorrent+browsing = slow speed

well...I hate my router firmware...

I have a speedcom art25gsu...from the present firmware I cannot find a QoS config

Do you think I can upgrade it to the one you told me?
porcellinux is offline   Reply With Quote
Old October 4th, 2007   #4
wieman01
Himbeer Brombeer Macchiato
 
wieman01's Avatar
 
Join Date: May 2006
Location: 100acrewood
Beans: 7,186
Kubuntu 9.04 Jaunty Jackalope
Re: ktorrent+browsing = slow speed

Quote:
Originally Posted by porcellinux View Post
well...I hate my router firmware...

I have a speedcom art25gsu...from the present firmware I cannot find a QoS config

Do you think I can upgrade it to the one you told me?
Check their website. I don't know if your model is support or not. If it is, you will love DD-WRT.
wieman01 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:33 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry