Subject: Re: altqstat output
To: None <tech-net@netbsd.org>
From: Mike M. Volokhov <mishka@terabyte.com.ua>
List: tech-net
Date: 12/01/2003 11:16:46
On Mon, 01 Dec 2003 17:15:55 +0900 (JST)
Kenjiro Cho <kjc@csl.sony.co.jp> wrote:

> 
> Mike M. Volokhov wrote:
> > I've tried to use ALTQ and start as described on "ALTQ Tips" document by
> > Kenjiro Cho. Unfortunately, the altqstat shows me the floolowing out:
> 
> [snip]
> 
> > Is this a real problem? Note, the throughput was really decreased to
> > 30Mb/sec (about 93Mbit/sec without ALTQ), but altqstat still show me
> > just nothing, but qlen only. System - NetBSD 1.6ZF.
> 
> I've noticed that christos moved all the defines in the altq files
> into kernel options (sys/altq/files.altq) 3 weeks ago.
> as a result, you need to add FIFOQ_STATS to the kernel options to get
> statistics...

Works perfectly:

altqstat: fifoq on interface tlp0
 q_len:0 q_limit:50 period:111599
 xmit:111599 pkts (168951278 bytes) drop:0 pkts (0 bytes)
 throughput: 97.73Mbps

Many thanks :)

I think someone should document this fact.

--
Best wishes,
Mishka.