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 39EF21B16F for ; Thu, 11 Jan 2018 07:46:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by smtp3.iitd.ac.in (Postfix) with ESMTP id 6BE2040530; Thu, 11 Jan 2018 12:16:08 +0530 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitd.ac.in; h= content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:references:from :from:subject:subject:received:received; s=iitd; t=1515653164; x=1517467565; bh=gJCrv2bTcllO4hLXb75iO9Hhqg3ptq1kSn6CsiqPOQI=; b= CtAMpA+/Ynklra8cC79JlAOvQXgAT209uzszXzy381ovyQ8n06iJFLqsZuCRPpqE KwcnwtbdeDJIH0FpZUfrIfqJ4qvth2AljBiMFi+zztZFOITRfV+0QYvrtiVvTQsB VmkzRFA0soT8neeNRf3KqGA9MrhxXWvnmaTrSr4Cobs= 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 0HuGGGiF4j7L; Thu, 11 Jan 2018 12:16:04 +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 0409640511; Thu, 11 Jan 2018 12:16:04 +0530 (IST) From: Shailja Pandey To: "Wiles, Keith" , dev@dpdk.org References: Message-ID: <8563b3a1-06e3-a3a4-4f75-a780cc14701e@iitd.ac.in> Date: Thu, 11 Jan 2018 12:15:52 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: 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: Re: [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 06:46:09 -0000 I have also tried with multiple cpus using the command line- ./app/app/x86_64-native-linuxapp-gcc/pktgen -c 0xffff -n 4 -- -T -P -m "[0:4].0,[5:8].1,[9-12].2,[13-16].3" On Thursday 11 January 2018 10:20 AM, Shailja Pandey wrote: > 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 -- Thanks, Shailja