Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-40693

Delay in starting NetKVM Ethernet Adapter with high queues of Qemu netdev

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • rhel-virt-windows
    • ssg_virtualization
    • 13
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • RHEL-10.2 Pending
    • Enhancement
    • Hide
      New parameter is "Fast initialization", possible values "Disable", "Enable", default - "Enable"

      Disable: The driver indicates it is ready for network operation when it allocates all the required memory blocks for all the virtual queues

      Enable: The driver allocates initial part (usually ~7%) of required memory blocks and indicates it is ready. The rest of initialization tasks it executes on the background, being already available for network setup, DHCP etc, with suitable performance for most of practical tasks.
      Show
      New parameter is "Fast initialization", possible values "Disable", "Enable", default - "Enable" Disable: The driver indicates it is ready for network operation when it allocates all the required memory blocks for all the virtual queues Enable: The driver allocates initial part (usually ~7%) of required memory blocks and indicates it is ready. The rest of initialization tasks it executes on the background, being already available for network setup, DHCP etc, with suitable performance for most of practical tasks.
    • Proposed
    • x86_64
    • Windows
    • None

      What were you trying to do that didn't work?
      QE was attempting to restart the netkvm ethernet adapter on a Win11 using the `.\netkvmco.exe restart 0` command. The expected behavior was that the adapter would restart promptly within a few seconds. However, the restart process takes significantly longer than expected.

       

      Please provide the package NVR for which bug is seen:

      • virtio-win-prewhql-0.1-258
      • kernel-5.14.0-443.el9.x86_64
      • edk2-ovmf-20240214-2.el9.noarch
      • qemu-kvm-core-9.0.0-3.el9.x86_64
      • swtpm-0.8.0-1.el9.x86_64

      How reproducible:
      100%

      Steps to reproduce
      1. Set the Queues of Qemu netdev as a high value (e.g. 10, 20 and 40)
      2. Restart the NetKVM Ethernet Adapter:

      • Execute the `date` command to check the current system time
      • Run the command `.\netkvmco.exe restart 0` to restart the netkvm ethernet adapter
      • Execute the `date` command to check the current system time

      3. Observe the restart Time

      Expected results
      The netkvm ethernet adapter should restart promptly within a few seconds.

      Actual results
      For instance, with queues=40, the restart took about 75 seconds.

      Addition notes:
      QE will upload all the test snapshots for debugging purposes.

        1. 24cpu-10queue-16rss.png
          4.97 MB
          Wenkang Ji
        2. 24cpu-20queue-16rss.png
          3.72 MB
          Wenkang Ji
        3. 24cpu-40queue-16rss.png
          814 kB
          Wenkang Ji

              ybendito@redhat.com Yuri Benditovich
              rh-ee-wji Wenkang Ji
              Meirav Dean Meirav Dean
              Wenkang Ji Wenkang Ji
              Jiří Herrmann Jiří Herrmann
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: