Re: Performance impact of PF on APU2

2018-10-05 Thread Benjamin Petit
connection (without pf involved). I get that performance is not the main focus on OpenBSD, but this regression is kind of scary to me. Thanks, On Thu, 04 Oct 2018 17:33:37 -0700 Benjamin Petit wrote: > I am very brave ind

Re: Performance impact of PF on APU2

2018-10-03 Thread Benjamin Petit
Thanks, I just saw the previous discussion, from late 2017. Do you know where we can follow the work that is being done? I would be more than happy to test early version.

Re: Performance impact of PF on APU2

2018-10-04 Thread Benjamin Petit
e Popovski wrote: > On 4.10.2018. 5:58, Benjamin Petit wrote: > > Ok so I compared 6.3-release, 6.3-release+syspatches(=stable?) and > > the latest snapshot from October 2. > > > > I measured iperf3 throughput between A and B, like this: > > PC A <---> APU2

Performance impact of PF on APU2

2018-10-02 Thread Benjamin Petit
I am trying to setup a PC Engines APU2C2 as a router using OpenBSD. Using the latest snapshots of CURRENT, with pf disabled, it seems capable to route at near gigabit speeds, but when enabling pf (with the default config file), I cannot get a bandwidth of more than 450/440Mbits/s between the

Re: Performance impact of PF on APU2

2018-10-03 Thread Benjamin Petit
Hello, and thanks for your responses! > My testing on OpenBSD 6.3  showed speeds of 750/s - 800Mb/s > with default rules using    x86-64 GENERIC (not i386) Same setup as yours, and I definitely don't reach 750-800Mbits/s (550 at best) When I transfer a big file from one network to another, I

Re: Performance impact of PF on APU2

2018-10-03 Thread Benjamin Petit
> > Thanks > > Tom Smyth > On Thu, 4 Oct 2018 at 04:58, Benjamin Petit wrote: > > Ok so I compared 6.3-release, 6.3-release+syspatches(=stable?) and > > the latest snapshot from October 2. > > > > I measured iperf3 throughput between A and B, like this:

Re: Performance impact of PF on APU2

2018-10-03 Thread Benjamin Petit
Ok so I compared 6.3-release, 6.3-release+syspatches(=stable?) and the latest snapshot from October 2. I measured iperf3 throughput between A and B, like this: PC A <---> APU2 <---> PC B pf rules are the one shipped by default in 6.3:   gw# pfctl -sr 

Re: Performance impact of PF on APU2

2018-10-03 Thread Benjamin Petit
put? > > check if smt is disabled ... (Hyper Threading ) > > Im not sure if this would have an effect on the > APU2C2 ... but worth checking as it is a change > in behaviour between 6.3 and current AFIK > > Thanks > > Tom Smyth > On Thu, 4 Oct 2018 at 04:58, Benjami