From owner-freebsd-ipfw@FreeBSD.ORG Mon Oct 13 22:13:55 2014 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 149B5166 for ; Mon, 13 Oct 2014 22:13:55 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D5B1B8C0 for ; Mon, 13 Oct 2014 22:13:54 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id u20so14451126oif.2 for ; Mon, 13 Oct 2014 15:13:48 -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=g3eJSx9pbVbWK9qRGKZn7FwDQ0Q8nEMAHMlSuPtooIA=; b=LW+a1npOZ8KL3dznkopIogk5CkzwM/fNYXKNKgP2MCgSYq4FD6cOjCJkos0J09Rxvd Me4it2gW5n7WBt6ntasXt0M7mBApQw6Jx9wFfhvm/+06okWamHR8awB+iBfcrYLXppDs jbUmaeJhCLjKLWWYw6eVKq6+H6t1oDJPg2ksV0o9UxtD8hKPHiPQ6kImvIitRtHuYB2g jXBCso3Fuxig64qBxXIuHeFQ3TEebLGu2SRAV0taDSTEyydYp3R0S3p9y2LvdM2lnDTN Bsk3/hhArwhexoru+2/G4yDsjHwkRG7s8kUWMP7lZ6SDzk/GRX4PqfE0PBno3zrzY5ji Igpg== X-Gm-Message-State: ALoCoQnAr/iOFxiBfnaTwmjb6fFSfw7JXMISqlj+h7HKFVBXl5tjZgWzez3L7hvFwijWJeN7WeMF MIME-Version: 1.0 X-Received: by 10.182.245.225 with SMTP id xr1mr1071897obc.13.1413238428481; Mon, 13 Oct 2014 15:13:48 -0700 (PDT) Received: by 10.60.220.134 with HTTP; Mon, 13 Oct 2014 15:13:48 -0700 (PDT) In-Reply-To: <543C4825.6030901@nyi.net> References: <543C4825.6030901@nyi.net> Date: Mon, 13 Oct 2014 15:13:48 -0700 Message-ID: Subject: Re: FreeBSD max pipe size? From: Michael Sierchio To: Jack Barber Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-ipfw@freebsd.org" X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 22:13:55 -0000 On Mon, Oct 13, 2014 at 2:46 PM, Jack Barber wrote: > I am trying to set up dummynet with FreeBSD 9.3 and a 10 GB Fibre over > ethernet NIC (ix drivers). > > Dummynet appears to have a limit of 1.25 gigabits a second, and when I > start setting extremely large pipe values I start running into: > > ipfw: bandwidth too large > > It doesn't like(in /etc/ipfw.rules) > $IPFWcmd pipe 10 config bw 8000Mbits > but for some reason it likes > $IPFWcmd pipe 20 config bw 100000Mbits > and > $IPFWcmd pipe 10 config bw 10000Mbits Show your ruleset. In particular - are you using separate pipes for up and down, and do your rules properly segregate traffic? Do you actually only pass traffic into each pipe exactly once? I.e. do your rules read like ipfw add pipe 10 from any to any in recv $ext_if ipfw add pipe 20 from any to any out xmit $ext_if ? - M