Skip to content

EtherateMT Performance Tests

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

Scenario 2

EtherateMT Version: 0.3.beta 2017-07
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_mt etherate_mt.c -lpthread -Wall -Werror -pedantic -ftrapv -O3 --std=c11
$ sudo taskset -c 3-5 ./etherate_mt -i ens2f0 -c 1 -v
...
Frame size set to 1514 bytes
Using PACKET_MMAP (*v3?)
Frame block size 2048, frames per block 2, block size 4096, block number 256, frames in ring 512
Forced write buffer size is now 1048576 bytes
Trying to offload Rx timestamps to hardware... (success)
...
Maximum speed during test: 9.85Gbps, 812936Fps (*Excel)
Average speed during test: 9.84Gbps, 812512Fps (*Excel)

$ 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"
...
	Skt	PCIeRdCur	RFO	CRd	DRd	ItoM	PRd	WiL
AVG:	0	21M		221K	2648K	23M	5	497	56K (*excel)
MAX:	0	21M		244K	3237K	24M	36	3780	57K (*excel)

Scenario 2 - 64 Byte Frames

$ gcc -o etherate_mt etherate_mt.c -lpthread -Wall -Werror -pedantic -ftrapv -O3 --std=c11
$ sudo taskset -c 3-5 ./etherate_mt -i ens2f0 -c 1 -v -f 64
...
Frame size set to 64 bytes
Using PACKET_MMAP (*v3?)
Frame block size 128, frames per block 32, block size 4096, block number 256, frames in ring 8192
Forced write buffer size is now 1048576 bytes
Trying to offload Rx timestamps to hardware... (success)
...
Maximum speed during test: 0.77Gbps, 1507328Fps (*Excel)
Average speed during test: 0.77Gbps, 1503772Fps (*Excel)

$ 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"
...
	Skt	PCIeRdCur	RFO	CRd	DRd	ItoM	PRd	WiL
AVG:	0	5686K		391K	789K	25M	2	445	1525K (*excel)
MAX:	0	5705K		414K	2138K	26M	24	3372	1529K (*excel)