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

Enabling QoS causes bittorrent slowdown

Discussion in 'Tomato Firmware' started by tiemen3r, Mar 2, 2008.

  1. tiemen3r

    tiemen3r LI Guru Member

    I'm having a problem with my Linksys WRT54GL running Tomato 1.17: When I enable QoS my bittorrent traffic drops to about 10kB up and down. My torrent client is deluge 0.6 (with the new WebUI) on a headless Ubuntu 7.10 server.

    What I've tried:
    - unchecking 'prioritize ACK'
    - setting Default Class to Highest
    - disabling Outbound Rate / Limit by setting all classes to 1-100%
    - setting all Inbound Limit rates to 100%
    - setting up classifications on various levels (Level7, IPP2P, ports) and given those up to highest priority.
    - various combinations of the above
    - removing all classification rules and setting all classes to 1-100%

    btw, I could see in the graphs that the classification rules were actually working, but didn't see any improvement in upload/download speeds.

    Finally, I even cleared the nvram and reflashed the router.

    I'm guessing it might have to do something with ACK packets, because I can see download speeds dropping almost immediately when I enable QoS, with upload speeds following about 10 seconds later. It's an uneducated guess though as I'm new to this subject matter.

    What I'd like to know: Is there anything I'm missing?
    Which service(s) are started/modified when I enable QoS?
    Any help is welcome :D
     
  2. pharma

    pharma Network Guru Member

    The default settings when you first flash the Tomato firmware work quite well. Before changing any QOS settings I suggest you try just the defaults with P2P client. If you forgot the default settings, re-flash or under Admin/config select to erase ALL Nvram data.

    What might also help is a forum search on "bittorrent slowdown", or similar phases.

    Hope this helps.
    Pharma
     
  3. tiemen3r

    tiemen3r LI Guru Member

    The problem is that ALL settings cause my down- and upload speeds to drop. So that includes the default settings. The rates are normal when I uncheck QoS, but the moment I enable it, download speeds drop, with upload following after 10 secs.

    I did quite a bit of googling on the website before posting here, with no useful results.
     
  4. pharma

    pharma Network Guru Member

    Have you tried another torrent client or perhaps another third-party firmware? At this point it's hard to say where your issue is developing; that's why I stated to starting off with the default settings.

    Like most people here, I have no issues downloading torrents (BitSpirit) with Windows XP or Vista and usually get very high speeds. Hopefully someone with an OS similar to your's will pipe-in with more helpful comments.

    Pharma
     
  5. Toxic

    Toxic Administrator Staff Member

    speed will be affected since you are using more CPU power and every packet going through the switch will now be inspected and prioritized. Unless you want to spend tons of cash on a Packeteer, QoS is always a bottleneck. you have just got to find a setting that is acceptable to you.
     
  6. tiemen3r

    tiemen3r LI Guru Member

    thanks for the replies, I will try a different torrent program (transmission probably) and check the load on the router. I'll let you know tonight.
     
  7. houman

    houman LI Guru Member

  8. tiemen3r

    tiemen3r LI Guru Member

    Unfortunately I haven't had time to try out Transmission yet, but the CPU usage on the router can't be the problem (this ofcourse with QoS enabled):

    CPU Load (1 / 5 / 15 mins) 0.04 / 0.01 / 0.00
    Total / Free Memory 14.19 MB / 1,736.00 KB (11.95%)

    I hope I have time to try Transmission tomorrow, I could try Azureus just to see if Deluge is the problem, but I'm not a very big fan.

    --edit: I have tested with Transmission (with the Clutch webUI) tonight, and download speeds are not different with or without QoS, so I think it's safe to say this is an interaction problem with Deluge and Tomato.
    Unfortunately Transmission/Clutch keeps crashing every few minutes, but that's another problem...
    I will notify the Tomato developer of this issue, everyone thanks for their help.
     
  9. Trel

    Trel LI Guru Member

    utorrent works perfectly under wine, so that's an option too.
     
  10. KFACTA

    KFACTA Network Guru Member

    I use Tomato v1.17 and Windows Vista Ultimate with uTorrent, I am on 3/1 connection and I get full speed on torrents up and down. I do although use private trackers but on the odd occasion I have tried others and still got at least 95% download speed.
     
  11. BrotherOfAnotherMother

    BrotherOfAnotherMother LI Guru Member

    Hi, try to change your bittorrent port to something round 16000...in my case this works fine...
     

Share This Page