On Wed, Mar 9, 2016 at 10:58 AM, Christopher Sean Hilton
<ch...@vindaloo.com> wrote:
> I'm using queuing to alleviate bufferbloat and make my son's gaming
> performance better. I'm on an asymetric cablemodem connection here in
> the U.S. My download is 100M and my upload is 40M. I use a queue
> definition similar to this:
>
>      queue ext_iface on $ext_if bandwidth 1000M max 1000M qlimit 512

This will mostly be a no op.  Your max MUST be at or below your real
bandwidth (not interface bandwidth) and your child queues will need to
reflect this accordingly.

> I'm trying to limit the bufferbloat so the depth of the queue is very
> important. I chose values for qlimit that keep the amount of time that
> a packet would traverse a queue down at the 0.015ms range:
>
>      40Mbit/s / ( 8 bit/byte * 1500 byte/packet) * 0.015s = 50 packets
>
> I used 48 because I'm keen on multiples of 16.

This will be difficult to get right with pf.  Does the game always use
1500 byte packets?  Ultimately you'll want a small queue limit (expect
to see more dropped packets).

Reply via email to