Showing posts with label p2p. Show all posts
Showing posts with label p2p. Show all posts

Thursday, May 17, 2007

Remember to Seed on a P2P network

Here are my sharing ratios on a popular bittorrent tracker and on uTorrent for the last month or so:








Goodwill, and the will to share, and reciprocate is what the entire p2p network runs on.
p2p file transfers are responsible for atlease 80% of the traffic on the internet.(That's a weak estimate).

Also sharing files on a peer2peer network is completely voluntary, there is usually no personal gain in seeding files, still so many(believe me, there is huge number(including you)), who always do it.

This gives a wonderful insight on the human mind. Left free, without too many regualtions, on their own consceince, humans generally tend to do more good than bad.
(Of course there always are the odd exceptions, but that is just probability).

Hence we can conclude that men, usually are of a helpful nature, and left on their own, they will tend to help their needy among them.

Another good examples of this theory are :

Wikipedia - The most comprehensive encyclopedia on the web, runs totally on user-written articles. This means that me, and you can write new articles, even edit the old one if we have something more to say. Of course, there is a panel of admins and mods who regulate the changes, so it'd be of no effect to just delete an article, or spam it.

As always, we do have the odd spammer, but it is quite possible to weed them out, and more good than bad is done.

So before I get completely lost, all I wanted to convey here, is that on a P2P network, seeding is as important as leeching. Seed all the files to atleast a ratio of 1. Seed small files which you use often to a ratio of 3-5.

Help and keep the scene alive. =)

All the best and Happy Sharing.

Saturday, May 12, 2007

My Download Speeds on BSNL Broadband

More proof that my techniques work better than anyones.


These are my download speeds in uTorrent using a BSNL Broadband Home 500 plan. And i get it consistently for about 16 hrs a day, speeds upward of 125 KBps(KiloBYTE per second).
My neighbour gets speeds of about 50 KBps before i showed him my tricks.

What are Torrents. How to download anything from the internet - free

This summary is not available. Please click here to view the post.

Thursday, May 10, 2007

Speed Up Torrent Downloads

So do you use torrents do download anything you want? Well, I do too. If you dont know what torrents are, man, you need to grow up. Click here to know more about them.

Anyways, this post is about speeding up torrent downloads. It's written by a friend, with an occasional edit from me. This is probably the best torrent help file ever made available. Hope you like it.

1. Hack the max half-open TCP connections

If you’re on XP sp2, your TCP connections are limited to a maximum of 10. This might hurt your downloading speed because it wont let you connect to as much peers as you want. It is supposed to slow down viruses because their spreading strategy is to connect to a high amount of ip numbers, but it could cripple your torrent downloads.

A nice way to fix this is to download this patch (mirror).

Note: Some people report that their antivir reports the patch to be a Virus, This is not the case. Check out http://www.lvllord.de/ for more details on this

The patch allows you to set the maximum allowed connections to any number you want. Any number between 50 and 100 is ok (more is NOT always better).

Next you need to configure your torrent client to allow 50-100 max half-open TCP connections

µTorrent: Options > Preferences > Advanced options > net.max_halfopen. Then set it(
net.max_halfopen) to 80.


Bitcomet: Options > Preferences > Connection > max half-open TCP. Set it to 80.


Now you’re ready to go…

A third point of interest is that some “windows updates” revert your tweaked tcp connections back to 10. So it’s wise to check this every now and then. You can check this by going to (in windows xp) Start > Control Panel > Administrative Tools > Event Viewer > System… Look for event 4226 (sort by event).


If there are a lot of daily occurences it’s likely that the max amount of half-open tcp connections was set back to 10. Or you’re infected with some nasty spyware…
--------------------------------------------------------------------------------------------------------------------------
2. Torrent Client Configuration

In order to apply these tips you need to know your maximum up- and download speed. You can test your bandwidth over here (stop all download activity while testing). Also make sure that you applied the tips provided in our previous posts.

Note that there’s a difference between kb/s (kilobits/second) and kB/s (kilobytes/second). To be precise, kB/s = kb/s divided by 8. In this tutorial we use kB/s (like most torrent clients do). This means that you might need to calculate your max speed in kB/s yourself if the speedtest only gives you the results in kb\s (so divide by 8 then).

Settings 1-4 can be found in the options, settings or preference tab of most torrent clients.

1. Maximum upload speed

Probably the most important setting there is. Your connection is (sort of) like a pipeline, if you use you maximum upload speed there’s not enough space left for the files you are downloading. So you have to cap your upload speed.

Use the following formula to determine your optimal upload speed…


CODE

80% of your maximum upload speed



so if your maximum upload speed is 40 kB/s, the optimal upload rate is 32kB/s

But keep seeding!

2. Maximum download speed

Although setting your maximum download speed to unlimited may sound interesting, in reality it will only hurt your connection. If you still want to be able to browse properly, set your maximum download speed to:


CODE

95% of your maximum download speed



so if your maximum download speed is 400 kB/s, the optimal download speed is 380kB/s

3. Maximum connected peers per torrent

Yet another setting that you don’t want to max out. I experimented quite a lot with the max connected peers settings and came to the conclusion that both high and low number hurt the download speed of a torrent. The following setting worked best for me.

CODE

upload speed * 1.3


so if your maximum upload speed is 40 kB/s, the optimal amount of connected peers per torrent is

CODE

40 * 1.3 = 52


I didn’t noticed a difference for fast or slow connections here.

4. Maximum upload slots

CODE

1 + (upload speed / 6)


so if your maximum upload speed is 30 kB/s, the optimal number of upload slots is

CODE

1 + (30 / 6) = 6


3. More Tips

Check seeds and peers
A simple tip, but very important. Always look for torrents with the best seed/peer ratio. The more seeds (compared to peers) the better (in general). So 50 seeds and 50 peers is better than 500 seeds and 1000 peers. So, be selective.

Change the default port.
By default, bittorrent uses a port 6881-6999. Bittorrent generates a lot traffic (1/3), so isp’s like to limit the connection offered on the these ports. So, you should change these to another range. Good clients allow you to do this, just choose anything you like. If you’re behind a router, make sure you have your ports forwarded (portforward.com) or UPnP enabled.

Disable Windows Firewall
It sucks. Windows Firewall hates P2P and often leads a life of it’s own. So disable it and get yourself a decent (free) firewall, Kerio or Zone Alarm for example.

Turn on Encryption
Encrypting your torrents will prevent throttling ISP’s from limiting your bittorrent traffic. Check out how to enable encryption in Azureus, µtorrent, and Bitcomet, the three most popular torrent clients.

Optimize your internet connection
The TCP optimizer is a freeware utility that optimizes your internet connection. I found it very useful and it helped speeding up my connection for regular internet activity and for downloading torrents. Just download it, and move the slidebar to your maximum download rate (note that it’s in kb/s). Don’t try to set it higher because that will hurt your download speeds!

Last but not least… Buy a faster connection…

Happy Torrenting!

PS: If you want faster and better connections, you know whom to contact.

*This is the revised edition