Of TCP connections, SP2 and Faster Torrents Download Speeds

Of TCP connections, SP2 and Faster Torrents Download Speeds


Overview:

We all might have across many “Tweaks and Hacks” to make our Internet connection faster. most of them, don’t work or have very small and negligible difference in the speeds.

I really don’t believe in all this nonsense, but a thing striked me a few weeks ago when I was downloading a file which had a hell lot of Peers (Seeders + leechers).
Peers
Even with a lot of peers, the download speed wont cross more than 23kBps and I usually get around 28-31kBps with a normal and reasonably healthy torrent. Anyways, I continued with the torrent even though I got less than usual speeds. After some time realised seeing some advanced setting in BitTornado regarding limiting the maximum peer connection, so that brings me to write this guide.

SP2 and TCP connections:
All this l’affaire TCP connections is with SP2 only as Microsoft included so called enhancements limits the number of simultaneous incomplete outbound TCP connection attempts (’half-open connections’) per second to 10. This was an attempt to reduce the viruses and their “spreading”.

So what happens?
The torrent client will try to establish many contacts with other peers connected to the tracker within a very short period of time. When the half-open connection limit is reached, new connections will be queued until some of the current connections are established. So we have to limit the number of peers that we are connecting irrespective of the number of peers that the torrent file may connect to.

Now we have two options before us. Either:

  • Limit the Number of peer connection.
  • Or Increase the simultaneous incomplete outbound TCP connection attempts

I will be dealing with the former method only. For TCP and related gyan, plz check with the link given below.

More about TCP and the software TCP Optimizer can be checked here

Limiting the Maximum Peer connections:
Just to save all the frogshit and trouble, lazy dudes can follow these steps…

Just check in the options/preference of your torrent client, and see if you can find the settings to change the max. peers per connection.
I use BitTornado and here is the screenshot to help you:
BitTornado

Limit the max. peer connection to 60 or less. I have tried using just 60 peers and there is no change in the speeds and even the torrents with many peers go well fine with this.

In case you use Bit Comet, then check here: Options > Preferences > Advanced > Connection > “Maximum Connections per task”

But remember, for my Internet connection and modem/router 60 peer connections works like a charm. So you will have to play with the settings and see which value works out for you.

How much ever we tweak or hack the system, screw your modem, we wont get more speeds than the allotted Bandwidth by your ISP, say you have a 256kbps connection, then at max you get an average speed of 30 kBps. The idea is to do your homework and get the best speeds possible out of your connection.

Hope this guide was useful..

18 comments ↓

#1 Qwerty on 12.31.05 at 11:30 am

Hey, whats that “?” doin when i point at “TCP” and “SP2″ keywords in ur post ???

Good guide, helped me become a lecher :twisted: !

#2 Qwerty on 12.31.05 at 12:07 pm

W8 ! WTH ! TCP Opt Workx ! I am getting 50+ now in rapidshare and no its not reducing ! WTH !

#3 Ashwin on 12.31.05 at 6:33 pm

Hmm.. good for you. Happy leeching!

I have no idea about the “?” mark, it comes in here as well. Nothing happens on clicking/rightclicking it, so dont bother :)

#4 Rajesh on 01.02.06 at 2:40 pm

Hi Ashwin,
Which version are you using?I am using 3.7 the stable release one.
can u pls suggest me the settings for my 64 Kbps connection.the upload speed,max connections etc.

#5 Shwetanshu on 01.02.06 at 8:39 pm

Congo to u ashwin… best of luck mate, hope u get thru… better start preparing for the interview and stop watching movies… hehehe

Anywayz wat version of wordpress u using??
1.5.2 or 2.0??

#6 Ashwin on 01.02.06 at 9:47 pm

Rajesh:
I use 0.3.13 version. It’s not “stable”, but it’s cool and works flawlessly for me. I tried the 0.3.14a , the memory and CPU usage seems to be better but it crashes when we close the program. So lets wait till they bring out 0.3.14 :)

And always use “Seeder” settings to get the maximum BW out of your connection.
The max. connections (peers) should be at 60 or less than that, but you can play with the settings and see which one suits your connection.

Shwetanshu:
Lol, I will watch “Guns of Navarone” this night :P
Thanks a lot man. Hopefully I should convert the call.

I am using WP 1.5.2, I dont know how to upgrade.. I was looking for someone to help me out, so it will take a while to update.

#7 Shwetanshu on 01.02.06 at 11:02 pm

download the package and then read the readme… its much simpler written in the readme

#8 Ashwin on 01.03.06 at 2:54 am

Ok, let me see if I can make any sense of that thing. I will certainly try and see.

#9 Imran on 01.05.06 at 8:34 pm

pretty interesting blog you got there Ashwin.
though am not very excited about blogs, was impressed with yours.

thanks for the tip.
I use Azureus..not sure how it works in it..but I’ll try anyway.

I have a 2.2mbps connection. (well, actually its more like 2mbps)
get a maximum speed of 240 KB/s..
so any tips?

thanks.. :)

#10 Ashwin on 01.05.06 at 11:00 pm

Imran, first of all see if you can get the maximum BW irrespective of health of the torrent, if you feel you don’t get full speeds, then try to reduce the max. connection , peer connections and play with the settings, till you find the best bet.

Thanks Imran for the compliment about moi blog!

#11 Who the hell is Ashwin » How to download stuffs using torrents on 01.25.06 at 12:04 am

[...] Related posts: Of TCP connections, SP2 and Faster Torrents Download Speeds [...]

#12 Tanmoy on 02.19.06 at 5:48 pm

It helped me. Thank u

#13 sowmya on 02.19.06 at 10:04 pm

hey frnds iam a medical student in china .anyone have “tmstorrent”id .if any one, has plz invite me to tmstorrent.ok tank u .my yahoo id sowmya_mbbs2001@yahoo.com.

#14 philip1967 on 05.12.06 at 12:48 am

require invite
thanks

#15 Who the hell is Ashwin » Browsing effectively with Torrents running on 06.08.06 at 8:54 pm

[...] Read more abt the first 4 points here : Of TCP connections, SP2 and Faster Torrents Download Speeds [...]

#16 gaj on 06.21.06 at 10:48 pm

Does any one know what happend to BWTorrents.com website? When I try to go on the site it says webpage not found. Please let me know if there is a change.
THanks

#17 Joshua1980 on 10.02.06 at 6:53 pm

Hey Ashwin,

As it was down to your site that i found & got into a lot of private tracker
sites(love being able to download at over 1000kbs)i thought it only fair to let your users know of a patch where they can change there tcp to what ever they like as xp service pack 2 limits it too 10

http://www.lvllord.de/?url=downloads

#18 Saj on 12.16.06 at 2:15 am

Hi guys, please help.

I have just bought a new router (Dlink DSL-504T). I have done all port forwarding as recommended by portforward.com. On my earlier router AZTECH, it was awesome..but it got burnt (R.I.P.) :P

I am using BitComet. now on my dlink, i cant download so fast. i am lucky if i get 20 kb/s. avg of onl 6 kb/s. but my net surfing rate is good, but not my torrent downloading rates..
please advice

Saj.

Leave a Comment