摘要
针对通用串口服务器性能低下的问题,通过对影响串口服务器性能的因素进行研究,指出了数据在内核态和用户态之间的反复拷贝引起的串口服务器性能低下的原因,并提出了改进方法。通过对内核网络子系统和串口子系统的改进,使得网络接口和串口之间传输的数据直接在内核态进行传输,从而减少了数据在内核态和用户态之间的拷贝数量,达到了提高串口服务器性能的目的。实验结果表明,经过修改的内核能够提高串口服务器的网络利用率和负载能力,减少网络响应时间。通过修改内核从而减少数据在内核态和用户态之间的拷贝,进而能够在一定程度上提高串口服务器的性能。
According to the problem of poor performance in general serial server, the factors of performance of the serial server is studied, and it is pointed out the reason of poor performance is repeated copies between kernel mode and user mode and the im- proved method is proposed. Through improving the kernel network subsystem and serial subsystem, the data between network and serial transports directly in kernel mode, the number of copies between kernel mode and user mode are reduced and the per- formance of serial server is improved. Finally, the experimental result shows that the improved kernel improves the network uti- lization and load capacity, reduces the response time of network and improves the performance of serial server through modifying the kernel.
出处
《计算机工程与设计》
CSCD
北大核心
2012年第4期1378-1384,共7页
Computer Engineering and Design