Re: Bufferbloat, FQ-CoDel, and performance

2021-02-26 Thread David Higgs
On Fri, Feb 26, 2021 at 3:58 AM Stuart Henderson wrote: > On 2021-02-26, Sven F. wrote: > > On Thu, Feb 25, 2021 at 8:38 PM Steven Shockley > > wrote: > >> > >> I can try it, but I don't think it'll help in my case: > > It's worth trying anyway I think. > > > Can the patch sys/net/pf.c r1.1096

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-26 Thread Stuart Henderson
On 2021-02-26, Sven F. wrote: > On Thu, Feb 25, 2021 at 8:38 PM Steven Shockley > wrote: >> >> I can try it, but I don't think it'll help in my case: It's worth trying anyway I think. > Can the patch sys/net/pf.c r1.1096 be applied on 6.8 ? > or does it need some others files to be changed as

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-25 Thread Sven F.
On Thu, Feb 25, 2021 at 8:38 PM Steven Shockley wrote: > > On 2/23/2021 4:04 PM, Stuart Henderson wrote: > > Oops, on interfaces *without* hw checksum offloading, like this: > > > > $ ifconfig em0 hwfeatures > > em0: flags=8843 mtu 1500 > > hwfeatures=10 hardmtu 9216 > > .. > > I can try

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-25 Thread Steven Shockley
On 2/23/2021 4:04 PM, Stuart Henderson wrote: Oops, on interfaces *without* hw checksum offloading, like this: $ ifconfig em0 hwfeatures em0: flags=8843 mtu 1500 hwfeatures=10 hardmtu 9216 .. I can try it, but I don't think it'll help in my case: bnx0: flags=808843 mtu 1500

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-24 Thread Stefan Sperling
On Tue, Feb 23, 2021 at 09:04:13PM -, Stuart Henderson wrote: > On 2021-02-23, Stuart Henderson wrote: > > On 2021-02-23, Steven Shockley wrote: > >> I have OpenBSD 6.8 running on a Dell R210-II acting as a > >> firewall/router. To combat bufferbloat I tried implementing FQ-CoDel > >>

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Holger Glaess
hi i have the same issue , but only in the kernel pppoe interface. interface re3  -> vlan 7 -> pppoe0 ~ 4>ifconfig re3 hwfeatures re3: flags=8843 rdomain 40 mtu 1518 hwfeatures=8037 hardmtu 9194     lladdr 4c:02:89:0d:cb:78     index 4 priority 0 llprio 3     media: Ethernet autoselect

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Horia Racoviceanu
I just tried tcpbench and UDP is OK, only TCP is slow unless I add a "min" value to the queue On 2/23/21, Jean-Pierre de Villiers wrote: > Have you tried running the same test over UDP? This is done via the > tcpbench's > "-u" option. > > Regards, > Jean-Pierre > > On 21/02/23 11:10am, Horia

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Stuart Henderson
On 2021-02-23, Stuart Henderson wrote: > On 2021-02-23, Steven Shockley wrote: >> I have OpenBSD 6.8 running on a Dell R210-II acting as a >> firewall/router. To combat bufferbloat I tried implementing FQ-CoDel >> queueing. The WAN bandwidth is advertised as 940 Mbit/sec down and 840 >>

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Stuart Henderson
On 2021-02-23, Steven Shockley wrote: > I have OpenBSD 6.8 running on a Dell R210-II acting as a > firewall/router. To combat bufferbloat I tried implementing FQ-CoDel > queueing. The WAN bandwidth is advertised as 940 Mbit/sec down and 840 > Mbit/sec up. Flow queues are broken in 6.8 on

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Horia Racoviceanu
I noticed this effect as well. I'm not sure if it's the right thing to do, but if a "min" value is added to the hfsc queue, fq_codel will use the full link bandwith e.g. queue outq on em0 bandwidth 9M min 1M max 9M flows 1024 qlimit 1024 \ default On 2/23/21, Todd C. Miller wrote: > On

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Jean-Pierre de Villiers
Have you tried running the same test over UDP? This is done via the tcpbench's "-u" option. Regards, Jean-Pierre On 21/02/23 11:10am, Horia Racoviceanu wrote: > I noticed this effect as well. I'm not sure if it's the right thing to > do, but if a "min" value is added to the hfsc queue, fq_codel

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Todd C . Miller
On Tue, 23 Feb 2021 11:29:00 +0100, Stefan Sperling wrote: > I've noticed a similar effect on a slower link (VDSL with 50 down/ 10 up). > In this case the VDSL modem presents an Ethernet switch, so there is no > pppoe or vlan involved in the box that runs pf. > > As soon as I enable this example

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-23 Thread Stefan Sperling
On Mon, Feb 22, 2021 at 08:51:32PM -0500, Steven Shockley wrote: > I have OpenBSD 6.8 running on a Dell R210-II acting as a firewall/router. > To combat bufferbloat I tried implementing FQ-CoDel queueing. The WAN > bandwidth is advertised as 940 Mbit/sec down and 840 Mbit/sec up. > > I've tried

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-22 Thread Brian R. Landy
> On Feb 22, 2021, at 8:51 PM, Steven Shockley > wrote: > > I have OpenBSD 6.8 running on a Dell R210-II acting as a firewall/router. To > combat bufferbloat I tried implementing FQ-CoDel queueing. The WAN bandwidth > is advertised as 940 Mbit/sec down and 840 Mbit/sec up. > > I've

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-22 Thread Sebastien Marie
On Mon, Feb 22, 2021 at 08:51:32PM -0500, Steven Shockley wrote: > I have OpenBSD 6.8 running on a Dell R210-II acting as a firewall/router. > To combat bufferbloat I tried implementing FQ-CoDel queueing. The WAN > bandwidth is advertised as 940 Mbit/sec down and 840 Mbit/sec up. > > I've tried

Bufferbloat, FQ-CoDel, and performance

2021-02-22 Thread Steven Shockley
I have OpenBSD 6.8 running on a Dell R210-II acting as a firewall/router. To combat bufferbloat I tried implementing FQ-CoDel queueing. The WAN bandwidth is advertised as 940 Mbit/sec down and 840 Mbit/sec up. I've tried adding one or the other of these lines to my pf.conf: queue outq on