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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 20 21:49:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652

--- Comment #29 from Sylvain Galliano <sg at efficientip.com> ---
(In reply to Vincenzo Maffione from comment #28)

Yes, this is much better:

6 queues, nm_tx_tmr_us=5:
983.492185 main_thread [2639] 37.907 Mpps (37.945 Mpkts 18.196 Gbps in 1001000
usec) 512.00 avg_batch 99999 min_space
cpu usage: 100%

but with this patch, something is wrong when using 1 queue:
110.079117 main_thread [2639] 0.000 pps (0.000 pkts 0.000 bps in 1003920 usec)
0.00 avg_batch 99999 min_space
111.080184 main_thread [2639] 0.000 pps (0.000 pkts 0.000 bps in 1001066 usec)
0.00 avg_batch 99999 min_space
111.714181 sender_body [1663] poll error on queue 0: timeout
112.089179 main_thread [2639] 0.000 pps (0.000 pkts 0.000 bps in 1008996 usec)
0.00 avg_batch 99999 min_space
113.116178 main_thread [2639] 0.000 pps (0.000 pkts 0.000 bps in 1026999 usec)
0.00 avg_batch 99999 min_space

(I've double checked by reverting with previous patch: no issue)

same errors when using 6 queues and pkt-gen with 6 threads (-p 6)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list