Also, in the latest build, I am getting only 1.8Mpps on 10G ixgbe drivers.
File selected is: My8GBFile.pcap
TX: 64.00 MiB, 32768 Frames, each 2048 Byte allocated
BPF:
L0: ret #0xffffffff
MD: TX 10us mmap lf64 best-effort: prio 4
8003630 frames outgoing
0 frames truncated (larger than frame)
921287005 bytes outgoing
8 sec, 511798 usec in total
The optimizations done were: (Ixgbe running latest drivers). 12GB amd64. Ubuntu
12.04 LTS. 8 Core CPU.
cd /proc/sys/net/core
echo "50000" > optmem_max
echo "10000" > netdev_max_backlog
echo "1000000" > wmem_default
echo "1000000" > wmem_max
echo "1000000" > rmem_default
echo "1000000" > rmem_max
Regards,
Sibir
****************************************************
On Monday, October 8, 2012 4:04:46 PM UTC+5:30, [email protected] wrote:
> I downloaded and compiled the netsniff-ng. The replay works perfectly for 10G
> and 1G rates, well above other open source softwares. I have achieved around
> close to 2.6 Mpps with 512 byte packets and close to 5Mpps in 10G Intel Ixgbe
> card.
>
> I have a few queries:
>
> 1) In the code for netnsiff-ng, it expects bpf filter which is applied on the
> Pcap file. Can I instead apply the filter on the TxRing ie. the Intel NIC
> card? So that multiple TxRings can have multiple filters.
>
> eg. eth1#SrcPort=1233-1244
> eth2#IPSrc=1.2.3.4/16 etc.
>
> 2) One more requirement is that, is it possible to get a bpf filter from
> command line in a human readable format like SrcPort like the one in
> tcpreplay ?
--