[ovs-discuss] ovs-dpdk could not process 80 bytes packet size at 1G speed
Alex Wang
alexw at nicira.com
Thu Nov 20 00:31:07 UTC 2014
Hey Priya,
I think you are using the ovdk (the org1's fork), so I do not have an answer
to your question.
The vhost support patches are currently under review on ovs upstream repo.
And full dpdk support (userspace tunneling, vhost, dpdk) will be available
in ovs release 2.4 (next release).
Thanks,
Alex Wang,
On Tue, Nov 18, 2014 at 3:56 AM, priya <priya.sivakumar at veryxtech.com>
wrote:
> Hi
>
> I have the development version of ovs-dpdk installed in my system.
>
> I am trying to send 80 bytes packet size at 1G speed(~1250000)
>
> But i found that there is nearly 20% to 50% of packet loss at the
> reception(ovs-dpdk) end.
>
> I am getting the error message as "APP: send_burst: Attempted to enqueue
> 32 mbufs to vhost port port4, but only 0 succeeded". Its like the packets
> in buffer are not transmitted completely. I tried changing BURST_TX_RETRIES
> value from 16 to 64. But still there is some packet loss.
>
> When i send some erroneous packet of the same size and speed , then the
> statistics shows the exact 1250000 rx_errors packets
>
>
> Could you please let me know what else i am missing? What i should do to
> fix this issue?
>
> Listed the complete error message below
>
>
> Error Message:
>
> NIC Statistics
> --------------
> Port 0: 'a0:36:9f:40:4b:d4'
> rx_packets: 2298 rx_errors: 0 rx_bytes: 406006
> tx_packets: 67 tx_errors: 0 tx_bytes: 9569
> Port 1: 'a0:36:9f:40:4b:d6'
> rx_packets: 5722490 rx_errors: 1380319 rx_bytes: 613600720
> tx_packets: 19 tx_errors: 0 tx_bytes: 2794
>
> Vport Statistics
> ------------------
> ============= ============ ============ ============ ============
> Interface rx_packets rx_dropped tx_packets tx_dropped
> ------------- ------------ ------------ ------------ ------------
> vswitchd data 1768 0 1770 0
> vswitchd ctrl 16268 0 16268 0
> port1 2298 0 67 0
> port2 5722490 0 19 0
> port4 13 0 5722496 0
> port3 67 0 2296 0
> ============= ============ ============ ============ ============
>
> Additional Switch Statistics
> ------------------------------
> queue_overruns 0
> pkt_mempool count 118818
> ctl_mempool count 61900
> APP: ovdk_datapath_flow_get(549): 0x7f8015ef88c8
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK01_Control_Free_Ring
> APP: ovdk_datapath_flow_get(549): 0x7f8015ef8f08
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK01_Control_Free_Ring
> APP: ovdk_datapath_flow_del(512): 0x7f8015ef9548
> APP: Deleted flow
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK01_Control_Free_Ring
> APP: ovdk_datapath_flow_get(549): 0x7f8015ef9b88
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK01_Control_Free_Ring
> APP: ovdk_datapath_flow_new(439): 0x7f8016003bc8
> APP: Added flow, flow handle '0x7F8040573B80'
> PORT: rte_port_ivshm_reader_rx: Freeing 4 packets from IVSHM free_ring
> OVDK02_Packet_Free_Ring
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 10 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK02_Control_Free_Ring
> APP: send_burst: Attempted to enqueue 4 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 16 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 24 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 4 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 4 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 4 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 4 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 0 succeeded
> APP: send_burst: Attempted to enqueue 32 mbufs to vhost port port4, but
> only 24 succeeded
> APP: ovdk_datapath_flow_get(549): 0x7f8015efa1c8
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK01_Control_Free_Ring
> APP: ovdk_datapath_flow_get(549): 0x7f8016003588
> APP: ovdk_datapath_flow_get(549): 0x7f8015efa808
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK01_Control_Free_Ring
> APP: free_mbufs: freeing 1 mbufs from free ring OVDK02_Control_Free_Ring
>
>
> Regards
> Priya
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141119/555bbc68/attachment-0002.html>
More information about the discuss
mailing list