基于 DPDK 的 TCP/IP 协议栈 DPDK-ANS

码农软件 · 软件分类 · 网络工具包 · 2019-02-26 20:42:08

软件介绍

ANS(Acceleted Network Stack) 是一个基于 DPDK 的 TCP/IP stack,可以运行在 linux userspace。用户可以自由添加、删除ether 接口和IP地址,添加、删除静态路由。

支持的环境

  • EAL is based on dpdk-1.7.0

  • Development enviroment is based on x86_64-native-linuxapp-gcc

  • TCP/IP stack is based on FreeBSD 10.0-RELEASE

支持的特性

  • Netdp initialize

  • Ether layer

  • ARP

  • IP layer

  • Routing

  • ICMP

  • TCP

  • UDP

  • Commands for adding, deleting, showing IP address

  • Commands for adding, deleting, showing static route

Testing

  • TCP 连接建立释放性能

    |--------------------------------------| 
    |      TCP Server accept performance   |
    |--------------------------------------| 
    | Linux with epoll | NETDP with epoll  | 
    |    (Multi core)  |    (one core)     |
    |--------------------------------------|
    | 53k connection/s | 43k connection/s  | 
    |--------------------------------------|
  • TCP 数据传输性能

一个socket接收190Mbyte tcp payload,一个socket发送130Mbyte tcp playload

Communication(synchronization)  0 runtime:   0.734931 s
Communication(synchronization)  1 runtime:   0.469566 s
Communication(synchronization)  2 runtime:   0.449729 s
Communication(synchronization)  3 runtime:   0.648432 s
Communication(synchronization)  4 runtime:   0.449422 s
Communication(synchronization)  5 runtime:   0.647259 s
Communication(synchronization)  6 runtime:   0.457027 s
Communication(synchronization)  7 runtime:   0.457691 s
Communication(synchronization)  8 runtime:   0.67568 s
Communication(synchronization)  9 runtime:   0.736285 s
  • 三层转发性能

    |--------------------------------------| 
    |      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        | 
    |--------------------------------------|




本文地址:https://codercto.com/soft/d/203.html

众声喧哗

众声喧哗

胡泳 / 广西师范大学出版社 / 2008-9 / 35.00元

本书触及了网络政治学中的一个重大话题——网络空间中的私域与公域。随着科技的进步,在信息时代的开端,公与私的含义和边界都出现了不容忽视的游移。《众声喧哗》主要探讨,经由新的共有媒体的作用,传统的公私两分如何在社会和政治的双重压力下产生消长和易位。在这里,公域与私域不能看做结构性的东西,而必须视之为一种流和一种过程。在网络时代,我们既要追求生机勃勃的公共生活,又要保证私人领域一定的自主性。共有媒体也许......一起来看看 《众声喧哗》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码