On Fri, Jun 25, 1999 at 07:22:51AM -0400, jamal wrote:
> 
> > On Wed, Jun 23, 1999 at 08:16:40PM -0400, jamal wrote:
> > > 
> > > Can you post your script, output etc and point out exactly which interface
> > > it happens on?
> > > 
> > 
> > r2d2:~# tc -s -d qdisc ls dev eth0
> > qdisc cbq 10: rate 100Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 
>100Mbit allot 1514b 
> > level 2 ewma 5 avpkt 1000b maxidle 1us 
> 
> Check dmesg output immediately after you set up. As a short term remedy,
> also try to set the weight to 1 (both in the WEIGHT and DEVICE params) and
> repeat.

Ok, I'll try doing that to see if it helps.

> It seems to me the problem could be related to the small rates you set.
> Could you try to increase the rates and the minimal being 1mbit (from
> 128kbit and 2mbit from 256kbit) and see if this problem is still there?

Well, the whole point of my installing this system is to limit traffic
to some colocated servers. The majority of these servers are supposed to
be getting just 128kbit or 256kbit. I could try that as a last resort, but
it sort-of defeats the whole point of my using cbq.

> Also from the quick scan of that script i think the author is still using
> the old u32 syntax. The port number probably never works (since there is
> no specification whether it is TCP or UDP). I could be wrong.

hmm. I need to rewite that script anyway -- it is too hard to read since
it uses a zillion |'s. I'll rewrite it in perl, which will help me
figure out the rest of the tc syntax.


> > r2d2:~# tc -s -d qdisc ls dev eth2
> > qdisc tbf 803e: rate 128Kbit burst 10Kb/8 mpu 0b lat 1.7s 
> >  Sent 92578 bytes 817 pkts (dropped 0, overlimits 0) 
> >  backlog 21041b 294p 
> 
> That is definetly a huge backlog of small packets (looks like mostly 
> SYNs or pings).

Yup. What is very curious is that there are 0 dropped and 0 overlimits,
but there is still a backlog anyways. Seems that things are being put
into the queue, but never are pulled out of the queue and put back on
the wire.  quite strange...

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  [EMAIL PROTECTED]
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to