From owner-freebsd-pf@FreeBSD.ORG Tue May 13 03:41:39 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 836A31065677 for ; Tue, 13 May 2008 03:41:39 +0000 (UTC) (envelope-from salvador_d13@yahoo.com.ph) Received: from n8a.bullet.mail.mud.yahoo.com (n8a.bullet.mail.mud.yahoo.com [209.191.87.104]) by mx1.freebsd.org (Postfix) with SMTP id 3CCAD8FC0C for ; Tue, 13 May 2008 03:41:39 +0000 (UTC) (envelope-from salvador_d13@yahoo.com.ph) Received: from [68.142.194.244] by n8.bullet.mail.mud.yahoo.com with NNFMP; 13 May 2008 03:41:38 -0000 Received: from [209.191.119.153] by t2.bullet.mud.yahoo.com with NNFMP; 13 May 2008 03:41:38 -0000 Received: from [127.0.0.1] by omp100.mail.mud.yahoo.com with NNFMP; 13 May 2008 03:41:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 706439.86510.bm@omp100.mail.mud.yahoo.com Received: (qmail 17410 invoked by uid 60001); 13 May 2008 03:41:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.ph; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=WRc929BMvtLa73nXIqQsotR0O4l5qxIACOlKEh2W/q4ysrbVI0J5oPw6N0be3+NxxrwZk1rTuBH8E4CkavHfWu47XB9QkgFkPGwav6rb8Ur1fBVdSNvPwazDSFT6BKKnSOzl9mBwonrshcvp+CvWMk7Xmon3Uc8BXKCegasdSNM=; X-YMail-OSG: 3H.a0oYVM1nNTKKQsh1JRt9Pt_kp8HgqEQZwRASW Received: from [58.71.34.137] by web76101.mail.sg1.yahoo.com via HTTP; Mon, 12 May 2008 20:41:36 PDT Date: Mon, 12 May 2008 20:41:36 -0700 (PDT) From: Diego Salvador To: Max Laier In-Reply-To: <200805121718.29589.max@love2party.net> MIME-Version: 1.0 Message-ID: <732222.17028.qm@web76101.mail.sg1.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-pf@freebsd.org Subject: Re: Using ALTQ without PF in FreeBSD 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: Tue, 13 May 2008 03:41:39 -0000 Max Laier wrote: Diego, please don't top post! On Monday 12 May 2008 16:06:16 Diego Salvador wrote: > Thanks for your reply and explanation! I now understand why ALTQ is in > PF-mode. What are the things needed to be done in order ALTQ to be > SMPng compliant? I haven't looked at the classifier code in a while. But IIRC it is a mess. I don't remember the details, but I'd stay away from it. That aside, what's wrong with the existing solutions? > What is the use of the option ALTQ_NOPCC in the > kernel? This is described to be used for SMP kernels? This is something completely different. It simply tells ALTQ to not use the TSC for timing directly as it might not be in sync on SMP boxes. > Yes, I will look > also on the pfil(9). This is the right solution, though I really think that either PF or IPFW can do what you need. If not, please be more specific about what your goal is. [Diego] Okay, I really have to dig it up. The goal here is to be able to classify traffic with DSCP using ALTQ because as far as I know the ALTQ framework for QoS is originally designed to handle this. Also, from the Internet service provider (ISP) point of view, classifying traffic for services is very important especially when you provide different Internet services like data, voice and video or what we call triple-play services. Another thing, KAME snap releases kit have Weighted-Fair Queueing (WFQ) scheduler available, it might be better also if it can be integrated to FreeBSD ALTQ (PF-Mode) for hierarchical QoS aside from HFSC. Thanks, Diego Salvador -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --------------------------------- Support Victims of the Cyclone in Myanmar (Burma). Donate Now.