PDA

View Full Version : [ubuntu] Bittorrent performance faster in Windows



blazemore
April 19th, 2010, 05:12 PM
I'm a long-time Linux user, Ubuntu in particular, but I also dual-boot with Windows.

Because I use both on a regular basis, I've had a lot of opportunities to compare the two, and while Ubuntu is almost always the winner in whatever category, there is one area where my Windows machine always comes up top, and that is bittorrent download speeds.

I haven't done any rigorous testing, but I've noticed that one torrent downloading on Windows with uTorrent will regularly exceed around 800kb/s (my absolute theoretical maximum is 1024kb/s)

On Ubuntu, the same torrent using Deluge, Transmission, Ktorrent, rTorrent, you name it (even uTorrent under Wine) will rarely achieve half that speed.

Same hardware, same torrent settings.

So why is this, do you think?
I'm interested in hearing any ideas!

never say never
April 19th, 2010, 06:29 PM
First thought is perhaps you don't have the correct port(s) forwarded to your linux box (or open in your firewall).

Second thought would be an MTU issue. How are you connected to the internet?

Ever done any speed tests for downloading and uploading?

blazemore
April 19th, 2010, 07:55 PM
First thought is perhaps you don't have the correct port(s) forwarded to your linux box (or open in your firewall).

Second thought would be an MTU issue. How are you connected to the internet?

Ever done any speed tests for downloading and uploading?

Firstly, it's the same network card, the same router (I don't use any software firewalls) and the exact same PC. On both Windows and Linux, the torrent software reports the ports as being open, as my router supports uPnP.

Secondly, I'm connected to the Internet with an ADSL connection over a wireless router. In a lot of cases, the wireless connection is the slowest point in the network, although it varies wildly.

Thirdly, this difference in speed occurs on straight HTTP traffic as well (say, downloading an Ubuntu iso) but the difference is far more pronounced when using Bittorrent.

never say never
April 19th, 2010, 10:03 PM
It is either an MTU size issue or more likely a buffering issue, especially since you are using wireless.

Look up the wireless card and make sure your config files for the card optimize it's throughput. There are a lot of options that can affect throughput over wireless. For instance on my laptop under linux it sends out a weaker signal, until I adjusted the settings to increase the power.

terrrorr
April 19th, 2010, 10:30 PM
For instance on my laptop under linux it sends out a weaker signal, until I adjusted the settings to increase the power.

I agree. I also encountered some difficulties with my laptops wireless connection previously. But when i tested another Wifi card (external) on my laptop, wireless connection started to work much faster and with better link quality.

current laptop: Lenovo R61
Old laptop: HP NX6120

blazemore
April 20th, 2010, 06:11 AM
Look up the wireless card and make sure your config files for the card optimize it's throughput.

Where can I find these options?

never say never
April 21st, 2010, 05:59 PM
Take a look at iwpriv. The options available vary by card. You may or may not be able to adjust the settings to cure the problem.