wudijiang / netmap

Automatically exported from code.google.com/p/netmap
0 stars 0 forks source link

Running multiple pkt-gen applications for receiving packets #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. netmap and ixgbe driver is loaded succesfully.
2. When 40M packets are sent from another server, single pkt-gen application 
can receive packets without packet loss.
3. When I try to run two independant pkt-gen application to receive packets, 
neither one can capture the packets; both capture a few hundred packets.

What is the expected output? What do you see instead?

I expect each pkt-gen to receive its own copy of packets, near 40M packet with 
packet loss. Is there a way to run netmap mechanism such that I can run 
multiple independent pkt-gen applications and each pkt-gen application will 
receive a copy of incoming traffic without interfering others.  

What version of the product are you using? 

A patched version according to the guidance in "ISSUE 23". 

On what operating system?

x86_64 Redhat Linux with 3.8.11 kernel version.

Please provide any additional information below.

Original issue reported on code.google.com by berraa...@gmail.com on 21 Nov 2014 at 7:57

GoogleCodeExporter commented 9 years ago
not a defect. only one client can read from a netmap port, netmap does not 
duplicate packets.

Original comment by rizzo.un...@gmail.com on 21 Nov 2014 at 8:01