Ø CPU
Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz
Ø NIC
02:00.0 Ethernet controller: Intel Corporation 82599ES10-Gigabit SFI/SFP+ Network Connection (rev 01)
02:00.1 Ethernet controller: Intel Corporation 82599ES10-Gigabit SFI/SFP+ Network Connection (rev 01)
Ø Version
dpdk-17.05.2.tar.xz
Pktgen Ver: 3.4.2 (DPDK 17.05.2)
Pktgen port 0 -> ans routing forward (1 core)-> pktgen port 1
Ø ANS startup command
# ./build/ans -c 0x2 -n 1 --base-virtaddr=0x2aaa2aa0000 ---p 0x3 --config="(0,0,1), (1,0,1)"
ans> acl add index 1 srcaddr 2.0.0.0/24 dstaddr 3.0.0.0/24srcportstart 0 srcportend 65535 dstportstart 1 dstportend 1 protocol 0 iface any drop
….
ans> acl add index 1000 srcaddr2.0.0.0/24 dstaddr 3.0.0.0/24 srcportstart 0 srcportend 65535 dstportstart 1000dstportend 1000 protocol 0 iface any drop
Ø Testing result
Packet Size (Bytes) | Throughput (Mpps) |
64 | 8.43 |
128 | Line Rate |
128字节达到10G线速
详细测试步骤参见:
https://github.com/ansyun/dpdk-ans/tree/master/doc/guides