Scalable locality-aware event dispatching mechanism for network servers


          

刊名:IEE Proceedings
作者:H. -R. Liu
T. -F. Chen
刊号:730C0004-L
ISSN:1462-5970
出版年:2004
年卷期:2004, vol.151, no.3
页码:129-137
总页数:9
分类号:TM92
语种:eng
文摘:Network servers often need to process a large amount of network events asynchronously. They usually use select () or poll () to retrieve events from file descriptors. However, previous researches have shown that these system calls scale poorly when the number of open connections is significantly increased. Several kernel-level solutions have been proposed. In the paper, the authors first compare several event-dispatching mechanisms available under Linux, and then present their user-level solution, which takes advantage of temporal locality among events while polling. They show that a memory-based Web server with their approach can have about 20-30% performance improvement.