From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 3E6C91150 for ; Thu, 2 Feb 2017 10:59:48 +0100 (CET) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v129wmE4139162 for ; Thu, 2 Feb 2017 04:59:47 -0500 Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) by mx0b-001b2d01.pphosted.com with ESMTP id 28c0j3vn5a-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 02 Feb 2017 04:59:47 -0500 Received: from localhost by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 2 Feb 2017 19:59:43 +1000 Received: from d23dlp02.au.ibm.com (202.81.31.213) by e23smtp08.au.ibm.com (202.81.31.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 2 Feb 2017 19:59:41 +1000 Received: from d23relay09.au.ibm.com (d23relay09.au.ibm.com [9.185.63.181]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 0BE552BB0045; Thu, 2 Feb 2017 20:59:41 +1100 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v129xWmC20381938; Thu, 2 Feb 2017 20:59:40 +1100 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v129x8xe015034; Thu, 2 Feb 2017 20:59:08 +1100 Received: from [9.79.207.210] ([9.79.207.210]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v129x7sN014797; Thu, 2 Feb 2017 20:59:07 +1100 To: Priyanka , "dev@dpdk.org" , "users@dpdk.org" References: <588F35BE.1000409@cse.iitb.ac.in> Cc: "mitaliyada@cse.iitb.ac.in" From: gowrishankar muthukrishnan Date: Thu, 2 Feb 2017 15:28:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <588F35BE.1000409@cse.iitb.ac.in> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17020209-0048-0000-0000-00000201373D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17020209-0049-0000-0000-00004776DD5F Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-02-02_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702020094 Subject: Re: [dpdk-users] [dpdk-dev] Unable to run test_pmd_perf X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2017 09:59:49 -0000 On Monday 30 January 2017 06:16 PM, Priyanka wrote: > Hi All, > > We have VMs on a physical server with both VMs having 1 core 7 GB RAM > with DPDK 16.04. The VMs are communicating using SR-IOV (per VM 1 VF > is assigned). We thought of running the test_pmd_perf to test the > number of cycles taken for RX/TX. But we are unable to get it working. > Even if we assign 4 VCPUs to the VM the app says "*no avail lcore to > test*." The command we are using are: > As far as I trail its origin in source, alloc_lcore() errors out in a situation when you do not have those lcores mentioned in -c or -l to app which are from socket where your ports are actually attached. You can print out target socket through te_eth_dev_socket_id(port_id). You need to pass one lcore atleast from this socket, instead of socket 0 (which is case by default for lcores 0xf). Use lscpu and find out what lcores you can pass from target socket id. Thanks, Gowrishankar > cd dpdk16.04/app/test > > ./build/app/test -c f -- -p 1 > > RTE>> pmd_perf_autotest > > On searching we found that it might be an issue with our VMs using SRIOV. > > Please guide us on this. > > > Thanks, > > Priyanka > >