From owner-freebsd-pf@freebsd.org Tue Mar 28 09:38:59 2017 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A83BD1D6B0 for ; Tue, 28 Mar 2017 09:38:59 +0000 (UTC) (envelope-from srs0=cvzz=3f=sigsegv.be=kristof@venus.codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55920E1B for ; Tue, 28 Mar 2017 09:38:59 +0000 (UTC) (envelope-from srs0=cvzz=3f=sigsegv.be=kristof@venus.codepro.be) Received: from [172.16.5.2] (vega.codepro.be [IPv6:2a01:4f8:162:1127::3]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 5A66D2A170; Tue, 28 Mar 2017 11:38:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1490693936; bh=ZvbTfGPY6VpTlDRi+4joY2ryFY18tI/BDFGSNPrc+bk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=uBxehug73s31p9GDRKDg3FYM+HNFjWxttYRhgUP8APH8pLuBPaTkUZ41ESGRiwTS+ rUmxILkGztk+iC54Tl0E06yTjbjs41NSd3FUgs9IRAyONINsV/o2PES7NABdb0NAE3 /3VFjMtcPXbaskB7PlOuza6Yb00IEqnwcaQGaJ0M= From: "Kristof Provost" To: "Eugene M. Zheganin" Cc: freebsd-pf@freebsd.org Subject: Re: pf, ALTQ and 10G Date: Tue, 28 Mar 2017 11:38:49 +0200 Message-ID: <99C93F4E-865B-492D-9B03-256D9D5E811A@sigsegv.be> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate (2.0BETAr6080) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 28 Mar 2017 09:38:59 -0000 On 28 Mar 2017, at 9:33, Eugene M. Zheganin wrote: > I need to implement QoS on a 10G interface (ix(4)) with bandwidth of > 4-5 Gbit/sec. In general I'm using pf on FreeBSD, since I like it more > than ipfw. But I'm aware that it's kind of ancient and wasn't updated > for a long time from the upstream (and the upstream still doesn't > support SMP). So, my question is - is it worth to stick to pf/ALTQ on > 10G interfaces ? Will pf carry such traffic ? > Be aware that ALTQ will not let you configure queues with that sort of bandwidth. All of the datatypes used are 32-bit integers and top out at 2 or 4 Gbps. Unfortunately dummynet has exactly the same problem, so switching to ipfw won’t help. Regards, Kristof