Quality of Service

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:45, 11 March 2006 (edit)
Ozyzzc (Talk | contribs)

← Previous diff
Revision as of 07:57, 11 March 2006 (edit) (undo)
WikiSysop (Talk | contribs)
m (Wiederhergestellt zur letzten Änderung von WikiSysop)
Next diff →
Line 28: Line 28:
<blockquote> <blockquote>
-*DirectX 8 and above (Age of Empires I and many others): 6073/tcp&amp;udp, 2302-2400/tcp&amp;udp<br/> +*DirectX 8 and above (Age of Empires I and many others): 6073/tcp&udp, 2302-2400/tcp&udp<br/>
*Counter Strike: 1200/udp, 27000-27015/udp, 27030-27039/tcp<br/> *Counter Strike: 1200/udp, 27000-27015/udp, 27030-27039/tcp<br/>
-*Diablo I &amp; II: 4000/tcp, 6112-6119/tcp&amp;udp<br/>+*Diablo I & II: 4000/tcp, 6112-6119/tcp&udp<br/>
*Everquest: 7000/tcp, 1024-6000/udp<br/> *Everquest: 7000/tcp, 1024-6000/udp<br/>
*Half Life: 6003/tcp, 7002/tcp, 27005/udp, 27010/udp, 27011/udp, 27015/udp<br/> *Half Life: 6003/tcp, 7002/tcp, 27005/udp, 27010/udp, 27011/udp, 27015/udp<br/>
-*Quake2: 27910/tcp&amp;udp<br/>+*Quake2: 27910/tcp&udp<br/>
-*[https://activision.custhelp.com/cgi-bin/activision.cfg/php/enduser/std_adp.php?p_faqid=599&amp;p_created=999639585&amp;p_sid=7ZC6YRZh&amp;p_accessibility=0&amp;p_lva=7799&amp;p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQmcF9ncmlkc29ydD0mcF9yb3dfY250PTIyJnBfcHJvZHM9MCZwX2NhdHM9JnBfcHY9JnBfY3Y9JnBfc2VhcmNoX3R5cGU9YW5zd2Vycy5zZWFyY2hfbmwmcF9wYWdlPTEmcF9zZWFyY2hfdGV4dD0yNzk2MA**&amp;p_li=&amp;p_topview=1 Quake3/RTCW]: 27660/tcp&amp;udp, 27950/udp, 27960/udp, 27965/udp, 27952/udp<br/>+*[https://activision.custhelp.com/cgi-bin/activision.cfg/php/enduser/std_adp.php?p_faqid=599&p_created=999639585&p_sid=7ZC6YRZh&p_accessibility=0&p_lva=7799&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQmcF9ncmlkc29ydD0mcF9yb3dfY250PTIyJnBfcHJvZHM9MCZwX2NhdHM9JnBfcHY9JnBfY3Y9JnBfc2VhcmNoX3R5cGU9YW5zd2Vycy5zZWFyY2hfbmwmcF9wYWdlPTEmcF9zZWFyY2hfdGV4dD0yNzk2MA**&p_li=&p_topview=1 Quake3/RTCW]: 27660/tcp&udp, 27950/udp, 27960/udp, 27965/udp, 27952/udp<br/>
*Return to Castle Wolfenstein: 27950/udp, 27960/udp, 27965/udp, 27952/udp<br/> *Return to Castle Wolfenstein: 27950/udp, 27960/udp, 27965/udp, 27952/udp<br/>
-*Unreal Tournament (NOT 2004): 8080/tcp&amp;udp, 27900/tcp&amp;udp, 7777-7783/tcp&amp;udp<br/>+*Unreal Tournament (NOT 2004): 8080/tcp&udp, 27900/tcp&udp, 7777-7783/tcp&udp<br/>
</blockquote> </blockquote>
If you do not play any of the above game, you should keep this option ''disabled''. If you do not play any of the above game, you should keep this option ''disabled''.
Line 70: Line 70:
'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Quality of Service]]''' '''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Quality of Service]]'''
- <div id="ghsfg5dfhsdfhd" style="overflow:auto;height:5px;">[http://www.zorpia.com/replicawatch2 replica watch] </div> 

Revision as of 07:57, 11 March 2006

You are here: Main Page/DD-WRT Docu (EN)/Quality of Service

Contents

Introduction

Quality of Service (QoS) is a method to guarantee a bandwidth relationship between individual applications or protocols. This is very handy when you max out your connection so that you can allow for each application to have some bandwidth and so that no single application can take down the internet connection. This allows, for example, a full speed download via FTP without causing jittering on a VOIP chat. The FTP will slow down slightly as bandwidth is needed for the VOIP, provided VOIP was given greater priority.

If you would like to set hard coded bandwidth limits (Throttling), this can be done using the tc command


NOTE: Ethernet Port Priority only works on older, ADM based, chipsets. That is, the Linksys WRT54G v1.0, 1.1, 2.0 and the WRT54GS v1.0.

Instructions

Initial Setup

  • Log into the Web Interface
  • Click on the Applications and Gaming Category
  • Click on the QoS sub category
  • Tick "Enabled" and save the settings
  • Set Port to WAN
  • Enter 85% of your Up and Down bandwidth in the boxes (eg: if you have a 1.5Mbit (1536kbps) cable modem with 256kbps upload, enter 218 for uplink and 1306 for downlink)

This will enable Quality of Service and Cap your maximum connection speed to 85% of what your cable/dsl service is capable of providing. This decrease in speed is required to maintain a low latency. ISP tends to use large buffers that add lots of latency if you fill them up.


Optimize for Gaming

The Optimize for Gaming option found under the QoS administration page enables QoS on some tcp/udp ports found in some games.

Here is the complete list from the source code:

  • DirectX 8 and above (Age of Empires I and many others): 6073/tcp&udp, 2302-2400/tcp&udp
  • Counter Strike: 1200/udp, 27000-27015/udp, 27030-27039/tcp
  • Diablo I & II: 4000/tcp, 6112-6119/tcp&udp
  • Everquest: 7000/tcp, 1024-6000/udp
  • Half Life: 6003/tcp, 7002/tcp, 27005/udp, 27010/udp, 27011/udp, 27015/udp
  • Quake2: 27910/tcp&udp
  • Quake3/RTCW: 27660/tcp&udp, 27950/udp, 27960/udp, 27965/udp, 27952/udp
  • Return to Castle Wolfenstein: 27950/udp, 27960/udp, 27965/udp, 27952/udp
  • Unreal Tournament (NOT 2004): 8080/tcp&udp, 27900/tcp&udp, 7777-7783/tcp&udp

If you do not play any of the above game, you should keep this option disabled.


Notes:

  • DirectX 7 and previous are not supported (require 2300-2400).

Enabling Services

  • Choose the service you would like to prioritize or deprioitize and click add
  • Change the priority of the service and click save. Unconfigured services are always standard.


Prioritizing by IP Address

-If there is a specific ip address, enter xxx.xxx.xxx.xxx / 32
-If there is a range, enter it using netmask notation. The Netmask Calculator might be useful



External Links

A more detailed QoS Setup Page http://www.solosoft.org/projects/qos

Netmask Calculator *http://www.csc.fi/english/funet/calc/laskin2.html

L7-Filter http://l7-filter.sourceforge.net/

 * http://frottle.sourceforge.net/
 * http://patraswireless.net/software.html

You are here: Main Page/DD-WRT Docu (EN)/Quality of Service