0

Currently I am capturing network packets using tcpreplay at a speed of 800 MBPS but I want to scale it over 5 GBPS.

I am running Joy on a server with 16GB Ram and 8 Cores

Tcpreplay Output:

`Actual: 2427978 packets (2098973496 bytes) sent in 20.98 seconds
 
 Rated: 100003501.6 Bps, 800.02 Mbps, 115678.59 pps
 
 Flows: 49979 flows, 2381.11 fps, 2426216 flow packets, 1756 non-flow
 
 Statistics for network device: vth0
    
    Successful packets:        2427978
    Failed packets:            0
    Truncated packets:         0
    Retried packets (ENOBUFS): 0
    Retried packets (EAGAIN):  0`

Total Packets Captured: 2412876

I am running Joy on 4 threads but even if I use 24 threads I am not able to see any drastic change in the capturing or receiving speed.

Joy is using af_packet with Zero Copy Ring Buffer and even Cisco mercury use the same mechanism to write packets but they claim that Mercury can write at 40 GBPS on a server-class hardware so anyone have any suggestion on this issue then please revert back.

0 Answers0