Update of /cvsroot/routingtools/tools/rc.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30950/rc.d
Modified Files:
shaper
Log Message:
* Tune device queue len for better packet control to about 5 secs length
Index: shaper
===================================================================
RCS file: /cvsroot/routingtools/tools/rc.d/shaper,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** shaper 26 May 2005 20:56:11 -0000 1.28
--- shaper 25 Jun 2005 15:06:54 -0000 1.29
***************
*** 39,42 ****
--- 39,43 ----
IPTABLES=/usr/sbin/iptables
ISDNCTRL=/usr/sbin/isdnctrl
+ IFCONFIG=/sbin/ifconfig
# load configuration
***************
*** 194,197 ****
--- 195,207 ----
echo -e "$rc_done"
+ # device package queue
+
+ echo -n " device package queue "
+
+ QUEUELEN=$[$LINKSPEED_UP*5*1024/8/$MTU]
+ $IFCONFIG $DEVICE txqueuelen $QUEUELEN
+
+ echo -e "$rc_done"
+
# kernel parameters
***************
*** 281,284 ****
--- 291,297 ----
#
# $Log$
+ # Revision 1.29 2005/06/25 15:06:54 hurikhan
+ # * Tune device queue len for better packet control to about 5 secs length
+ #
# Revision 1.28 2005/05/26 20:56:11 hurikhan
# - fixed the packet markers to classify all tcp packets correctly that are
|