Skip to content

Etherate Performance Tests

James Bensley edited this page Nov 22, 2017 · 5 revisions

Scenario 1

Etherate Version: 1.15 2017-10
OS: CentOS 7.4.1708
Kernel: 3.10.0-693.5.2.el7.x86_64
CPU: XeoN E5-2620 v4 @ 2.10GHz
NIC: HPE Ethernet 10Gb 2-port 562SFP+ Adapter (lspci -nn: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572])
NIC ROM: 1.1375
NIC Firmware: 4.61
NIC Driver: 1.6.27-k

Scenario 1 - 1514 byte Frames

$ gcc -o etherate etherate.c -Wall -Werror -ftrapv -pedantic -lrt -lm -std=gnu11 -O3
$ sudo taskset -c 3 ./etherate -g -G -i ens2f0 -t 30 -f 1500
...
Frame size is 1514 bytes
...
Test frames transmitted: 21459261
...
Maximum speed during test: 8711.90Mbps, 719278Fps
Average speed during test: 8663.82Mbps, 719278Fps

Scenario 2

Etherate Version: 1.15 2017-10
OS: CentOS 7.4.1708
Kernel: 3.10.0-693.5.2.el7.x86_64
CPU: XeoN E5-2620 v4 @ 2.10GHz
NIC: HPE Ethernet 10Gb 2-port 562SFP+ Adapter (lspci -nn: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572])
NIC ROM: 1.1752
NIC Firmware: 5.60
NIC Driver: 2.3.6

Scenario 2 - 1514 Byte Frames

$ gcc -o etherate etherate.c -Wall -Werror -ftrapv -pedantic -lrt -lm -std=gnu11 -O3
$ sudo taskset -c 3 ./etherate -g -G -i ens2f0 -t 30 -f 1500
...
Frame size is 1514 bytes
...
Test frames transmitted: 20895256
...
Maximum speed during test: 8616.48Mbps, 711400Fps
Average speed during test: 8436.11Mbps, 711400Fps

$ for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do sudo bash -c "echo -n performance > $CPUFREQ"; done
$ sudo taskset -c 2 ./pcm-pcie.x 1 (*seperate test)
...
Detected Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz "Intel(r) microarchitecture codename Broadwell-EP/EX"
...
VAL:	Skt	PCIeRdCur	RFO	CRd	DRd	ItoM	PRd	WiL
AVG:	0	17M		192K	348K	685M	2	494	727K (*excel)
MAX:	0	17M		217K	658K	9622M	24	3372	737K (*excel)

Scenario 2 - 64 Byte Frames

$ gcc -o etherate etherate.c -Wall -Werror -ftrapv -pedantic -lrt -lm -std=gnu11 -O3
$ sudo taskset -c 3 ./etherate -g -G -i ens2f0 -t 30 -f 50
...
Frame size is 64 bytes
...
Test frames transmitted: 22314574
...
Maximum speed during test: 387.71Mbps, 757244Fps
Average speed during test: 380.84Mbps, 757244Fps

$ for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do sudo bash -c "echo -n performance > $CPUFREQ"; done
$ sudo taskset -c 2 ./pcm-pcie.x 1 (*seperate test)
...
Detected Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz "Intel(r) microarchitecture codename Broadwell-EP/EX"
...
VAL:	Skt	PCIeRdCur	RFO	CRd	DRd	ItoM	PRd	WiL
AVG:	0	2274K		202K	392K	9760K	2	370	772K (*excel)
MAX:	0	2290K		205K	978K	9884K	24	3396	774K (*excel)