DPDK patches and discussions
 help / color / mirror / Atom feed
From: Moon-Sang Lee <sang0627@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [Q] asymmetric ping latency over KNI
Date: Thu, 17 Sep 2015 13:30:05 +0900	[thread overview]
Message-ID: <CAACK=XdF6S1R-vY6PJzVR5nQZ-yriB-aaqw88JwmT+Kakn348Q@mail.gmail.com> (raw)

hello.
I installed dpdp-2.1.0 on my ubuntu 14.04 server where two NIC ports are
available.
There are two KNI interfaces, vEth0 and vEth1, for two NIC ports. (i.e. one
KNI for one NIC port)
And I connected two servers, M1 and M3, to each NIC port as below.

[ M1 ]--------eth0-[ M2 ]-eth1--------[ M3 ]
                 (vEth0)       (vEth1)

After running KNI example in dpdk-2.1.0 source tree,
I pinged from M1 to M2(eth0) and from M3 to M2(eth1).

It shows short latency over M1-M2, but large latency (1 second) over M2-M3.
If I put "-i 0.2" option to ping, the large latency reduces to 200ms.
If I put "-i 0.x", then the latency becomes 0.x secnod.

I can't figure out what's wrong with my configuration and running
parameters.
Any comments are appreciated.

my runtime environment as follows.

# loading kni driver
insmod igb_uio.ko
insmod rte_kni,ko lo_mode=lo_mode_ring_skb

# execute kni example (i.e. packet burst size is the default, 32)
a.out -c 0x1414 -n 4 -- -p 0x3 -P --config="(0,2,4,6),(1,10,12,14)"


-- 
Moon-Sang Lee, SW Engineer
Email: sang0627@gmail.com
Wisdom begins in wonder. *Socrates*

                 reply	other threads:[~2015-09-17  4:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAACK=XdF6S1R-vY6PJzVR5nQZ-yriB-aaqw88JwmT+Kakn348Q@mail.gmail.com' \
    --to=sang0627@gmail.com \
    --cc=dev@dpdk.org \
    /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).