On Fri, Jul 24, 2015 at 11:01:48AM +0000, Unnikannan Nair, Jishnu wrote:
> Hi
> I'm trying to check if there are any packet loss going on when doing a packet 
> capture dump using netsniff-ng using tcpreplay. I used netsniff to log the 
> verbose output of the whole capture and check if there any dropped packets. 
> The log shows zero dropped packets. So I used a script to add all the packets 
> captured by netsniff-ng but it seems the value I got is not the same as the 
> value shown by tcpreplay at the end of the capture, Why is that??
> TCP replay send 27388000  and netsniff-ng gets 27386202  with zero dropped 
> packets on the log file.
> 
> 
> TCPreplay :
> 
>  tcpreplay -i eth1 -M 90Mbps --loop 100 --preload-pcap --sleep-accel=1 
> /share/capture/job1/*.pcap
> Output:
> Actual: 27388000 packets (13649364800 bytes) sent in 1173.92 seconds.         
>   Rated: 11627168.0 bps, 88.71 Mbps, 23330.38 pps
> Statistics for network device: eth1
>         Attempted packets:         27388000
>         Successful packets:        27388000
>         Failed packets:            0
>         Retried packets (ENOBUFS): 0
>         Retried packets (EAGAIN):  0
> 
> Netsniff-ng:
> 
> netsniff-ng -d eth1 --out=/share/capture/ --prefix="job1_" -s -ring-size 4096 
> --interval 2MiB -f "dst net 224.10.10 or dst net 224.11.11" -b 1-4 -V > 
> /share/capture.log
> 
> capture log :
> 
> 
> pcap file I/O method: scatter-gather
> RX,V3: 4096.00 MiB, 65536 Blocks, each 65536 Byte allocated
> IRQ: eth1:19 > CPU4
> Running! Hang up with ^C!

HI,

What is the netsniff-ng version which is used in this particular example ?
Or it was compiled from the up-to-date sources ?

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to