Performance analysis and optimization of user space versus kernel space network application

Operating systems such as Linux cater to numerous network applications ranging from daemons that provide services namely HTTPd and SSHd to client programs that access these services. Traditionally, these programs are written in user space and use system calls to switch to the kernel so that operatio...

Full description

Saved in:
Bibliographic Details
Main Authors: K., Minghao, Y.C., Khong, K.K., Ettikan
Format: Conference or Workshop Item
Published: 2007
Subjects:
Online Access:http://eprints.utp.edu.my/368/1/paper.pdf
http://www.scopus.com/inward/record.url?eid=2-s2.0-50449106004&partnerID=40&md5=86eeabf32a3672979950dfe5a7e18c10
http://eprints.utp.edu.my/368/
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Operating systems such as Linux cater to numerous network applications ranging from daemons that provide services namely HTTPd and SSHd to client programs that access these services. Traditionally, these programs are written in user space and use system calls to switch to the kernel so that operations such as establishing a socket, read or write can be executed. This paper discusses the alternative to the above method which is to implement these user space applications in the kernel. In this research, the performance of UDP implementations of server and client programs in the user space are compared to running them in the kernel space. It proofs the concept that implementing applications in the kernel space reduces the CPU load and enables slightly faster goodput rate due to lesser context-switching between the user and kernel space. ©2007 IEEE.