From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from antispam.polito.it (fm1nodo1.polito.it [130.192.180.11]) by dpdk.org (Postfix) with ESMTP id 0497F5A33 for ; Tue, 4 Oct 2016 22:51:23 +0200 (CEST) Received: from polito.it (frontmail2.polito.it [130.192.180.42]) by antispam.polito.it with ESMTP id u94KpNMn001256-u94KpNMp001256 (version=TLSv1.0 cipher=DHE-RSA-AES256-SHA bits=256 verify=CAFAIL) for ; Tue, 4 Oct 2016 22:51:23 +0200 Received: from [190.9.213.215] (account d040768@polito.it HELO [192.168.1.55]) by polito.it (CommuniGate Pro SMTP 6.1.9) with ESMTPSA id 53157068 for dev@dpdk.org; Tue, 04 Oct 2016 22:51:23 +0200 From: Mauricio Vasquez To: dev Message-ID: <5db80082-f452-c2a3-57ca-919ac4353ca5@polito.it> Date: Tue, 4 Oct 2016 15:51:21 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-FEAS-SYSTEM-WL: 130.192.180.42 Subject: [dpdk-dev] Problem Generating Traffic 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: Tue, 04 Oct 2016 20:51:24 -0000 Hello, While performing a series of throughput testing I found a limitation while generating traffic. I have a server equipped with two 10G NICs that are connected using a Ethernet wire. MoonGen is used to generate traffic on these interfaces, it shows a performance of 22.52 Mpps. Theoretically it should be 29.76 Mpps (14.88x2) while using 64 bytes long packets. I tried to implemente a silly traffic generator by myself [1], It uses 4 cores, 2 for sending and 2 for receiving, however in this case the throughput is still 22.52 Mpps. I tried many different things, change the number of descriptors in the NIC, use separated mempools, run two separated DPDK processes, change the burst size, change the mempool parameters, however the maximum throughput I can get is always 22.52 Mpps. My question is, what could be the bottleneck in this case?, is the PCI-e bus an option? Any other cue? Just in case, the server's characteristics: - Intel Xeon E5-2690 v2 @ 3 GHz (ten physical cores plus hyperthreading) - 64 GB RAM, Ubuntu 15.04, equipped with two 10G Intel 82599ES NICs. - DPDK 16.07 Thanks in Advance, Mauricio V. [1] http://pastebin.com/k565gW6x