Performance Analysis and Optimization of User Space versus Kernel Space Network Application

Koh Minghao, Khong Yun Chyang, E. Karuppiah
{"title":"Performance Analysis and Optimization of User Space versus Kernel Space Network Application","authors":"Koh Minghao, Khong Yun Chyang, E. Karuppiah","doi":"10.1109/SCORED.2007.4451372","DOIUrl":null,"url":null,"abstract":"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 LDP 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 CPL load and enables slightly faster goodput rate due to lesser context-switching between the user and kernel space.","PeriodicalId":443652,"journal":{"name":"2007 5th Student Conference on Research and Development","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2007 5th Student Conference on Research and Development","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCORED.2007.4451372","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

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 LDP 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 CPL load and enables slightly faster goodput rate due to lesser context-switching between the user and kernel space.
用户空间与内核空间网络应用的性能分析与优化
像Linux这样的操作系统迎合了大量的网络应用程序,从提供HTTPd和SSHd服务的守护进程到访问这些服务的客户端程序。传统上,这些程序是在用户空间中编写的,并使用系统调用切换到内核,以便执行诸如建立套接字、读取或写入之类的操作。本文讨论了上述方法的替代方法,即在内核中实现这些用户空间应用程序。在本研究中,将服务器和客户端程序的LDP实现在用户空间中的性能与在内核空间中的性能进行了比较。它证明了这样一个概念,即在内核空间中实现应用程序可以减少CPL负载,并且由于用户和内核空间之间较少的上下文切换,可以略微加快goodput速率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信