[dpdk-dev] Running independent processes on the same machine

Kai Zhang zhang.4522 at osu.edu
Sun Jul 20 20:03:35 CEST 2014


Hello,

I have been trying to measure the round trip latency with two machines,
A->B->A. I modified l2fwd as two new apps: rx and tx, where tx sends
packets and embeds time stamp, rx receives packets and calculate the round
trip latency.
The source code are as follows:
https://github.com/kay21s/dpdk/tree/master/examples/rx
https://github.com/kay21s/dpdk/tree/master/examples/tx

Both of rx and tx run correctly if only one app is running. However, when I
am trying to run rx and tx simultaneously on machine A, rx cannot receive
any packets.
The commands I used are


sudo ./build/tx -c 0x2 -n 1 --file-prefix p2 -m 64 -- -q 1 -p 1
sudo ./build/rx -c 0x1 -n 1 --file-prefix p1 -m 64 -- -q 1 -p 1

Thanks for your help,
Kai


More information about the dev mailing list