DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "zhangwqh@126.com" <zhangwqh@126.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] dpdk 1.8.0 disable burst problem
Date: Tue, 15 Sep 2015 02:57:40 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EF2955@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <278d006e.109ef.14fb78933fa.Coremail.zhangwqh@126.com>

Hi Wei,
We can't reproduce your issue in our environment. Below is our steps.

1. disable vector and change burst size
CONFIG_RTE_IXGBE_INC_VECTOR=n
Define PACKET_READ_SIZE to 1 in client_server_mp/mp_server/main.c.
Define PKT_READ_SIZE to 1 in client_server_mp/mp_client/client.c.

2. Run mp_server with one client.
mp_server -n 4 -c 0xf -- -p 0x3 -n 1
Rx function: Rx Burst Bulk Alloc Tx function: simple tx code path

mp_client -n 4  -c 0xf0 --proc-type=secondary -- -n 0

3. Send packets to port0 and port1. Packets normally forwarded by client.

    PORTS
    -----
    Port 0: '90:e2:ba:36:99:3c'     Port 1: '90:e2:ba:36:99:3d'

    Port 0 - rx:      5000  tx:      1000
    Port 1 - rx:      1000  tx:      5000

    CLIENTS
    -------
    Client  0 - rx:      6000, rx_drop:         0
                tx:      6000, tx_drop:         0

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ??
> Sent: Thursday, September 10, 2015 9:54 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] dpdk 1.8.0 disable burst problem
> 
> Hi all,
> 
> 
> I am using the dpdk example dpdk-
> 1.8.0/examples/multi_process/client_server_mp on ubuntu 14.04.  I need to
> disable the batch. At first, I just change the macro  in mp_server/main.c
> and mp_client/client.c
> #define PACKET_READ_SIZE 32 to 1
> The server and the client can not receive any packets.  Almost of the
> packets are counted to err from the port stat.
> 
> Port:0, rx:511, rx_err:33011882, rx_nombuf:0, tx:0, tx_err:0
> 
> Port:0, rx_rate:0, rx_err_rate:782253,rx_nombuf_rate:0, tx_rate:0,
> tx_err_rate:0
> 
> However, DPDK 1.4.1 works only changing the batch size from 32 to 1 in
> server and client.
> 
> What I did in the next step is
> 
> disable the vector PMD burst on DPDK 1.8.0 version.
> 
> disable the macro from config file
> 
> CONFIG_RTE_IXGBE_INC_VECTOR=n
> 
> However, nothing is changed. Port still reports packets errs.
> 
> Can anyone help to look at this problem? I will be very appreciated.
> 
> BTW, why DPDK 1.4.1 can not be compiled on ubuntu 14.04?

      reply	other threads:[~2015-09-15  2:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 13:54 张伟
2015-09-15  2:57 ` Liu, Yong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E10EF2955@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dev@dpdk.org \
    --cc=zhangwqh@126.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).