Embedded systems are usually resource limited in terms of processing power, memory, and power consumption, thus embedded TCP/IP
should be designed to make the best use of limited resources. Applying zero-copy mechanism can reduce memory usage and CPU
processing time for data transmission. Power consumption can be reduced as well.
In this paper, we present the design and implementation of zero-copy mechanism in the target embedded TCP/IP component, LyraNET,
which is derived from Linux TCP/IP codes and remodeled as a reusable software component that is independent from operating
systems and hardware. Performance evaluation shows that TCP/IP protocol processing overhead can be significantly decreased
by 23–63%. Besides, object code size of this network component is only 77.64% of the size of the original Linux TCP/IP stack.
The experience of this study can serve as the reference for embedding Linux TCP/IP stack into a target system that requires
network connectivity and improving the transmission efficiency of Linux TCP/IP by zero-copy implementation.
Keywords Embedded TCP/IP - Zero-copy - Embedded operating systems - Linux
This paper is an extended version of the paper “LyraNET: A Zero-Copy TCP/IP Protocol Stack for Embedded Operating Systems”
that appeared in the 11th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications.
Mei-Ling Chiang received the B.S. degree in Management Information Science from National Chengchi University, Taipei, Taiwan, in 1989. She
received the M.S. degree in 1993 and her Ph.D degree in 1999 in Computer and Information Science from National Chiao Tung
University, Hsinchu, Taiwan. Now she is an Assistant Professor in the Department of Information Management at National Chi-Nan
University, Puli, Taiwan. Her current research interests include operating systems, embedded systems, and clustered systems.
Yun-Chen Lee received the B.S degree in 2002 and the M.S. degree in 2005 in Information Management from National Chi-Nan University, Puli,
Taiwan. He is currently a software engineer in InterVideo Digital Tech., responsible for software development of multimedia-related
products.