Skip to content

viona tx/rx queue sizes are swapped #1055

Closed

Description

@rzezeski

While running some benchmarks on a setup that uses bhyve/viona instead of propolis I wanted to confirm how we are configuring the Tx/Rx queue pairs and their respective sizes when running on propolis. I asked @askfongjojo if she could run ethtool for me on a newly created linux guest and this is what she found. Those numbers are backwards: it should be Rx: 2048 and Tx: 256. It turns out we have the arguments swapped when calling PciVirtioViona::new_with_queue_sizes().

ubuntu@noble:~$ ethtool -g enp0s8
Ring parameters for enp0s8:
Pre-set maximums:
RX:			256
RX Mini:		n/a
RX Jumbo:		n/a
TX:			2048
TX push buff len:	n/a
Current hardware settings:
RX:			256
RX Mini:		n/a
RX Jumbo:		n/a
TX:			2048
RX Buf Len:		n/a
CQE Size:		n/a
TX Push:		off
RX Push:		off
TX push buff len:	n/a
TCP data split:		n/a

Activity

  1. added this to the 19 milestone on Feb 11, 2026
  2. luqmana commented on Feb 11, 2026

    @luqmana
    Contributor

    Omicron PR to pull in fix here.

  3. askfongjojo commented on Feb 12, 2026

    @askfongjojo

    This turned out to be a regression. On rack3/colo that is running on 17.1, my vm returned the correct Tx/Rx queue size:

    ubuntu@metrics:~$ ethtool -g enp0s8
    Ring parameters for enp0s8:
    Pre-set maximums:
    RX:		2048
    RX Mini:	n/a
    RX Jumbo:	n/a
    TX:		256
    Current hardware settings:
    RX:		2048
    RX Mini:	n/a
    RX Jumbo:	n/a
    TX:		256
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions