Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 10:52:12 -0400
From:      Jay Aikat <ja@unc.edu>
To:        Yuriy Grishin <grishin-mailing-lists@minselhoz.samara.ru>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pftop queue stats
Message-ID:  <49CE399C.2080406@unc.edu>
In-Reply-To: <49CE3822.409@minselhoz.samara.ru>
References:  <49CE29DB.7010803@unc.edu> <49CE3822.409@minselhoz.samara.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
The large queue limit is just for testing purposes.  Once I figure out 
this logging of the queue at better granularity, I plan to have more 
realistic queue limits.

These are for experiments I am running in our lab to study network 
traffic characteristics and the effect of that on router queuing - just FYI.

Thanks.

Yuriy Grishin wrote:
> Jay Aikat wrote:
>> Hi,
>>     I am looking for a way to log queue stats at less than 1 second 
>> intervals.
>>
>> On my FreeBSD router, the pf.conf file is configured as follows:
>> > altq on $ext_if1 priq bandwidth 622Mb qlimit 65535 queue { tcp_q1 }
>> > queue tcp_q1 on $ext_if1 qlimit 65535 priq (default)
>>
>> Using pftop, I can get queue lengths per second at best.
>> $ pftop -s 1 -v queue -d 1000 > pftop.out
>>
>> Is there an option in pftop to log stats per millisecond, or even 
>> 100ms?  The -s option above seems to default to 1 second at best.
>>
>> Thanks for any pointers you can give me.
> 
> I suppose that there should be some pre-defined variables in the source 
> code.
> BTW Why do you use an extremely large qlimit?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CE399C.2080406>