From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by dpdk.org (Postfix) with ESMTP id 0C55058CB for ; Thu, 17 Sep 2015 06:30:06 +0200 (CEST) Received: by ioiz6 with SMTP id z6so9763094ioi.2 for ; Wed, 16 Sep 2015 21:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=A1v+SNmCu5Awbl/Mp73z+gPvDtoD5fVD4ads690dXvg=; b=eQZvLQmFV6WUP3qKYUKWRZHZA23DUXZvmf/jkxiYB01ee4ktsa+TnlUjWoSIm+yXy0 9rzK8MohGH7X1O/kuID1eAzi1zkYedKSZfSPaYI5OjZ+zYj2EwAnkGw8vHz5W0qlP31R 2StNu0J+0yrnB8oYdnW+B5L1zk2MNGkHDHy/MpW7xTPTlYVyxP++QaPma/U9WrynIBUx Hl1PqoQ+Q5eRUX9H53LwAEx9Uxd2iRVG98qef53lixCUbYiCtmSbklYk3oVa1cm3wjoG dRUjPXEgWqfVUhpMJQqUQW7AuLFYR+4RVHuyDJse0aZ1o/911OuQX6zj6t5PYLoFCpYx Vebg== MIME-Version: 1.0 X-Received: by 10.107.168.228 with SMTP id e97mr2802162ioj.7.1442464205390; Wed, 16 Sep 2015 21:30:05 -0700 (PDT) Received: by 10.79.94.196 with HTTP; Wed, 16 Sep 2015 21:30:05 -0700 (PDT) Date: Thu, 17 Sep 2015 13:30:05 +0900 Message-ID: From: Moon-Sang Lee To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [Q] asymmetric ping latency over KNI X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 04:30:06 -0000 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*