Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Download speeds issue with Proxmox/Virtio

    Virtualization
    5
    6
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      elewsmer
      last edited by

      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?

      T C 2 Replies Last reply Reply Quote 0
      • T
        tibere86
        last edited by

        Bumping as I am also interested in this answer.

        C 1 Reply Last reply Reply Quote 0
        • T
          tibere86 @elewsmer
          last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • C
            ComplexNurd @tibere86
            last edited by

            @tibere86 if you are still interested, had a similar issue with virtio in Proxmox and after several changes, reboots and iperfs later I found this combination of hardware offloading config offered the best performance System>Advanced>Networking

            fda6d09d-e154-44c7-8f7f-1c597f87de72-image.png

            1 Reply Last reply Reply Quote 0
            • C
              chrcoluk @elewsmer
              last edited by

              @elewsmer how did you get 4 queues on the vtnet driver? pfSense uses ALTQ which locks it to 1 queue?

              pfSense CE 2.7.2

              1 Reply Last reply Reply Quote 1
              • J
                juliokele
                last edited by juliokele

                @elewsmer please share with us, how you able to set queues greater than one.

                on pfsense 2.5 doesn't work:
                https://forum.netgate.com/topic/138174/pfsense-vtnet-lack-of-queues/9?_=1638715122702

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.