From owner-freebsd-pf@FreeBSD.ORG Sat Mar 28 15:13:31 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B431F1065670 for ; Sat, 28 Mar 2009 15:13:31 +0000 (UTC) (envelope-from ja@unc.edu) Received: from mxpm.isis.unc.edu (mxp2.isis.unc.edu [152.2.2.160]) by mx1.freebsd.org (Postfix) with ESMTP id 569C68FC12 for ; Sat, 28 Mar 2009 15:13:30 +0000 (UTC) (envelope-from ja@unc.edu) Received: from smtp.unc.edu (smtpsrv2.isis.unc.edu [152.2.2.250]) by mxp2.isis.unc.edu (8.14.1/8.14.1) with ESMTP id n2SFDUVM021771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 28 Mar 2009 11:13:30 -0400 Received: from [152.2.131.30] (aikat-pc.cs.unc.edu [152.2.131.30]) (authenticated bits=0) by smtp.unc.edu (8.14.3/8.14.3) with ESMTP id n2SFDT1T001322; Sat, 28 Mar 2009 11:13:29 -0400 (EDT) Message-ID: <49CE3E97.3020509@unc.edu> Date: Sat, 28 Mar 2009 11:13:27 -0400 From: Jay Aikat Organization: University of North Carolina at Chapel Hill User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Yuriy Grishin References: <49CE29DB.7010803@unc.edu> <49CE3822.409@minselhoz.samara.ru> <49CE399C.2080406@unc.edu> <49CE3D6B.90503@minselhoz.samara.ru> In-Reply-To: <49CE3D6B.90503@minselhoz.samara.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4, 1.2.40, 4.0.166 definitions=2009-03-28_05:2009-03-27, 2009-03-28, 2009-03-27 signatures=0 X-Proofpoint-Spam-Details: rule=uncdefault_notspam policy=uncdefault score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0811170000 definitions=main-0903280068 Cc: freebsd-pf@freebsd.org Subject: Re: pftop queue stats X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 15:13:32 -0000 Thank you. This is very helpful to know. I guess I'll just have to rewrite it then. Appreciate your help with this. Yuriy Grishin wrote: > Jay Aikat wrote: >> 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. > > I see.... > > There is no simple way to use a value less than 1 with "-s" parameter > because : > > **********pftop.c*********** > case 's': > delay = atoi(optarg); > if (delay < 1) > delay = 1; > break; > **********pftop.c*********** > and : > **********engine.c********** > int delay = 5; > **********engine.c********** > > Although, you can rewrite the program.