1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Best Bit Torrent Configuration

Discussion in 'HyperWRT Firmware' started by hotweiss, Jan 23, 2006.

  1. hotweiss

    hotweiss Network Guru Member

    Hi, I'm giving up on D-Link DI-624. The constant crashes are now finally getting to me. Based on what I have read HyperWRT is the best firmware for P2P users, am I correct? If yes, what is the best version and configuration for a P2P user like me.
  2. vincentfox

    vincentfox Network Guru Member

    The best thing you can do, is usually on the CLIENT side of things.

    Get a modern stable client. Like uTorrent, BitTornado, or Azureus.

    Now set some reasonable limits like 50-100 concurrent connections, not unlimited.

    Cap the bandwidth to 80% or so of your up/down speeds.

    Quite often this resolves BT-related problems.
  3. Mercenary

    Mercenary Network Guru Member

    I had all sorts of Azureus torrent problems, tried QoS, firmware, scripts and in the end as vince says the client settings sorted it. I was pushing it too hard thinking I would get faster downloads, instead caused the entire net to stop.

    I used this site to help me get the right settings. Its all based on your UPLOAD speed, not download.


    I have NTL's 2mbps service which is theoretical up limit of 256kbps but after many speed tests was really 195kbps. Entered this into this site and set my torrent client to the exact settings, now works perfect.
  4. vincentfox

    vincentfox Network Guru Member

    As frequently as the BT question comes up, I think we need a global sticky post about it, eh?
  5. Thibor

    Thibor Super Moderator Staff Member Member

    i personally found Azureus to be a complete resource hog, as well as frequently using 100MB+, it was always trying to kill my internet connection with hundreds of thousands of DHT connections as well as a multitude of other quirks of the program. I switched to UTorrent and since then, i haven't looked back, aside from the fact that it won't co-exist with Nvidia's firewall; everything else is spot on.
  6. hotweiss

    hotweiss Network Guru Member

    It's not only P2P, but regular browsing, Battle.net, etc... all of these occurences make the router crash. The DI-624 router is a peice of crap.
  7. Chicken

    Chicken Network Guru Member

    For me, the WRT54GS was crashing once or twice a day when I use BitTorrent (tried different clients).

    You can say it's both sides, client's and the router's.
    The router can't handle the giant numbers of connections you makes with bittorrent.
    Limit the numbers of connections allowed in your bittorent client is an option.
    My option was using HyperWRT (+Thibor 12) and put a command in the startup script to make it clears the buffer every 30 minute. The standard time was 5 days I had heard. The buffer is getting full and results in 90% packet losses and lose connections.

    I put this in the startup script

    echo 4096 > /proc/sys/net/ipv4/ip_conntrack_max 
    echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 
    echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses 
    echo 512 > /proc/sys/net/ipv4/neigh/default/gc_thresh1 
    echo 2048 > /proc/sys/net/ipv4/neigh/default/gc_thresh2 
    echo 4096 > /proc/sys/net/ipv4/neigh/default/gc_thresh3 
    echo "600 1800 120 60 120 120 10 60 30 120" > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts
  8. hotweiss

    hotweiss Network Guru Member

    Does it crash with HyperWRT?

    I'm also considering getting a DI-524 and just using it as an access point, as I only have 1 computer that needs the router. If you're wondering, the DI-624 has serious issues as an access point.
  9. Thibor

    Thibor Super Moderator Staff Member Member

    you don't need that startup script in mine or tofu's. in tofu's the timeout is 14400, and in mine it's set to 600(but can be changed in Management.asp)
  10. Kamui1407

    Kamui1407 Network Guru Member

    utorrent is the best torrent client , I use it and it's rockstable :thumb:
  11. hotweiss

    hotweiss Network Guru Member

    Just got my Linksys, going to try out the different firmwares.
  12. vincentfox

    vincentfox Network Guru Member

    Ranting and raving.....

    You know, we REALLY need to aggregate these BitTorrent questions into a good sticky post.

    [mounting soapbox]

    Seems like every BitTorrent user wants to point fingers at the router.

    I mean come on, you have a great setup network runs fine. Then you turn on BitTorrent and it all starts crashing and you blame the *router* for this problem?

    IMHO the blame has to go squarely back on the software and the BT user. Hastily written clients that leave connections open all over and seek to maximize their speed without regard to network consequences. At the very least a little upnp negotiation here with the router to say hey let's be friends, I'd like a lot of speed but not so much I choke you. I would wish that the software would have lower defaults instead of "unlimited" or ask users during setup "residential?" and configure accordlingly. In the meanwhile we need to be pointing people at the FAQ's for their BitTorrent software, which often have sections about good network settings that they should use for residential connections. Settings that will keep BitTorrent client from choking the router.

    Why should we have to tweak the router to large connection tables and turn the timeouts to very low levels? This can create other problems particularly the timeouts.

    Or, sure you want a router that can handle anything you throw at it? Take an old PC with 1-gig of RAM and load IPCop or SmoothWall or something on it.

    It is insanity, to expect a sub-$100 router to handle everything that some beta software on your 3 GHz PC can conceivably ask of it. When I was playing with Cisco routers for a CCNA class, they had a good term for software that would fill up connection tables and crash it. The term DoS, Denial of Service attack, seems to fit.

    Or sure, they can go off and try another brand, and another, and find that this software BitSucker-alpha-v0.2 probably does that to all routers.

    [unmounting soapbox]

    Sorry for the rant! Do not take this personally anyone in this thread, just picked a place to vent my spleen over a lot of threads on this subject.
  13. MrEvil

    MrEvil Network Guru Member

    I use uTorrent and haven't had a problem as long as I've been running Tofu 9 (downloaded 12 to upgrade today). Works really well and I haven't had to reboot my router in a LOOOONG time. But yeah, anyone that's expecting a router that's under $100 to work with that kind traffic is kidding themselves. You want a SOHO solution that'll handle it? Get a genuine Cisco 800 series router and pay $600-700 for it. But yeah, the previous poster is right, be sane with your bit-torrent connection settings. I set my client to upload at 2/3 my total upstream bandwidth and I can still download torrents at my maximum downstream speed.
  14. evil-doer

    evil-doer Network Guru Member

    why not point fingers at the router/firmware? ive used several hardware routers. all of them EXTREMELY CHEAP. as in free after mail in rebate. and ive always been able to max out torrents with no problems. also using xp as a router with ics, no problems. the fact is that this WRT54G(s) seems to be one of the worst routers for this type of traffic ive run into. so far ive tried the default and dd-wrt firmwares. and today im gonna give hyperwrt(thibor) a try and see if that fairs any better. *crosses fingers*
  15. quickdisc

    quickdisc Guest

    Re: Ranting and raving.....

    Actually, my problem is my setup works PERFECTLY with an old BEFSR41. Bittorrent, Azureus, all work great with my 3 Mbps / 384 back DSL connection. When I drop in a WRT54G or WRT54GS, the torrents get interrupted and I can't access the admin page of the router. IMHO, if the problem starts when you change routers by the same manufacturer, the problem is likely with the router.

  16. mmisnan

    mmisnan Network Guru Member

    I third this .. there is something greatly wrong with this router/firmware. I've had ADSL gear from Netgear (running Linux too) and running P2P gave no problem at all. Moved to cable and bought WRT54GS, using standard and DD-WRT and everytime I fired up Azeureus, other activities went to crawl ..
  17. Fr_rene

    Fr_rene Network Guru Member

    With DD-WRT...
    Try HyperWRT Thibor, It's rock stable with P2P...
  18. yukycg

    yukycg Network Guru Member

    I have the dlink 624, and everytime there are too many connections, it reboots.(using with 3 desktop and one laptop)

    At most the linksys WRT54G v4 will just lag other computer that is playing some mmorpg, or CS, but never reboot.

Share This Page