From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by dpdk.org (Postfix) with ESMTP id 70A842BAC for ; Wed, 23 Nov 2016 12:51:58 +0100 (CET) Received: by mail-yw0-f180.google.com with SMTP id a10so8925669ywa.3 for ; Wed, 23 Nov 2016 03:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=KHiJF/qrRtcYOXsWVhZt+pTUVLSq9mujyE/id+1WoXw=; b=g18TqfKYJDBz0aCnfN2X1VYKK7WfqM5nvMNeMUcT+uRfIcSseo5L4thKt6Ek2CgcL1 M/v+l8OSZRrN2hgxDlRulXzzUyH9/NAfUGCNBbk7f6aYQs/EGcY6hpG9FzipgAibnm3T 9zhr+L4hJx6SEp59X27Synu87XJjJGFmFko2/h4ph8P8gWyS5/lwJXOY3j9w9WkbzVHO Ojp7k8QEBezOe5QwnoUD83DOTZQ+gowvzWxaA//lucQk/CyqxBkW4qvUwjRxcwMttGwd AWjUjr0i0KYFfG6vO99dZD1QkdOOXRYHEdPcioBo2BjKGBfAkpttij1wH6WcfmVAFymV e4GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KHiJF/qrRtcYOXsWVhZt+pTUVLSq9mujyE/id+1WoXw=; b=OFfQL3sKd2lTXOAEw2/UN3JYpdPkjrlD/8QgV0yo8dNCHrNV/EAY/80vVIgrjT/bwP x7rvFRscJvJmMx55HkITkgnwxO4+IB66W0Ge6xPuN3cQcXGUsP1r0QjiQd2OKfjqBOz5 H/ojNUEKQ/GNh6uuw/TBkYz+9a5VA1aqT/l4IdNRe1qYE13dCu3RnYiYCZAZgwkSovuA TeqybBxeMpatUC0Gteb/Qb+1mf7gdzK10gKPdPBCIYwtRNBSLejpzaM2eK505W4EhsAT 98LBWOKiFTN7bV8yoW8wB9OzU2+Z3i+2nOgeB+HVgpxCRRJt7pamtJa3BE2i4HwtQYqu jbRw== X-Gm-Message-State: AKaTC02eM4vV+QrsHLJFYQEZVe8WBR4xpuVkYhWIEkwVzAamqnccfkumQD8Sc7WpkG1fK9WbzgtV/wtBy1+9+A== X-Received: by 10.129.13.215 with SMTP id 206mr2644013ywn.69.1479901917596; Wed, 23 Nov 2016 03:51:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.71.85 with HTTP; Wed, 23 Nov 2016 03:51:37 -0800 (PST) From: Mohammad Malihi Date: Wed, 23 Nov 2016 15:21:37 +0330 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] High Packet missed rate X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 11:51:58 -0000 Hi I'm new on dpdk and i have problems about high packet dropping ratio when using pktgen and l2fwd in rates greter than 1.5 Gbs (using pktgen). In order to have benchmarks on dpdk forwarding capabilities in 10 Gbs rate, i've established a very simple test environment as depicted bellow : --------------------------------- ---------------------------------------------- |Server 1 port 0 (Intel 82599ES)| -----> |Server 2 port 0 (Intel 82599ES)| --------------------------------- ---------------------------------------------- | (bridge via l2fwd app) | ---------------------------------------------- ---------------------------------------------- |Server 1 port 1 (Intel 82599ES)| <----- |Server 2 port 1 (Intel 82599ES)| --------------------------------------------- ---------------------------------------------- Sending packets (on server 1) with size 64 bytes at rate 10 Gbs can be done by running pktgen with the following parameters : -c 0x07 -n 12 -- -P -m "1.0, 2.1" and following commands in interactive mode : set 0 rate 100 set 0 size 64 start 0 At the other side (server 2), l2fwd app forwards packets with parameters : -c 0x07 -n 12 -- -p 0x03 -q 1 -T 10 (core 0 receives packets from port 0 and core 1 sends them using port 1) Hardware Specifications (same for 2 servers) : Processors : 2 "Intel Xeon 2690 v2" (each of them has 20 cores). NIC : "Intel 82599ES 10-GB" with 2 interfaces (connected to x8 PCIe Gen 2 -> 5 GT/s) Memory : 264115028 KB Also hugepage sizes on each side are totally 128 GB (64 GB(huge page->1GB) for each node) and all ports and used cores(0,1) are on the same NUMA node. I've made some modifcations to l2fwd app to show packet dropping count by calling "rte_eth_stats_get" in "print_stats" function and using "imissed" member of "rte_eth_stas". The results on screen show that in rates greater than 1.5 Gbs, packet dropping (by hardware) occures. I wonder, why there is packet missing in rates bellow 10 Gbs Thanks in advance