LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems
碩士 === 國立暨南國際大學 === 資訊管理學系 === 93 === As the explosion of Internet, adding Internet connectivity is required for embedded systems. TCP/IP protocol is the core technology for Internet connectivity. However, TCP/IP codes developed for general-purpose operating systems may not be suitable for operating...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2005
|
Online Access: | http://ndltd.ncl.edu.tw/handle/06817283382184894290 |
id |
ndltd-TW-092NCNU0396022 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-092NCNU03960222016-06-13T04:16:43Z http://ndltd.ncl.edu.tw/handle/06817283382184894290 LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems LyraNET:嵌入式系統之有效率的TCP/IP通訊協定 Yun-Chen Li 李昀宸 碩士 國立暨南國際大學 資訊管理學系 93 As the explosion of Internet, adding Internet connectivity is required for embedded systems. TCP/IP protocol is the core technology for Internet connectivity. However, TCP/IP codes developed for general-purpose operating systems may not be suitable for operating in embedded environments, especially embedded systems are usually resource limited in terms of processing power, memory, and power consumption. Therefore, embedded TCP/IP should be designed to be efficient in the usage of limited resource. Zero-copy is a mechanism in which data from network card is directly received in the user buffer and data from user buffer is directly sent to network card. No data copying between user buffers and kernel buffers is needed. Through the zero-copy implementation in TCP/IP protocol stack for embedded systems, CPU processing time and memory usage for data transmission can be reduced. As a result, power consumption can be reduced too. In this thesis, we present the design and implementation of zero-copy mechanisms in the target embedded TCP/IP component, LyraNET. Two mechanisms named “Simple Copy Elimination” and “Enhanced Copy Elimination” are developed to eliminate data copying in TCP/IP transmission. We also present the modifications of the related data structures and TCP/IP protocol stack codes for incorporating these mechanisms. Because of these modifications, network card drivers should also be modified to work with these new mechanisms. In summary, the main tasks of this study include (1) analyzing overheads in TCP/IP transmission, (2) developing zero-copy mechanisms for LyraNET, (3) modifying network drivers to work with new mechanisms. Mei-Ling Chiang 姜美玲 2005 學位論文 ; thesis 0 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立暨南國際大學 === 資訊管理學系 === 93 === As the explosion of Internet, adding Internet connectivity is required for embedded systems. TCP/IP protocol is the core technology for Internet connectivity. However, TCP/IP codes developed for general-purpose operating systems may not be suitable for operating in embedded environments, especially embedded systems are usually resource limited in terms of processing power, memory, and power consumption. Therefore, embedded TCP/IP should be designed to be efficient in the usage of limited resource.
Zero-copy is a mechanism in which data from network card is directly received in the user buffer and data from user buffer is directly sent to network card. No data copying between user buffers and kernel buffers is needed. Through the zero-copy implementation in TCP/IP protocol stack for embedded systems, CPU processing time and memory usage for data transmission can be reduced. As a result, power consumption can be reduced too.
In this thesis, we present the design and implementation of zero-copy mechanisms in the target embedded TCP/IP component, LyraNET. Two mechanisms named “Simple Copy Elimination” and “Enhanced Copy Elimination” are developed to eliminate data copying in TCP/IP transmission. We also present the modifications of the related data structures and TCP/IP protocol stack codes for incorporating these mechanisms. Because of these modifications, network card drivers should also be modified to work with these new mechanisms. In summary, the main tasks of this study include (1) analyzing overheads in TCP/IP transmission, (2) developing zero-copy mechanisms for LyraNET, (3) modifying network drivers to work with new mechanisms.
|
author2 |
Mei-Ling Chiang |
author_facet |
Mei-Ling Chiang Yun-Chen Li 李昀宸 |
author |
Yun-Chen Li 李昀宸 |
spellingShingle |
Yun-Chen Li 李昀宸 LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems |
author_sort |
Yun-Chen Li |
title |
LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems |
title_short |
LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems |
title_full |
LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems |
title_fullStr |
LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems |
title_full_unstemmed |
LyraNET: An Efficient TCP/IP Protocol Stack for Embedded Systems |
title_sort |
lyranet: an efficient tcp/ip protocol stack for embedded systems |
publishDate |
2005 |
url |
http://ndltd.ncl.edu.tw/handle/06817283382184894290 |
work_keys_str_mv |
AT yunchenli lyranetanefficienttcpipprotocolstackforembeddedsystems AT lǐyúnchén lyranetanefficienttcpipprotocolstackforembeddedsystems AT yunchenli lyranetqiànrùshìxìtǒngzhīyǒuxiàolǜdetcpiptōngxùnxiédìng AT lǐyúnchén lyranetqiànrùshìxìtǒngzhīyǒuxiàolǜdetcpiptōngxùnxiédìng |
_version_ |
1718302976062259200 |