DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Unable to run test_pmd_perf
@ 2017-01-30 12:46 Priyanka
  2017-02-02  9:58 ` gowrishankar muthukrishnan
  0 siblings, 1 reply; 2+ messages in thread
From: Priyanka @ 2017-01-30 12:46 UTC (permalink / raw)
  To: dev, users; +Cc: mitaliyada

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:

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Unable to run test_pmd_perf
  2017-01-30 12:46 [dpdk-dev] Unable to run test_pmd_perf Priyanka
@ 2017-02-02  9:58 ` gowrishankar muthukrishnan
  0 siblings, 0 replies; 2+ messages in thread
From: gowrishankar muthukrishnan @ 2017-02-02  9:58 UTC (permalink / raw)
  To: Priyanka, dev, users; +Cc: mitaliyada

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
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-02  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30 12:46 [dpdk-dev] Unable to run test_pmd_perf Priyanka
2017-02-02  9:58 ` gowrishankar muthukrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).