docs: Update the vhost section 70/20370/3
authorjdenisco <jdenisco@cisco.com>
Wed, 26 Jun 2019 18:17:12 +0000 (18:17 +0000)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Thu, 27 Jun 2019 15:03:04 +0000 (15:03 +0000)
Change-Id: Ic7a144ffda0d0a3e0f6f9bc1a4790ab36fdf002e
Signed-off-by: jdenisco <jdenisco@cisco.com>
docs/about.rst
docs/usecases/vhost/iperf-vm.xml
docs/usecases/vhost/vhost02.rst
docs/usecases/vhost/xmlexample.rst

index 65a66a9..072151a 100644 (file)
@@ -4,6 +4,6 @@
 About
 =====
 
-**VPP Version:** 19.08-rc0~307-g883a867
+**VPP Version:** 19.08-rc0~529-g77f0d7f2d
 
-**Built on:** Wed May 29 06:27:33 GMT 2019
+**Built on:** Thu Jun 27 14:04:13 GMT 2019
index be354c5..981c80a 100644 (file)
@@ -74,6 +74,7 @@
     <interface type='vhostuser'>
       <mac address='52:54:00:4c:47:f2'/>
       <source type='unix' path='/tmp//vm00.sock' mode='server'/>
+      <driver rx_queue_size='1024' tx_queue_size='1024'/>
       <model type='virtio'/>
       <alias name='net1'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
index b9d1f56..d316463 100644 (file)
@@ -16,6 +16,7 @@ This is done with a section that looks like this
     <interface type='vhostuser'>
       <mac address='52:54:00:4c:47:f2'/>
       <source type='unix' path='/tmp//vm00.sock' mode='server'/>
+      <driver rx_queue_size='1024' tx_queue_size='1024'/>
       <model type='virtio'/>
       <alias name='net1'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
@@ -60,9 +61,10 @@ The VM is now created.
 
 Once the virtual machine is created notice the socket filename shows **Success** and
 there are **Memory Regions**. At this point the VM and FD.io VPP are connected. Also
-notice **qsz 256**. This system is running an older version of qemu. A queue size of 256
-will affect vhost throughput. The qsz should be 1024. On the web you should be able to
-find ways to install a newer version of qemu or change the queue size.
+notice **qsz 1024**. A queue size of 256 will affect vhost throughput. The qsz should
+be 1024. In QEMU 2.10.0 and libvirt 3.7.0 and later versions this is specified in the
+xml file with the line **<driver rx_queue_size='1024' tx_queue_size='1024'/>** shown above
+and in the example.
 
 .. code-block:: console
 
@@ -99,11 +101,11 @@ find ways to install a newer version of qemu or change the queue size.
       1     32    0x00000000000c0000 0x000000000ff40000 0x00007f1db9cc0000 0x00000000000c0000 0x00007f7d94ec0    000
     
      Virtqueue 0 (TX)
-      qsz 256 last_avail_idx 0 last_used_idx 0
+      qsz 1024 last_avail_idx 0 last_used_idx 0
       avail.flags 0 avail.idx 256 used.flags 1 used.idx 0
       kickfd 33 callfd 34 errfd -1
     
      Virtqueue 1 (RX)
-      qsz 256 last_avail_idx 8 last_used_idx 8
+      qsz 1024 last_avail_idx 8 last_used_idx 8
       avail.flags 0 avail.idx 8 used.flags 1 used.idx 8
       kickfd 29 callfd 35 errfd -1
index 34445da..50bcf45 100644 (file)
@@ -7,5 +7,5 @@ An example of a file that could be used with the virsh create command.
 
 .. literalinclude:: iperf-vm.xml
    :language: XML
-   :emphasize-lines: 42-49, 74-80
+   :emphasize-lines: 5-9, 42-49, 74-81