检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]电子科技大学计算机科学与工程学院,四川成都610054
出 处:《计算机应用》2004年第10期36-39,共4页journal of Computer Applications
基 金:国家信息产业部电子发展基金资助项目 (信部运 (2 0 0 4))
摘 要:通信服务器通常采用多进程、多线程同步阻塞I/O或者是基于SELECT、POLL的单线程事件驱动I/O(SingleProcessEvent Driven)等方式设计。设计了一个通信服务器,分析指出几种网络I/O方式在高并发连接下其性能已经成为首要瓶颈,提出采用一种新的单线程异步事件驱动I/O方式—EPOLL,针对传统的POLL作了相关的优化;根据通信服务器特性提出了在不同服务器负载和网络条件下,采取几种转发模式和发送模式的自适应匹配策略用以提高服务器性能。通过实验表明,基于采用EPOLL技术和自适应匹配策略的服务器比传统的基于SELECT、POLL的服务器提高了五倍的性能。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.
关 键 词:热连接 冷连接 整包转发 立即转发 动态水线发送 静态水线发送
分 类 号:TP315[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.166