Netdp is porting from FreeBSD TCP/IP stack, and provide a userspace TCP/IP stack for use with the Intel dpdk.
librte_netdp: TCP/IP stack static library. netdp use dpdk mbuf, ring, memzone, mempool, timer, spinlock. so zero copy mbuf between dpdk and netdp.
librte_netdpsock: Netdp socket lib for application, zero copy between netdp and application.
netdp_cmd: Command for configure netdp tcp/ip stack.
netdp_test: Example application with netdp for testing netdp tcp/ip stack
Support environment
Support feature:
Next Planning
You can get more information and instructions from wiki page.
ENV: CPU- intel xeon 2.3G, NIC- 10G, Test tool:ab
Procedure: ab establish tcp connection to netdp tcp server, ab download one data, netdp tcp server close socket.
Command: ab -n 1000000 -c 500 2.2.2.2:8089/
|--------------------------------------|
| TCP Server accept performance |
|--------------------------------------|
| Linux with epoll | NETDP with epoll |
| (Multi core) | (one core) |
|--------------------------------------|
| 53k connection/s | 43k connection/s |
|--------------------------------------|
L3 forwarding performance testing
ENV: CPU- intel xeon 2.3G, NIC- 10G, one lcore rx packets-->l3 forwarding --> tx packets, Test tool:pktgen-DPDK
|--------------------------------------|
| L3 forwarding performance |
| (one lcore) |
|--------------------------------------|
| Packet size(byte)| Throughput(Mpps) |
|--------------------------------------|
| 64 | 3.682 |
|--------------------------------------|
| 128 | 3.682 |
|--------------------------------------|
| 256 | 3.683 |
|--------------------------------------|
| 512 | 2.35 |
|--------------------------------------|
| 1024 | 1.197 |
|--------------------------------------|
| 1500 | 0.822 |
|--------------------------------------|
EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel.
EAL: This may cause issues with mapping memory into secondary processes
$ sudo sysctl -w kernel.randomize_va_space=0
BSD LICENSE, you may use netdp freely.
For free support, please use netdp team mail list at zimeiw@163.com. or QQ Group:86883521
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。