From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3.iitd.ac.in (smtp3.iitd.ac.in [103.27.11.44]) by dpdk.org (Postfix) with ESMTP id 443A93250 for ; Thu, 11 Jan 2018 06:16:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by smtp3.iitd.ac.in (Postfix) with ESMTP id 8157C408EF; Thu, 11 Jan 2018 10:46:15 +0530 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitd.ac.in; h= content-language:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from :received:received; s=iitd; t=1515647771; x=1517462172; bh=n8IU4 PrAITv5MefbiWrVm2AVnPmsgiwdS08QPRs54Ls=; b=XCX1UA7LYRIG3iWG8ar33 yOa88p1F3PrsOwY4dKc3YQ37eDdkSXdyiXHUFQrpfCLbVoA39mgCh/KzUIVaAC5y GMBKWd1EOpdnAj38vWjHJXxeyZZ9CiqLJmYze4uEI44KRzMVpvOYixOFzV5btwn2 +V90lqCWZLu1ZJX+5kMUNM= X-Virus-Scanned: Debian amavisd-new at smtp2.iitd.ernet.in Received: from smtp3.iitd.ac.in ([127.0.0.1]) by localhost (smtp3.iitd.ac.in [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eWvlE35MP4Vm; Thu, 11 Jan 2018 10:46:11 +0530 (IST) Received: from [10.237.23.80] (unknown [10.237.23.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: csz168117) by smtp3.iitd.ac.in (Postfix) with ESMTPSA id 26E6A416BC; Thu, 11 Jan 2018 10:20:37 +0530 (IST) To: "Wiles, Keith" , dev@dpdk.org From: Shailja Pandey Message-ID: Date: Thu, 11 Jan 2018 10:20:26 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK-pktgen not giving expected throughput X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 05:16:16 -0000 The command line for Pktgen is- ./app/app/x86_64-native-linuxapp-gcc/pktgen -c 0xfff -n 4 -- -T -P -m "[2].0,[4].1,[8].2,[10].3" Configuration of the machine is- Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 63 Model name: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz Stepping: 2 CPU MHz: 1204.226 CPU max MHz: 3400.0000 CPU min MHz: 1200.0000 BogoMIPS: 5195.08 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 20480K NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30 NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31 Linux XeonE5 4.4.0-93-generic Thanks! >/On Jan 10, 2018, at 7:36 AM, Shailja Pandey > wrote: />//>/Hi, />//>/We are performing experiments on Dell Poweredge R430 server, which is based on Haswell architecture based xeon-2640 v3 processor. We have attached XL 710 NIC(2x40 GbE) to the machine and expect 59 Mpps packet generation per port. But pktgen is able to generate only 21 Mpps per port and we are not sure about the problem. />//>/We are using DPDK version 16.07 and DPDK-pktgen version 3.1.0. Is there any way to generate packets from pktgen at 118 Mpps ? / What is the command line for Pktgen? Using a single CPU you should be able to generate about 21Mpps, which tells me the configuration is not correct. Pktgen needs N number of TX and RX cores to generate more traffic, plus the packets need to be spread across the cores using RSS. This means pktgen needs to be setup to generate packets with the 5 tuple difference to get all of the cores to receive the packets. I need to know the command line and the configuration of the machine to help. >//>/-- />//>/Thanks, />/Shailja />// Regards, Keith -- Thanks, Shailja