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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 13 21:14:34 UTC 2020


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

Vincenzo Maffione <vmaffione at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|net at FreeBSD.org             |vmaffione at FreeBSD.org

--- Comment #14 from Vincenzo Maffione <vmaffione at FreeBSD.org> ---
Created attachment 218723
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218723&action=edit
Draft patch to test the netmap tx timer

This is a draft patch that adds support for a per-tx-queue timer dedicated to
netmap.
The timer interval is still not adaptive, but controlled by a per-interface
sysctl, e.g.:

  sysctl dev.ix.0.iflib.nm_tx_tmr_us=500

It would be useful to test pkt-gen transmission on ixl/ix NICs, playing on the
tunable to hopefully see the pps increase.
Values too large should cause the pps to drop. Values too short should cause
the CPU utilization to go up (and possibly the pps to drop a little bit).

Can anyone test this?

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


More information about the freebsd-net mailing list