Slow Torrenting + Gaming = High Ping

Discussion in 'Networking & Security' started by MrSneis, Mar 14, 2011.

  1. MrSneis

    MrSneis 2[H]4U

    Messages:
    2,555
    Joined:
    Apr 5, 2006
    Long story short I have an e4200 router that I was very excited with at first but now it seems the times have caught up to me. Our internet provider didn't like the new modem I introduced and I ended up having to register it with them to get our internet back. Ever since then it's not been smooth sailing; had to reset to factory settings and upgraded the firmware of the router to get over constant dropouts and slow speeds.

    In the process I noticed that even slow-speed torrenting (under 20kb/s) KILLS in-game ping with BFBC2. I realize torrenting while gaming is not a good idea, but is there any way to set this up so that the two can exist in harmony without destroying the in-game ping?

    If I setup QoS I have to give it a range of ports which doesn't jive well with randomize ports -- if you know what I mean :(
     
  2. C7J0yc3

    C7J0yc3 [H]ard|Gawd

    Messages:
    1,353
    Joined:
    Dec 27, 2009
    You get one or the other, you can't have both.

    So you either game with good ping, torrent quickly, or game and torrent at the same time but stick wtih the same port set.

    Also realize that the way that RIAA / MPAA track torrents, and the way your ISP throttles your bandwith when you have excessive P2P traffic has nothing to do with what port number your torrent client is on. All randomizing your port number does is get around possible blocked ports by a corporate / school / ISP firewall so you can download.
     
  3. Sparkyy

    Sparkyy [H]ard|Gawd

    Messages:
    1,167
    Joined:
    Mar 16, 2006
    Just set the torrents to a fix port, one you know works and put that port in your routers QoS as low importance so everything else will run normally. If there is any bandwidth left then the torrents can run and your ping might be a little higher but probably better than now.
     
  4. koolaidkitten

    koolaidkitten Gawd

    Messages:
    633
    Joined:
    Apr 28, 2006
    are you limiting the amount of upload speed your torrents are using?
     
  5. /usr/home

    /usr/home [H]ardness Supreme

    Messages:
    6,164
    Joined:
    Mar 18, 2008
    ^ Usually it hogging the upload is more of a ping killer than hogging the download. At least it has been in my experience.
     
  6. ghost6303

    ghost6303 2[H]4U

    Messages:
    2,291
    Joined:
    Jul 24, 2004
    if you want faster internet that is able to handle dozens of torrent connections and still give you a low ping for gaming, subscribe to a faster service. you cant fit 10 pounds of poop in a 5 pound bag.
     
  7. W.Feather

    W.Feather Hard DC'er for Aug 2012/ Feb 2019

    Messages:
    11,256
    Joined:
    Nov 10, 2009
    you have a 5 pound poop bag ?


    In all seriousness, jump up internet plan if you can, or turn torrenting off when doing BC2...
     
  8. hpirs4n

    hpirs4n n00b

    Messages:
    20
    Joined:
    Jul 10, 2008
    Try limiting the number of connections to your torrent client. The number of connections, as opposed to the bandwidth per connection, can play a difference in how the router performs. I'm not saying the e4200 is a weak router, but often times you can have hundreds of connections open when torrenting.
     
  9. MrSneis

    MrSneis 2[H]4U

    Messages:
    2,555
    Joined:
    Apr 5, 2006
    Ok so I set a fixed port and set that port's QoS to low and capped my upload speed, going to give it some time to see how it performs!

    I also set high priority to port 80 and the ports BC2 uses, was this necessary or could it cause conflicts?

    Bear in mind I'm not the only person using the intranets at my home, we're also using the middle-level internet package that cox offers.
     
  10. BassDX

    BassDX Limp Gawd

    Messages:
    187
    Joined:
    Nov 20, 2010
    My connection has a 20 Mbit download / 4 Mbit upload (in other words fairly respectable), and I too have had these problems for quite a while. Limiting the number of connections is definitely the best place to start because by default, your torrent client will usually set the max to much more than you'll ever need anyway. I limited mine to 100 and have had good results so far.

    If all else fails, you could try setting NAT in your routing settings to open, though this compromises security somewhat.
     
  11. SirMaster

    SirMaster 2[H]4U

    Messages:
    2,122
    Joined:
    Nov 8, 2010
    Yeah, I set my torrent client (transmission) to use one port.

    Then I set that port to the lowest QoS priority in my router.

    Then I set the ports i use for gaming to the highest QoS priority.

    I also set the upload in my torrent client to 80% of my actual upload speed.

    Doing both of these in the end allowed me to be able to torrent and or seed while gaming with no perceivable affect on measured latency at all.
     
  12. ghost6303

    ghost6303 2[H]4U

    Messages:
    2,291
    Joined:
    Jul 24, 2004
    "somewhat" is a bit of an understatement. you dont want to turn off the NAT functions.


    to give you an example of how much torrenting taxes your connection- there are several heavy internet users in our house. normally in the evenings when everyones home and using the web, there will be 100-300 open connections on the router. if a few people open bittorrent, that number can jump to 1500-2000 connections and CPU usage on the router gets up to 60-70%.
     
  13. MrGuvernment

    MrGuvernment [H]ard as it Gets

    Messages:
    19,169
    Joined:
    Aug 3, 2004
    Bingo, low speeds isnt the problem it is the amount of requests hitting your router, it cant handle it.
     
  14. rive22

    rive22 [H]ardness Supreme

    Messages:
    4,610
    Joined:
    Mar 10, 2004
    Lower the upload, and use DD-WRT or Tomato. It will let you use 4096 connections. That feature alone makes a tremendous difference.
     
    Last edited: Mar 16, 2011
  15. f1y

    f1y [H]ardness Supreme

    Messages:
    8,065
    Joined:
    Dec 30, 2005
    limit the simultaneous connections in utorrent. you may only be downloading/uploading 20-50kb/sec but if you have 50 people connected to you, that's going to hurt.

    *read above, and see it was already mentioned.*
     
  16. MrSneis

    MrSneis 2[H]4U

    Messages:
    2,555
    Joined:
    Apr 5, 2006
    Interesting on tomato or ddwrt; I'm not sure if they are ready yet for the e4200. I haven't used a custom firmware in a while for a router, bad exp. with my old wrt54g :)
     
  17. SirMaster

    SirMaster 2[H]4U

    Messages:
    2,122
    Joined:
    Nov 8, 2010
    This is why you build your own router :)

    You can give it enough CPU power to handle 10,000+ connections if you want without it affecting your ping.

    "Consumer" routers are mostly garbage IMO (well, garbage for [H]ard users :p), but DD-WRT does help a lot.
     
  18. Johnx64

    Johnx64 My poof SuX

    Messages:
    7,171
    Joined:
    Apr 22, 2002
    What if you compress the 10lbs of poop so much that it fits into the 5lb bag? :D