轻量级TCP/IP协议栈机制分析与优化  被引量:9

Analysis and Optimization of Lightweight TCP/IP Protocol Stack Mechanism

在线阅读下载全文

作  者:袁中书 陆阳[1] 

机构地区:[1]合肥工业大学计算机与信息学院,合肥230009

出  处:《计算机工程》2015年第2期317-321,共5页Computer Engineering

基  金:安徽省科技攻关计划基金资助重大项目(11010201011)

摘  要:轻量级TCP/IP协议栈(Lw IP)主要应用于资源受限的嵌入式设备。为满足嵌入式设备对实时性的要求,分析Lw IP的内部机制,对其进行性能瓶颈分析,并根据分析结果设计、实施Lw IP的实时性和优先级管理优化方案。Lw IP的主要性能瓶颈是内存拷贝和校验过程,据此给出优化后的内存拷贝算法和校验算法。为满足紧急数据对更高优先级的要求,给出Lw IP协议栈优先级管理机制,能够确保高优先级标记的紧急数据包优先传输于普通数据包。实验结果表明,该优化方法可以显著提高Lw IP的实时性能。Lightweight TCP/IP protocol stack(LwIP) is mainly used in resource-constrained embedded devices.In order to meet the real-time requirement of the embedded device,this paper analyzes the internal mechanism of LwIP,conducts a performance bottleneck analysis by experimental measurements,and designs the optimization program of LwIP.The main performance bottlenecks of LwIP are memory copy and verification process.Accordingly,the optimized algorithms of memory copy and checksum are presented.Additionally,in order to meet the higher priority requirement of the urgent data,this paper presents the management mechanism of the priority,and ensures that the emergency packets take precedence over ordinary data packets.Experimental tests are presented to prove that these optimization methods improve the real-time performance of LwIP.

关 键 词:轻量级TCP/IP协议栈 嵌入式 实时性 优化 优先级 等待队列 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象