[dpdk-users] Buffer leak and RSS performance problem

lilongfei1110 lilongfei1110 at 163.com
Sat Jul 1 14:01:16 CEST 2017


    Hi,
    Thanks for your reading.
    I encounter two problems when I use l2fwd and l3fwd. Here are the problems:
    P1. In l2fwd source code,I change these values,and it do not receive packets after receiving about 1K packets.
#define NB_MBUF   81920
#define RTE_TEST_RX_DESC_DEFAULT 4032
    Is it relevant with the i40e driver code below?
" rxq->rx_tail = (uint16_t)(rxq->rx_tail & (rxq->nb_rx_desc - 1));"

    P2. I use l3fwd to process about 35Gps IP packet and packet length is 64B,the process drop many packets. Then I use 4 rx_queues and 4 lcores, but it's performance  improves a little. The same result happens when I use 6 queues and 6 lcores. So how to location where the problem is. Is there any suggestions?
    My environment:
OS:Redhat 6.5 X86_64
CPU:Intel Xeon E5-2650 v3 at 2.3GHz
NIC:Intel Corporation Device [8086:1580]
DPDK: 16.11


    Thanks & Best Regards.


More information about the users mailing list