Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2019 17:18:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237166] vmx(4) override_ntxds/nrxds tunable has no effect
Message-ID:  <bug-237166-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237166

            Bug ID: 237166
           Summary: vmx(4) override_ntxds/nrxds tunable has no effect
           Product: Base System
           Version: 12.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ncrogers@gmail.com

Since the MFC of r343291 to 12-STABLE in r344027 (Convert vmx(4) to being an
iflib driver.), I am no longer able to increase the number of tx/rx descrip=
tors
via the usual iflib sysctls.

For example the following loader.conf:
dev.vmx.0.iflib.override_ntxqs=3D2
dev.vmx.0.iflib.override_nrxqs=3D2
dev.vmx.0.iflib.override_ntxds=3D4096
dev.vmx.0.iflib.override_nrxds=3D2048

Yields bootup messages:

Apr  9 10:03:22 rxg kernel: vmx0: <VMware VMXNET3 Ethernet Adapter> port
0x4000-0x400f mem
0xfea03000-0xfea03fff,0xfea02000-0xfea02fff,0xfea00000-0xfea01fff at device=
 0.0
on pci3
Apr  9 10:03:22 rxg kernel: vmx0: Using 512 tx descriptors and 256 rx
descriptors
Apr  9 10:03:22 rxg kernel: vmx0: Using 2 rx queues 2 tx queues
Apr  9 10:03:22 rxg kernel: vmx0: Using MSI-X interrupts with 3 vectors
Apr  9 10:03:22 rxg kernel: vmx0: Ethernet address: 00:0c:29:2b:73:76
Apr  9 10:03:22 rxg kernel: vmx0: netmap queues/slots: TX 2/512, RX 2/512
Apr  9 10:03:22 rxg kernel: vmx0: link state changed to UP

Notice that ntxqs/nrxqs is decreased from the default of 8 (or lower of num=
ber
of CPU cores), however ntxd/nrxd remains the default.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237166-227>