Analysis and design of communication server based on EPOLL and SPED
Jie Song · Jisuanji gongcheng · 2004
Generally,Multi-Processes and Multi-Threads and Blocked I/O or SPED are adopted by the communication server. A communication server was designed,the main performance bottleneck when adopting those network I/O mechanisms under the high payloads was analyzed,and was pointed out that the new SPED I/O methods — EPOLL which is new POLL optimized for bottlenecks should be adopted. Furthermore,when communication server was under different payloads and network circumstance,the self-adapted policy of the forwarding and sending mode was adopted to improve the server performance. Experiments show that the performance of the communication server adopting EPOLL is more than 5 times higher than those adopting traditional SELECT and POLL.