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

基于Linux的Socket网络编程的性能优化
引用本文:王雷,王子淘. 基于Linux的Socket网络编程的性能优化[J]. 国外电子元器件, 2009, 0(9): 101-103
作者姓名:王雷  王子淘
作者单位:太原理工大学信息和通信工程学院;天津大学计算机学院;
摘    要:介绍在Linux操作系统环境下Socket网络编程的原理、流程和最终实现。编程采用客户端,月艮务器模式。提出解决多个客户端连接服务器时无法处理I/O多路复用问题的方法。提出通过最小化报文传输来减少传输时延.为BandwidthDelayProduct调节TCP窗口,实现充分利用带宽提高Linux的Socket性能。在实际网络传输环境复杂多变的情况下,达到优化网络传输性能的目的。

关 键 词:Linux  性能优化  Socket  select(  )

Performance optimization of Socket network programming based on Linux
WANG Lei,WANG Zi-tao. Performance optimization of Socket network programming based on Linux[J]. International Electronic Elements, 2009, 0(9): 101-103
Authors:WANG Lei  WANG Zi-tao
Affiliation:WANG Lei1,WANG Zi-tao2(1.School of Information and Communication Engineering,Taiyuan University of Technology,Taiyuan 030024,China,2.School of Computer,Tianjin University,Tianjin 300072,China)
Abstract:This paper describes the principle process and ultimate of socket network programming in the environment of Linux.The programming adopts Client/Server mode,it shows a method to solve the problem that is unable to deal with multiplexing of I/O when several clients connect to server at the same time.This paper proposes to improve the performance of Socket based on Linux by minimizing message transmission to reduce the delay,and adjusts TCP window for Bandwidth Delay Product to make full use of bandwidth.At la...
Keywords:Linux  performance optimization  Socket  select()  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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