Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring the Queue Value for vSRX VM with KVM

    Before you plan to scale up vSRX performance, modify the vSRX VM XML file to configure network multi-queuing as a means to support an increased number of dataplane vCPUs for the vSRX VM. This setting updates the libvirt driver to enable multi-queue virtio-net so that network performance can scale as the number of dataplane vCPUs increases. Multi-queue virtio is an approach that enables the processing of packet sending and receiving to be scaled to the number of available virtual CPUs (vCPUs) of a guest, through the use of multiple queues.

    The configuration of multi-queue virtio-net, however, can only be performed in the XML file. OpenStack does not support multi-queue.

    To update the queue, at the <driver name='vhost' queues='x'/> line in the vSRX VM XML file, match the number of queues with number of dataplance vCPUs you plan to configure for the vSRX VM. The default is 4 dataplane vCPUs, but you can scale that number to 4, 8, or 16 vCPUs.

    The following XML file example configures 8 queues for a vSRX VM with 8 dataplane vCPUs:

    <output omitted> 
     <interface type='network'>
            <source network='net2'/>
          <model type='virtio'/>
          <driver name='vhost' queues='8'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

    Modified: 2017-12-04