Hi,
I am using FreeBSD based servers to process UDP traffic on AWS EC2. I am encountering major issues achieving anything close to decent network performance when processing UDP traffic (no issues with TCP).
I setup the test environment detailed below and used iperf to send and receive data from a firing station on an external host to a server on AWS EC2. See the test results below.
iperf v2.0.13 on both servers.
Results :
The FreeBSD OS has not been altered, it a vanilla install.
Can anyone provide any insight in to these results? Why is the reverse bandwidth so low when using a 10Gpbs NIC? What settings could be altered to increase bandwidth/PPS?
Is anyone else experiencing similar issues?
Any and all help greatly appreciated.
Regards,
Stevo.
I am using FreeBSD based servers to process UDP traffic on AWS EC2. I am encountering major issues achieving anything close to decent network performance when processing UDP traffic (no issues with TCP).
I setup the test environment detailed below and used iperf to send and receive data from a firing station on an external host to a server on AWS EC2. See the test results below.
iperf v2.0.13 on both servers.
- Firing-Station1: VMware External - FreeBSD 11.4-R-p3; 4 core, 4GB RAM; no tweaks; NIC: 10Gbps vmxnet3 default offloading; [iperf -ue -c x.x.x.x -X -t10 -b <pps cap> pps -r -l512 ]
- Receiver: AWS EC2 - FreeBSD 11.4-R-p3; c5n.xlarge; no tweaks; NIC x 2: 10Gpbs ENA 2.2.0 default offloading; [iperf -b10g -eus] (only one NIC with public IP)
Results :
datagram sz | pps cap | emitting bandwidth | emitting total/pps | in-transit loses | received bandwith | received total | reverse bandwidh | reverse total/pps | in-transit loses |
---|---|---|---|---|---|---|---|---|---|
512 | 700k | 1.88 Gbps | 4636865/459497 | 83% | 317 Mbps | 780787 | 354 Mbps | 865873/86547 | 0% |
512 | 700k | 1.86 Gbps | 4575497/453265 | 83% | 314 Mbps | 773108 | 374 Mbps | 913491/91309 | 0% |
512 | 500k | 1.84 Gbps | 4524000/448361 | 83% | 307 Mbps | 776176 | 341 Mbps | 832814/83282 | 0% |
512 | 500k | 1.85 Gbps | 4569716/452768 | 83% | 317 Mbps | 781555 | 373 Mbps | 910784/91079 | 0% |
512 | 250k | 1.01 Gbps | 2500001/247770 | 69% | 314 Mbps | 774888 | 362 Mbps | 884735/88476 | 0% |
512 | 250k | 1.01 Gbps | 2500001/247764 | 69% | 314 Mbps | 775337 | 347 Mbps | 847032/84707 | 0% |
512 | 80k | 325 Mbps | 800001/79279 | 3% | 315 Mbps | 776158 | 369 Mbps | 901813/90164 | 0.02% |
The FreeBSD OS has not been altered, it a vanilla install.
Can anyone provide any insight in to these results? Why is the reverse bandwidth so low when using a 10Gpbs NIC? What settings could be altered to increase bandwidth/PPS?
Is anyone else experiencing similar issues?
Any and all help greatly appreciated.
Regards,
Stevo.