Date: Sun, 11 Sep 2011 16:06:21 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: alexus <alexus@gmail.com> Cc: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= <kes-kes@yandex.ru>, freebsd-questions@freebsd.org Subject: Re: traffic shaping freebsd Message-ID: <CAHu1Y70uCvtjEr=h%2BUEPRfQSOh-3r0VAi6L7rrY92HzUisFTUw@mail.gmail.com> In-Reply-To: <CAJxePNLSJj-6LcfA1ff6fZ2c1B=QjL-CBr1RSzi=j2w275T3kQ@mail.gmail.com> References: <CAJxePN%2BXUGCL0GPGEboFoEhONb9YXHFjxamVucf7=rm8YwAJCA@mail.gmail.com> <108373957.20110912012809@yandex.ru> <CAJxePNLSJj-6LcfA1ff6fZ2c1B=QjL-CBr1RSzi=j2w275T3kQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 11, 2011 at 3:38 PM, alexus <alexus@gmail.com> wrote: > thanks, but did u actually tried it? If what you're asking is, "does traffic shaping work?" the answer is yes. There are some provisos - you must create an outbound pipe and an inbound pipe that accurately reflect the observed network performance (not what your ISP told you). This is because when you create queues of different weights, the weights are only imposed when one or more queues are full. See http://info.iet.unipi.it/~luigi/dummynet/ The place to start is to find out what kind of upload and download throughput you get, then create pipes that are 95% of those observed values (one up, one down), then instantiate queues with different weights on each pipe, then create rules that match packets according to which pipe they should go in. Also consider that the sysctl variable, net.inet.ip.fw.one_pass, might need to be 0 and not 1, depending on whether queued packets need further processing.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y70uCvtjEr=h%2BUEPRfQSOh-3r0VAi6L7rrY92HzUisFTUw>