Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2019 19:08:02 +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-2EdrsnxWyd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237166-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237166-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from ncrogers@gmail.com ---
Here's what happens when trying to explicitly indicate number of descriptors
for each queue... In general whatever is set in loader.conf for
override_nrxds/txds, the resulting sysctl output has an additional ",0"
appended to it for vmx1, but not vmx0.

test# grep vmx /boot/loader.conf
dev.vmx.0.iflib.override_ntxds=3D4096,4096
dev.vmx.0.iflib.override_nrxds=3D2048,2048
dev.vmx.1.iflib.override_ntxds=3D4096
dev.vmx.1.iflib.override_nrxds=3D2048
dev.vmx.0.iflib.override_ntxqs=3D2
dev.vmx.0.iflib.override_nrxqs=3D2
dev.vmx.1.iflib.override_ntxqs=3D2
dev.vmx.1.iflib.override_nrxqs=3D2

test# sysctl -a | grep override
dev.vmx.1.iflib.override_nrxds: 2048,0,0
dev.vmx.1.iflib.override_ntxds: 4096,0
dev.vmx.1.iflib.override_qs_enable: 0
dev.vmx.1.iflib.override_nrxqs: 2
dev.vmx.1.iflib.override_ntxqs: 2
dev.vmx.0.iflib.override_nrxds: 0,0,0
dev.vmx.0.iflib.override_ntxds: 0,0
dev.vmx.0.iflib.override_qs_enable: 0
dev.vmx.0.iflib.override_nrxqs: 2
dev.vmx.0.iflib.override_ntxqs: 2

test# grep vmx /var/run/dmesg.boot=20
vmx0: <VMware VMXNET3 Ethernet Adapter> port 0x4000-0x400f mem
0xfea03000-0xfea03fff,0xfea02000-0xfea02fff,0xfea00000-0xfea01fff at device=
 0.0
on pci3
vmx0: Using 512 tx descriptors and 256 rx descriptors
vmx0: Using 2 rx queues 2 tx queues
vmx0: Using MSI-X interrupts with 3 vectors
vmx0: Ethernet address: 00:0c:29:2b:73:76
vmx0: netmap queues/slots: TX 2/512, RX 2/512
vmx1: <VMware VMXNET3 Ethernet Adapter> port 0x3000-0x300f mem
0xfe203000-0xfe203fff,0xfe202000-0xfe202fff,0xfe200000-0xfe201fff at device=
 0.0
on pci4
vmx1: Using 512 tx descriptors and 256 rx descriptors
vmx1: Using 2 rx queues 2 tx queues
vmx1: Using MSI-X interrupts with 3 vectors
vmx1: Ethernet address: 00:0c:29:2b:73:80
vmx1: netmap queues/slots: TX 2/512, RX 2/512
vmx0: link state changed to UP
vmx1: link state changed to UP
test#

--=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-2EdrsnxWyd>