Re: PC Engines APU NIC (RTL8111E) performance

2016-08-09 Thread Momtchil Momtchev
On 09/08/16 12:26, Momtchil Momtchev wrote: On 09/08/16 03:03, Darren Tucker wrote: On Fri, Aug 05, 2016 at 11:56:15AM +1000, Darren Tucker wrote: On Thu, Aug 04, 2016 at 02:46:44PM +0200, Momtchil Momtchev wrote: [...] . Also what I find very puzzling is that lower IRQ rates lead

Re: PC Engines APU NIC (RTL8111E) performance

2016-08-09 Thread Momtchil Momtchev
On 09/08/16 03:03, Darren Tucker wrote: On Fri, Aug 05, 2016 at 11:56:15AM +1000, Darren Tucker wrote: On Thu, Aug 04, 2016 at 02:46:44PM +0200, Momtchil Momtchev wrote: [...] What is the problem with software interrupt moderation? That it has a fixed timer while the hardware one scales

Re: PC Engines APU NIC (RTL8111E) performance

2016-08-09 Thread Momtchil Momtchev
On 09/08/16 03:03, Darren Tucker wrote: On Fri, Aug 05, 2016 at 11:56:15AM +1000, Darren Tucker wrote: On Thu, Aug 04, 2016 at 02:46:44PM +0200, Momtchil Momtchev wrote: [...] A quick test with this diff (just routing through it, no PF, no pool debug) gives me: $ iperf -c host -i 10 -t 60

Re: PC Engines APU NIC (RTL8111E) performance

2016-08-04 Thread Momtchil Momtchev
On 04/08/16 09:13, Darren Tucker wrote: On Wed, Aug 3, 2016 at 8:07 PM, Momtchil Momtchev <momtc...@momtchev.com> wrote: Does anyone with a working knowledge of re(4) have any idea why the PC Engines APU NICs perform so poorly in OpenBSD? Most likely lack of hardware interrupt mode

PC Engines APU NIC (RTL8111E) performance

2016-08-03 Thread Momtchil Momtchev
Hello, Does anyone with a working knowledge of re(4) have any idea why the PC Engines APU NICs perform so poorly in OpenBSD? Throughput is 300 to 320 MBit/s with about 30 pf rules, NAT and 1 states when running 5.9. This is much less than an APU running Linux or FreeBSD or an

Re: Bridge and blocknonip

2015-11-23 Thread Momtchil Momtchev
erface? This is why I have a hard time finding the origin of those ARP requests. So this is my real question, who sends ARP requests directly on the bridge via bridge_output()? Thank you and I hope that I was clear enough. On 22/11/15 20:37, Martin Pieuchot wrote: On 22/11/15(Sun) 18:30, Momt

Re: Bridge and blocknonip

2015-11-23 Thread Momtchil Momtchev
On 23/11/15 16:01, Martin Pieuchot wrote: On 23/11/15(Mon) 12:57, Momtchil Momtchev wrote: [...] That seems to be a known regression on 5.8 because re(4) supports hardware VLAN. The problem is that bridge_input() is called before vlan_input() for every packet received on a physical interface

Re: Bridge and blocknonip

2015-11-22 Thread Momtchil Momtchev
On 22/11/2015 15:52, Martin Pieuchot wrote: btw., what OpenBSD version is this diff for? This is not -current. Thanks for the quick reply. That was my impression too, but it seems that bridge_output is also used sometimes for forwarding ARP requests by a code path that I haven't found

Re: Bridge and blocknonip

2015-11-22 Thread Momtchil Momtchev
On 22/11/2015 17:48, Martin Pieuchot wrote: On 22/11/15(Sun) 16:56, Momtchil Momtchev wrote: On 22/11/2015 15:52, Martin Pieuchot wrote: When you say "the bridge changed somewhat" are you saying that you see a regression? Could you share your setup that, I guess work with 4.9, and

Bridge and blocknonip

2015-11-21 Thread Momtchil Momtchev
Hello, Sorry for what may appear to be a strange question, but shouldn't there be a check against IFBIF_BLOCKNONIP in bridge_output() in sys/net/if_bridge.c? Something like this : --- if_bridge.c.origTue Jul 21 00:54:29 2015 +++ if_bridge.c Sat Nov 21 16:05:12 2015 @@

Re: Bridge and blocknonip

2015-11-21 Thread Momtchil Momtchev
On 22/11/2015 00:34, Reyk Floeter wrote: On Sat, Nov 21, 2015 at 04:22:51PM +0100, Momtchil Momtchev wrote: Hello, Sorry for what may appear to be a strange question, but shouldn't there be a check against IFBIF_BLOCKNONIP in bridge_output() in sys/net/if_bridge.c? Why