网络层协议处理器的设计及研究.pdfVIP

  • 0
  • 0
  • 约7.62千字
  • 约 6页
  • 2019-07-25 发布于未知
  • 举报
网络层协议处理器的设计与研究 The Design and Research about Protocol Processor at Network layer (湖南大学)颜永红 张 帆 YAN YONGHONG ZHANG FAN 摘要:吉比特网络下,网络终端CPU 处理TCP/IP 协议的能力已经成为网络应用的瓶颈。为了 使终端用户能充分利用广阔的带宽资源,该文提出了一种硬件实现方法,将原来由软件完成的 IP 层协议功能完全卸载出来,并通过 DMA (直接存储器访问)接口直接进行主存读写,从而 减少了CPU 的负荷。并且基于FPGA 设计流程,通过功能仿真、综合后仿真、布局布线后 仿真验证了协议处理器的可行性。该处理器具有灵活的电路接口,所用逻辑资源少,管脚数量 少,成本低易于集成,是一种高效的解决方案。 关键词:TCP/IP;直接存储器访问;协议处理器 中图分类号:TN409 文献标识码:A Abstract:Over Gigabit Ethernet,the terminal cpu that executes the TCP/IP stack software has become the bottleneck. In order that the end-user can take advantage of the vast band resource, this paper presents a design based on hardware to offload the total tasks involved in IP layer which were traditionally processed in software and it can directly read and write main memory through DMA(direct memory access) interface, so that the burden of CPU will be reduced. The feasibility of the design has been proved by functional simulation, post-synthesis simulation and post-placeroute simulation. This processor is a highly efficient solution with flexible circuit interfaces , less logic resources , less base pins, easy access to be integrated at low cost. Key words:Gigabit Ethernet,direct memory access,protocol processor 1 前言 TCP/IP 协议历来是处理网络上数据传输的通用语言,传统的TCP/IP 技术在处理数据传输的 过程中采用软件实现,需要占用大量的处理器资源。随着网络技术的发展,网络带宽平均每 12 个月就增长3 倍,美国西蒙公司已经第一个推出了支持 10G 到桌面的布线系统。而且, 10G BaseT IEEE 标准的草案已经于2004 年6 月出台,最终发布时间预计为2006 年6 月。 同期CPU 的处理速度则遵循了摩尔定律即每18 个月增长2 倍。而基本上 1Hz 的处理器最 多可以处理每秒 1bit 数据传送所产生的负载。实验表明,在 800Mbit/s 的线速度下,1GHz 的Pentium3 处理器资源占用率为100%,2.4GHz 的Pentium4 处理器资源占用率为30%[3] 。 很明显CPU 的性能已经日益跟不上网络技术的进步。今后网络运用的瓶颈不再是带宽资源, 而是主机CPU 处理TCP/IP 协议栈的能力。 IP 协议是TCP/IP 协议族中最核心的协议,所有的TCP、UDP 、ICMP 以及IGMP 数据都以 IP 数据报格式传输,处理IP 协议要耗费大量的CPU 资源。为实现减轻处理器负荷、提高网 络利用率的目的,可通过硬件卸载IP 协议的部分任务。 本文提出了一

文档评论(0)

1亿VIP精品文档

相关文档