From: Calin Ilis Date: Wed, 01 Feb 2006 10:53:31 +0000 Subject: [LARTC] QOS server droping packets 4% loss Message-Id: <20060201105331.83590.qmail@web50802.mail.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0312127294==" List-Id: To: lartc@vger.kernel.org --===============0312127294== Content-Type: multipart/alternative; boundary="0-400239418-1138791211=:82288" Content-Transfer-Encoding: 8bit --0-400239418-1138791211=:82288 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I have a problem with htb and wonder if anybody has encountered this. On my LAN I have more than 1000 clients, and I am using htb to shape the incoming trafic. The problem is that I am experiencing packet loss (about 4%) in the qos server. The server is droping packets even if my trafic is relatively moderate. I tried everithing estimator, senting the quantum etc etc but it doesn't seem to improve. my script is relatively simple: tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 #root class tc class add dev eth0 parent 1:0 classid 1:1 htb rate 50000kbit ceil 50000kbit #default class tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit ceil 512kbit #and each client IP has a class asocieted tc class add dev eth0 parent 1:1 classid 1:$COUNTER htb rate 5kbit ceil 400kbit tc filter add dev eth0protocol ip parent 1:0 prio 2 u32 match ip dst $IP flowid 1:$COUNTER # and counter increments by 1 for each rule added What could I do ? Are there some kernel parameters that I could modify in order to obtain a better performance ? Thanks --------------------------------- Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. --0-400239418-1138791211=:82288 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all,

I have a problem with htb and wonder if anybody has encountered this.
On my LAN I have more than 1000 clients, and I am using htb to shape the incoming trafic. The problem is that I am experiencing packet loss (about 4%) in the qos server.  The server is droping packets even if my trafic is relatively moderate.

I tried everithing estimator, senting the quantum etc etc but it doesn't seem to improve.

my script is relatively simple:

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 10

#root class
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 50000kbit ceil 50000kbit
#default class
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit ceil 512kbit

#and each client IP has a class asocieted
tc class add dev eth0 parent 1:1 classid 1:$COUNTER htb rate 5kbit ceil 400kbit
tc filter add dev eth0protocol ip parent 1:0 prio 2 u32 match ip dst $IP flowid 1:$COUNTER
# and counter increments by 1 for each rule added

What could I do ? Are there some kernel parameters that I could modify in order to obtain a better performance ?
Thanks


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. --0-400239418-1138791211=:82288-- --===============0312127294== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0312127294==--