From: Kai K. <hur...@us...> - 2005-05-26 20:56:23
|
Update of /cvsroot/routingtools/tools/sysconfig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24419/sysconfig Modified Files: shaper Log Message: - fixed the packet markers to classify all tcp packets correctly that are needed for the 3-way tcp connection handshake - this leads to highly improved p2p filesharing performance - tuned the default bandwidth settings a little bit Index: shaper =================================================================== RCS file: /cvsroot/routingtools/tools/sysconfig/shaper,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** shaper 19 Jan 2004 18:25:13 -0000 1.6 --- shaper 26 May 2005 20:56:11 -0000 1.7 *************** *** 15,19 **** # effective. This may not be true for slow links. # unit is kbit/s ! LINKSPEED_UP="64" # measured downlink speed without traffic shaper (do not use values from provider' papers!) --- 15,19 ---- # effective. This may not be true for slow links. # unit is kbit/s ! LINKSPEED_UP="125" # measured downlink speed without traffic shaper (do not use values from provider' papers!) *************** *** 22,34 **** # channelbundling all the time # unit is kbit/s ! LINKSPEED_DOWN="64" # device to configure ! DEVICE="ippp0" # if device is an ISDN device (ipppX) you may enter the slave device here, to # enable the shaper to adapt to channel-bundling # leave empty if unsire or if you don't use channelbundling or even ISDN ! ISDN_SLAVE="ippp1" # classes on bandwidth tree, class _0 is predefined and shouldn't be changed (protocol traffic) --- 22,34 ---- # channelbundling all the time # unit is kbit/s ! LINKSPEED_DOWN="2000" # device to configure ! DEVICE="dsl0" # if device is an ISDN device (ipppX) you may enter the slave device here, to # enable the shaper to adapt to channel-bundling # leave empty if unsire or if you don't use channelbundling or even ISDN ! ISDN_SLAVE="" # classes on bandwidth tree, class _0 is predefined and shouldn't be changed (protocol traffic) *************** *** 41,45 **** CLASS_ID_0="10" # id used to mark the packet CLASS_PRIO_0="0" # priority of class (order of assigning unused bandwidth) ! CLASS_BANDWIDTH_0="50:100" # percent of bandwidth to allocate (be careful this sums to 100 or less!) CLASS_TOS_0="" CLASS_DSTHOSTS_0="" --- 41,45 ---- CLASS_ID_0="10" # id used to mark the packet CLASS_PRIO_0="0" # priority of class (order of assigning unused bandwidth) ! CLASS_BANDWIDTH_0="30:80" # percent of bandwidth to allocate (be careful this sums to 100 or less!) CLASS_TOS_0="" CLASS_DSTHOSTS_0="" *************** *** 51,76 **** CLASS_ID_1="11" CLASS_PRIO_1="1" ! CLASS_BANDWIDTH_1="10:100" CLASS_TOS_1="Minimize-Delay" CLASS_DSTHOSTS_1="" ! CLASS_DSTPORTS_1="ssh telnet nntp" CLASS_SRCHOSTS_1="" ! CLASS_SRCPORTS_1="ssh telnet nntp" # predefined class for bulk traffic (www, ftp...) CLASS_ID_2="12" CLASS_PRIO_2="3" ! CLASS_BANDWIDTH_2="5:80" # limit bulk traffic to 80 percent maximum so it doesn't eat interactivity CLASS_TOS_2="Maximize-Throughput" CLASS_DSTHOSTS_2="" ! CLASS_DSTPORTS_2="http https ftp ftp-data smtp" CLASS_SRCHOSTS_2="" ! CLASS_SRCPORTS_2="http https ftp ftp-data smtp" # predefined class for low priority traffic (file sharing...) CLASS_ID_3="13" CLASS_PRIO_3="4" ! CLASS_BANDWIDTH_3="5:90" # same here as for class _2 ! CLASS_TOS_3="" CLASS_DSTHOSTS_3="" CLASS_DSTPORTS_3="kazaa/tcp 4661/tcp 4662/tcp 4665/tcp 4669/tcp kazaa/udp 4661/udp 4662/udp 4665/udp 4669/udp" --- 51,76 ---- CLASS_ID_1="11" CLASS_PRIO_1="1" ! CLASS_BANDWIDTH_1="25:95" CLASS_TOS_1="Minimize-Delay" CLASS_DSTHOSTS_1="" ! CLASS_DSTPORTS_1="ssh/tcp telnet/tcp nntp/tcp 5900/tcp 5901/tcp domain/udp" CLASS_SRCHOSTS_1="" ! CLASS_SRCPORTS_1="ssh/tcp telnet/tcp nntp/tcp 5900/tcp 5901/tcp domain/udp" # predefined class for bulk traffic (www, ftp...) CLASS_ID_2="12" CLASS_PRIO_2="3" ! CLASS_BANDWIDTH_2="20:70" # limit bulk traffic to 80 percent maximum so it doesn't eat interactivity CLASS_TOS_2="Maximize-Throughput" CLASS_DSTHOSTS_2="" ! CLASS_DSTPORTS_2="http/tcp https/tcp ftp/tcp ftp-data/tcp smtp/tcp" CLASS_SRCHOSTS_2="" ! CLASS_SRCPORTS_2="http/tcp https/tcp ftp/tcp ftp-data/tcp smtp/tcp" # predefined class for low priority traffic (file sharing...) CLASS_ID_3="13" CLASS_PRIO_3="4" ! CLASS_BANDWIDTH_3="10:50" # same here as for class _2 ! CLASS_TOS_3="Minimize-Cost" CLASS_DSTHOSTS_3="" CLASS_DSTPORTS_3="kazaa/tcp 4661/tcp 4662/tcp 4665/tcp 4669/tcp kazaa/udp 4661/udp 4662/udp 4665/udp 4669/udp" *************** *** 81,85 **** CLASS_ID_4="14" CLASS_PRIO_4="2" ! CLASS_BANDWIDTH_4="30:95" # sum of the above (70) leaves 30 percent here CLASS_TOS_4="" CLASS_DSTHOSTS_4="" --- 81,85 ---- CLASS_ID_4="14" CLASS_PRIO_4="2" ! CLASS_BANDWIDTH_4="15:70" # sum of the above (85) leaves 15 percent here CLASS_TOS_4="" CLASS_DSTHOSTS_4="" *************** *** 91,95 **** # this sets the percentage of incoming bandwidth to be used # do not set this to high if you need responsive interactive session (ssh, telnet etc) ! INGRESS_BANDWIDTH="90" #----------------------------------------------------------------------------- --- 91,95 ---- # this sets the percentage of incoming bandwidth to be used # do not set this to high if you need responsive interactive session (ssh, telnet etc) ! INGRESS_BANDWIDTH="98" #----------------------------------------------------------------------------- *************** *** 98,101 **** --- 98,107 ---- # # $Log$ + # Revision 1.7 2005/05/26 20:56:11 hurikhan + # - fixed the packet markers to classify all tcp packets correctly that are + # needed for the 3-way tcp connection handshake + # - this leads to highly improved p2p filesharing performance + # - tuned the default bandwidth settings a little bit + # # Revision 1.6 2004/01/19 18:25:13 hurikhan # - reworked packet marking filter (thus reducing DSL modem lockups I had) |