[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-10-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 Vincenzo Maffione changed: What|Removed |Added Assignee|n...@freebsd.org |vmaffi...@freebsd.org ---

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #13 from Vincenzo Maffione --- (In reply to vistalba from comment #12) I started to work on it, however I've no suitable hardware to test. This means that I will need to patch qemu to modify the emulation of an iflib-backed

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 vistalba changed: What|Removed |Added CC||regis...@kad-it.ch --- Comment #12

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-09-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #11 from Vincenzo Maffione --- (In reply to Eric Joyner from comment #10) Not yet. I've been AFK for a couple of weeks. I should be able to work on it this week. -- You are receiving this mail because: You are the assignee

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-09-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 Eric Joyner changed: What|Removed |Added CC||e...@freebsd.org --- Comment #10

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-31 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #9 from Vincenzo Maffione --- Thanks a lot for the tests. I think the way netmap tx is handled right now needs improvement. As far as I can tell, in your setup TX interrupts are simply not used (ix and ixl seem to use softirq

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #8 from Sylvain Galliano --- After looking at iflib_netmap_timer_adjust() & iflib_netmap_txsync() in sys/net/iflib.c, I made some tuning on kern.hz: Still using X520 with 1 queue ix0: PCI Express Bus: Speed 5.0GT/s Width x8

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #7 from Vincenzo Maffione --- (In reply to Kubilay Kocak from comment #6) I would say ix/ixl and/or NIC driver & iflib because it's not something related to the netmap module itself, and it is an optimization which derives

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #6 from Kubilay Kocak --- (In reply to Vincenzo Maffione from comment #5) Is this more specific/scoped to: - netmap & iflib, or - ix/ixl and/or NIC driver & iflib, or - iflib framework (generally) -- You are receiving

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #5 from Vincenzo Maffione --- Ok, thanks for the feedback. That means that the issue is that iflib is not asking enough TX descriptor writebacks. Need for some investigation in the iflib txsync routine. -- You are receiving

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #4 from Sylvain Galliano --- You're right, interrupt rate limit pps on CURRENT + X520 NIC: pkt-gen, no busy wait 11-stable: 27500 irq/s CURRENT:5500 irq/s pkt-gen, with busy wait on CURRENT: +3 irq/s Regarding NIC

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #3 from Vincenzo Maffione --- It looks like you get 2.6 Mpps because you are not getting enough interrupts... have you tried to measure the interrupt rate in the two cases (current vs 11, no busy wait)? Intel NICs have tunables

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 Kubilay Kocak changed: What|Removed |Added Keywords||iflib Flags|

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #2 from Sylvain Galliano --- Hi Vincenzo, thanks for your quick reply. I've disabled all offloads in both 11-STABLE and CURRENT and I got the same results. I did another test that may help you: I've recompiled pkt-gen on

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 --- Comment #1 from Vincenzo Maffione --- Thanks for reporting. What I can tell you for sure is that the difference is to be attributed to the conversion of Intel drivers (em, ix, ixl) to iflib. This impacted netmap because netmap support

[Bug 248652] netmap: pkt-gen TX huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 Kubilay Kocak changed: What|Removed |Added Summary|[netmap]: pkt-gen tx huge |netmap: pkt-gen TX huge pps

[Bug 248652] [netmap]: pkt-gen tx huge pps difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

2020-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652 Kubilay Kocak changed: What|Removed |Added CC||n...@freebsd.org,