From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by dpdk.org (Postfix) with ESMTP id 6C2342C2A for ; Tue, 4 Oct 2016 15:49:55 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.31,295,1473112800"; d="scan'208";a="195588893" Received: from gimli.loria.fr (HELO [152.81.8.245]) ([152.81.8.245]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 04 Oct 2016 15:49:55 +0200 Message-ID: <57F3B382.8080405@inria.fr> Date: Tue, 04 Oct 2016 15:49:54 +0200 From: Cristian RUIZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: users@dpdk.org CC: Lucas Nussbaum Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [dpdk-users] Measuring packet throughput 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: Tue, 04 Oct 2016 13:49:55 -0000 hello, I'm performing an experiment to measure the performance gain of OVS + DPDK. The goal is to measure the improvements in packet forwarding. My setup consist in two physical machines (M1 and M2). Each machine have a network card with two ports. The two machines where configured in the following way: Machine M2: I set up OVS+DPDK and I set up the flow to forward packets from port1 (eth1) to port2 (eth2) Machine M1: I installed DPDK packet generator to send packets to M2 using eth1. M1 M2 ----------- ------------- | pktgen | eth1 ------------------> eth1 | ovs+ dpdk | | | | | | | eth2 <------------------ eth2 | | ----------- ------------- I have set up everything without problem but I don't know how to reliably measure the packet throughput for a given port. What tool should I use? At the moment I have just configured pktgen in machine M1 to get port2 (eth2) statistics but I didn't find any way to put the results in text format and things go so fast that I cannot capture the right value. I have read articles and reports where they have measured this same metric I was wondering what tool they have used to measure it. Thank you in advance for any help.