From owner-freebsd-net@FreeBSD.ORG Fri Apr 17 18:51:50 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F50548C for ; Fri, 17 Apr 2015 18:51:50 +0000 (UTC) Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 126DECC9 for ; Fri, 17 Apr 2015 18:51:49 +0000 (UTC) Received: by qkx62 with SMTP id 62so155439726qkx.0 for ; Fri, 17 Apr 2015 11:51:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=wnTIxkV3fPfXgYiWCmrOqJ6ip5P/fp4yrA4Kx9RWnAQ=; b=Dqm+xaAsIoxGmFkGJ9Y37c092RPObQ10Ks1SaN7m0sT7/Q4e7RFMXMcoQvvafGTIsd DUce/8TwDe6/aijq7uK2X6TRowY8BolSWmLd6pnL9oNZCBOcYMdEq4B0bhROPXfHUR9t HF0AOxpa4o6bw5Om5/GV3oUnuLj+hnpUH0bnI6+ipbvAZ3mv7UI6ilTe39UK8boibP+J H3viHWFIe1tRn+TVwr6EXpy9LnILe6wS2u+pz1mNWDdc5E1SOBtFWLDewpNdWZ+dR9Yx 7aFGuR1dfB4nzcOMY4kFXtZMt+ZEzbZXUghmqo0LEdGchRMU2NbkUOYjmvf/6r6wQkgA 8qig== X-Gm-Message-State: ALoCoQn5NDSCU/gRWHXsLFkEoy9FCRgVjS5DFoIXWXBadP2VsGti77KJVK9pBqt4G/KFSHzAkENx MIME-Version: 1.0 X-Received: by 10.140.44.134 with SMTP id g6mr5001364qga.85.1429296390322; Fri, 17 Apr 2015 11:46:30 -0700 (PDT) Received: by 10.140.104.162 with HTTP; Fri, 17 Apr 2015 11:46:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Apr 2015 11:46:30 -0700 Message-ID: Subject: Re: traffic prioritize From: Michael Sierchio To: Sami Halabi Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 18:51:50 -0000 On Fri, Apr 17, 2015 at 7:38 AM, Sami Halabi wrote: > hi, > I need to set some QoS on traffic. > I use ipfw & dummynet, all my search to cane to use queue with weight, > however its said that this method not prioritize traffic rather that > splitting the pipe according to the weights (if i read correctly should sum > to 100). > > dummynet does not implement priority queues, but uses a variant of weighted fair queueing - WFQ2+ - "fair" because queues with lower weights are guaranteed to have their traffic move. You misread the docs on the weight - each queue may have a weight from 1-100. One sublety is that your pipe capacity must be slightly less than the available bandwidth, since queue weights only take effect when there is contention. - M