电子技术
電子技術
전자기술
ELECTRONIC TECHNOLOGY
2014年
7期
11-14
,共4页
用户空间协议栈%LWIP移植%性能优化
用戶空間協議棧%LWIP移植%性能優化
용호공간협의잔%LWIP이식%성능우화
user-level protocol stack%LWIP transplantation%performance optimization
文章将一个为嵌入式系统开发的轻量级用户空间协议栈LWIP移植到x86多核处理器上,并通过集成高速收发包引擎、优化关键数据结构及算法等措施提高其性能。论文介绍了与LWIP移植相关的系统模型设计、收发包引擎集成和操作系统抽象层实现,以及与LWIP优化相关的PCB管理、定时器管理与资源互斥锁实现。经实验,基于用户空间协议栈实现的web服务器,其性能比基于内核协议栈的web服务器提高了一倍。
文章將一箇為嵌入式繫統開髮的輕量級用戶空間協議棧LWIP移植到x86多覈處理器上,併通過集成高速收髮包引擎、優化關鍵數據結構及算法等措施提高其性能。論文介紹瞭與LWIP移植相關的繫統模型設計、收髮包引擎集成和操作繫統抽象層實現,以及與LWIP優化相關的PCB管理、定時器管理與資源互斥鎖實現。經實驗,基于用戶空間協議棧實現的web服務器,其性能比基于內覈協議棧的web服務器提高瞭一倍。
문장장일개위감입식계통개발적경량급용호공간협의잔LWIP이식도x86다핵처리기상,병통과집성고속수발포인경、우화관건수거결구급산법등조시제고기성능。논문개소료여LWIP이식상관적계통모형설계、수발포인경집성화조작계통추상층실현,이급여LWIP우화상관적PCB관리、정시기관리여자원호척쇄실현。경실험,기우용호공간협의잔실현적web복무기,기성능비기우내핵협의잔적web복무기제고료일배。
In this paper, we transport a lightweight user-level protocol stack LWIP developed for embedded system to x86 multi-core processor, and improved its performance by integrating high-speed packet I/O engine and optimizing the key data structures and algorithms. This paper introduces the design of system model, the integration with high-speed packet I/O engine and the implementation of operating system abstraction layer related to the transplantation of LWIP, and the PCB management, the timer management and the implementation of resource mutex related to the optimization of LWIP. The final experiment shows that the performance of web server based on user-level protocol stack is two times of that of the web server based on kernel-level protocol stack.