Download speeds issue with Proxmox/Virtio
-
I'm running a pfSense VM in KVM (Proxmox) and I've been trying to troubleshoot a discrepancy in speed tests with this VM, I'm on a gigabit symmetrical connection and connected to the gateway directly I get full 940/940Mbps, in the VM however I get 940Mbps upload and 700-900Mbps download. All hardware offload settings are disabled for both the VM and the host.
Netmap is reporting this at boot:
vtnet0: <VirtIO Networking Adapter> on virtio_pci1 vtnet0: Ethernet address: 00:00:00:00:00:00 vtnet0: netmap queues/slots: TX 4/256, RX 4/128 000.001082 [ 503] vtnet_netmap_attach vtnet attached txq=4, txd=256 rxq=4, rxd=128
txd and rxd aren't supposed to be the same? Ring parameters for the interface in the host are set to 2048:
Ring parameters for ens4f2: Pre-set maximums: RX: 4096 RX Mini: 0 RX Jumbo: 0 TX: 4096 Current hardware settings: RX: 2048 RX Mini: 0 RX Jumbo: 0 TX: 2048
Multiqueue is set to 4, which pfSense correctly applies, but I read in the Netmap github that both rxd and txd values must be same to avoid issues.
Any thoughts? -
Bumping as I am also interested in this answer.
-
@elewsmer How were you able to set vtnet netmap queues to greater than 1 virtualizing with Proxmox? I have tried multiple ways to no avail, pfSense only recognizes one.