From owner-freebsd-pf@FreeBSD.ORG Wed Dec 3 23:19:23 2008 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 26BC9106567D for ; Wed, 3 Dec 2008 23:19:23 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id D1C1A8FC12 for ; Wed, 3 Dec 2008 23:19:22 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so942035qwb.7 for ; Wed, 03 Dec 2008 15:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xYlIGJ5NgxKRa9p2OpBsZ8jH6yhQL3sCzC1VdSbAuF8=; b=vPDiJ1t+gKZ4EAGxD2V9A1ATxoqKlQWRZGXEASBAWy3yzQINFtIzf7/3sc3kPlE2ek loPEsxdPs2LAhe2vaD/obONCxiWezQkPT/UvZ/9208ALQibo2+CmtSXFco2ATJuzEp8j XXVy1pn+27ELgrn7OZOuD6GH70e16YfZaZsxs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fkLpPrHn89XBeJMPYdU8ozPbuaaebsV5kmRh6Ni5tEa6jXA3e1Rx8WorT2LSZHpz2R pbrMUHA3D3iZqV/64dtlDBgk7PYb6lkERe5BtM2TV8LAXNqwtOHdFBBu6HG3OA7r2Cv4 XyVAIuH4pdIq5sl8NTYl/nL/S85HID6Cssm4Q= Received: by 10.214.129.17 with SMTP id b17mr14173226qad.384.1228346361833; Wed, 03 Dec 2008 15:19:21 -0800 (PST) Received: by 10.214.79.17 with HTTP; Wed, 3 Dec 2008 15:19:21 -0800 (PST) Message-ID: <9a542da30812031519x56f690d2vbd0fc16b84db235c@mail.gmail.com> Date: Thu, 4 Dec 2008 00:19:21 +0100 From: "=?ISO-8859-1?Q?Ermal_Lu=E7i?=" To: "Alessandro Silveira" In-Reply-To: <720e1f20812031133g11b1ec2ah2f7b3fdc7245dd54@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <720e1f20812031133g11b1ec2ah2f7b3fdc7245dd54@mail.gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: Optimize HFSC 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: Wed, 03 Dec 2008 23:19:23 -0000 On Wed, Dec 3, 2008 at 8:33 PM, Alessandro Silveira wrote: > Hi, > > I have a Storage with high input traffic in a network, in add > 192.168.16.8, and a playout in add 192.168.16.50. > > I am using Packet Filter for to ensure low delay in streams of video > with samba, using real time, but i get poor results, > someone know a best AltQ/PF configuration for streams. > > My Altq configuration: > > queue root_em0 bandwidth 1Gb priority 1 qlimit 100 {SYSTEM_QUEUE} > queue SYSTEM_QUEUE bandwidth 1Gb qlimit 100 {AVNQOS1, SYSYTEM_DEFAULT} > queue AVNQOS1 bandwidth 100Mb priority 7 qlimit 10000 hfsc( ecn > realtime 100Mb upperlimit 100Mb ) > > But in Realtime m1 is 100Mb, m2 is 50MB and d is 18. > > My Rule configuration: > > pass out on em0 inet proto tcp from 192.168.16.8 to 192.168.16.50 tos > 0x10 queue AVNQOS1 > > Thanks. > I understand it this way http://forum.pfsense.org/index.php/topic,11986.0.html Just consider that that post considers an patched pfctl to allow m1 smaller than m2. Reports say that it actually improves performance and it was the way initial HFSC implementation worked. > P.S. Sorry for my bad english. > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" > -- Ermal