首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Linux下一种多核网络服务器模型设计与实现
引用本文:杨小宇,杨斌.Linux下一种多核网络服务器模型设计与实现[J].成都信息工程学院学报,2010,25(6).
作者姓名:杨小宇  杨斌
作者单位:西南交通大学信息科学与技术学院;
摘    要:传统的基于Linux操作系统的网络服务器程序在高负载情况下不能充分利用多核服务器硬件资源,其原因主要在于没有找到一种高效的服务器编程解决方案.为了解决这一问题,在分析了线程池技术和linux 2.6内核下的I/O多路复用技术各自的优缺点的基础上,设计并实现了一种在多核服务器平台上结合线程池和I/O多路复用的高性能网络服务器编程模型.通过实验表明,新的编程模型相对于线程池模型和单纯的I/O多路复用模型,其任务平均响应时间只占其它两种模型的8%和29%,而其平均吞吐量则达到了其它两种模型的8.4倍和1.9倍.

关 键 词:计算机应用技术  嵌入式系统  线程池  并发  多路复用

The Multi-Core Network Server Programming Model's Design and Implementation Under Linux
YANG Xiao-yu,YANG Bin.The Multi-Core Network Server Programming Model's Design and Implementation Under Linux[J].Journal of Chengdu University of Information Technology,2010,25(6).
Authors:YANG Xiao-yu  YANG Bin
Institution:YANG Xiao-yu,YANG Bin(School of Information Science and Technology,Southwest Jiaotong University,Chengdu 610000,China)
Abstract:Ttraditional network server applications can't exploit the hardware's performance when linux server encounters a large number of concurrent network connections,because there is no efficient solutions for this applications.For solving this problem,by analysing the merits and demerits of the programming method of thread pool and I/O multiplexing,a high performance network server model in multi-core cpu server plantform combining thread pool with I/O multiplexing is designed and implemented.Experiments show th...
Keywords:computer application technology  embedded system  thread pool  concurrence  multiplexing  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号