首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 93 毫秒
1.
本文介绍了Windows套接字的I/O方法,以及如何利用完成端口管理套接字的I/O操作,进而开发高效的Windows网络通信程序。  相似文献   

2.
本文介绍了Windows套接字的I/O方法,以及如何利用完成端口管理套接字的I/O操作,进而开发高效的Windows网络通信程序.  相似文献   

3.
介绍了Windows最复杂的内核对象IOCP(I/O Completion Port输入/输出完成端口)的基本原理。利用完成端口机制,应用程序能够为数百上千的用户服务。文章通过完成端口对象指定一定数量的线程,对重叠I/O请求进行管理,从而为已完成的重叠I/O请求提供服务。通过该模型编写的网络服务应用程序可以达到较好的性能。  相似文献   

4.
用I/O完成端口设计多线程的服务应用程序   总被引:6,自引:0,他引:6  
探讨了在Windows操作系统平台下用I/O完成端口开发多线程的服务器应用程序的方法。  相似文献   

5.
介绍了用完成端口编写高性能服务器程序。为了提高系统性能,采用完成端口和Windows Socket2.0结合可以开发出支持大量连接的网络服务程序,并结合实际应用阐述了在完成端口上处理数据的方法。  相似文献   

6.
周鹏  黄灿  江楠 《软件》2012,(2):31-32,35
完成端口是一种复杂的Win32内核对象。应用程序可以用完成端口管理线程池为大量的异步I/O请求提供服务,而不必为每个I/O请求分别创建服务线程。完成端口模型用于开发服务器应用程序,以提供优良的伸缩性和获得最好的系统性能。本文构建了一个基本的网络服务器程序框架,对完成端口模型的用法进行阐述与分析。  相似文献   

7.
为了构建具有大响应规模、高数据吞吐量、合理资源消耗的考试服务端通信层,分析完成端口(IOCP)开发中的"信息识别、资源管理、消息乱序处理"等关键问题,提出内存池、对象池、环形缓存等改进方法,在此基础上设计和实现基于IOCP的高性能、可扩展网络考试系统通信模块。实际应用表明,该模块能满足高性能的要求。  相似文献   

8.
基于单个I/O完成端口的HTTP代理方法研究   总被引:5,自引:0,他引:5  
介绍了利用I/O完成端口进行网络代理服务器设计的一种方法。为了提高程序运行效率,便于自主控制程序流程,并解决多个Socket管理复杂的问题,给出了一种成功的解决方案,并结合实际应用详细地阐述了在单个完成端口上实现HTTP代理的具体过程。  相似文献   

9.
高性能代理服务器的实现   总被引:1,自引:0,他引:1  
文章针对代理服务器需要响应大规模用户请求并转发大量远程服务器的回应数据这一需要,综合分析系统整体I/O情况,采用不同解决方法处理与远程主机的连接和对数据的收发操作,有效地解决了多线程系统中高效和稳定的矛盾,同时利用缓存技术减少系统I/O量,提出了一种高性能的代理服务器的具体实现方案。  相似文献   

10.
本文对Windows与单片机的多机通信进行研究.针对实时控制系统中控机与前端处理机间数据传递的实时性要求,提出利用Win32 API函数和直接I/O端口函数混合编程的方案.解决了中控机与多个前端机之间数据通信的实时响应问题.  相似文献   

11.
In this paper, we study I/O server placement for optimizing parallel I/O performance on switch-based clusters, which typically adopt irregular network topologies to allow construction of scalable systems with incremental expansion capability. Finding optimal solution to this problem is computationally intractable. We quantified the number of messages travelling through each network link by a workload function, and developed three heuristic algorithms to find good solutions based on the values of the workload function. The maximum-workload-based heuristic chooses the locations for I/O nodes in order to minimize the maximum value of the workload function. The distance-based heuristic aims to minimize the average distance between the compute nodes and I/O nodes, which is equivalent to minimizing average workload on the network links. The load-balance-based heuristic balances the workload on the links based on a recursive traversal of the routing tree for the network. Our simulation results demonstrate performance advantage of our algorithms over a number of algorithms commonly used in existing parallel systems. In particular, the load-balance-based algorithm is superior to the other algorithms in most cases, with improvement ratio of 10 to 95% in terms of parallel I/O throughput.  相似文献   

12.
In this paper, we present a performance analysis of how effective video server applications can be supported on personal computers (PCs) connected through a local area network (LAN). We considered both the standard 16-Mbit/s token ring and a 100-Mbit/s token ring, which follows closely the specifications for the Fiber Distributed Data Interface (FDDI). We examined three I/O architectures for a PC-based video server: an interrupt-driven I/O architecture, a peer-to-peer I/O architecture, and a concurrent, object-based I/O architecture that we proposed. The video server must support multiple MPEG-1 video streams at the same time to multiple clients on the LAN. We found that the network protocol layers require a lot of processing power, and that an implementation of our proposed I/O architecture, which takes advantage of the available power of the host processor to off-load I/O adapters, can deliver much better performance, and is more cost-effective, than other I/O architectures in a video server environment.  相似文献   

13.
杨启亮  邢建春  王平 《计算机工程》2005,31(14):231-232,F003
给出了基于DCOM的DLLI/O驱动的封装方案,使客户程序具备了跨进程及计算机边界从而远程访问I/O设备的能力。文章在讨论封装方案的基础上,重点研究了客户程序与I/O组件服务器间的指针、数组、字符串及字符串数组等重要数据类型的数据传递技术。  相似文献   

14.
可扩展并行处理机系统有两个需要解决的问题:(1)多级互连网络的延迟;(2)吞吐能力;本文根据SPP体系结构的特点和实际应用的需要提出了解决这两个瓶颈问题的有效方法在前端服务器与共享存储器之间设计专用的并行I/O处理机作为系统I/O设备与SM/SSM的直接数据通路。  相似文献   

15.
一些特殊领域的应用对于性能要求很高,而通用单机TCP代理不能满足需求。文章分析了TCP代理的实现机制,借鉴TCP连接管理有限状态机、以异步I/O模型研究和实现了双机TCP代理,并将其应用于一个安全网关项目,取得良好效果。  相似文献   

16.
In the personal computing (PC) and workstation environments, more and more I/O adapters are becoming complete functional subsystems that are intelligent enough to handle I/O operations on their own without much intervention from the host processor. The IBM Subsystem Control Block (SCB) architecture has been defined to enhance the potential of these intelligent adapters by defining services and conventions that deliver command information and data to and from the adapters. The SCB architecture has two operating modes. The Locate Mode represents the conventional, interrupt-driven I/O protocol used in many current personal computers. The Move Mode embodies an advanced, peer-to-peer I/O protocol proposed for the next generation of personal computers. In this paper, we would like to discuss and present a performance analysis of the SCB architecture in typical video server environments. In particular, we study a video server capable of providing support for simultaneous MPEG-1 video streams to multiple clients on a 16-Mbps token-ring network. We also consider the performance impact of a hypothetical 100-Mbps token-ring technology on the video server performance.  相似文献   

17.
一个基于NOW的并行I/O系统   总被引:1,自引:0,他引:1  
李冀  陈晓林  陆桑璐  陈贵海  谢立 《软件学报》2001,12(11):1654-1659
随着NOW(networksofworkstations)在科学研究中的应用日益广泛,如何为NOW上的科学计算提供高性能的输入、输出成为人们所面临的一个新课题.根据NOW的特点,设计并实现了一个具有NOW特色的采用CollectiveI/O技术的并行I/O系统CION(collectiveI/Oonnowsystem).CION吸取了DDIO(disk-directedI/O)与two-phaseI/O的优点,同时采用了数据筛选等一系列优化技术.初步的测试已经显示了良好的系统性能.  相似文献   

18.
姚五星  李强 《计算机工程与设计》2007,28(13):3163-3165,3226
在设计服务器数目较多的流媒体业务时,如果客户端在多个服务器之间频繁切换,不仅会加重服务器的负担,还会增大对动态变化的客户组的管理难度.流媒体交换矩阵通过转发流媒体数据包,在两者之间建立映射关系,较好地解决了这一问题.为提高流媒体交换矩阵对数据包的转发速率,在对两种典型的网络模型进行比较之后,提出结合.NET平台,以托管完成端口机制作为流媒体交换矩阵的底层网络I/O模型.经测试,不仅可有效提高对数据包的转发速率,而且做到了跨平台实现,扩大了流媒体交换矩阵产品的应用范围.  相似文献   

19.
内存对象缓存系统在通信方面受制于传统以太网的高延迟,在存储方面受限于服务器内可部署的内存规模,亟需融合新一代高性能I/O技术来提升性能、扩展容量.以广泛应用的Memcached为例,聚焦内存对象缓存系统的数据通路并基于高性能I/O对其进行通信加速与存储扩展.首先,基于日益流行的高性能远程直接内存访问(remote direct memory access, RDMA)语义重新设计通信协议,并针对不同的Memcached操作及消息大小设计不同的策略,降低了通信延迟.其次,利用高性能NVMe SSD来扩展Memcached存储,采用日志结构管理内存与外存2级存储,并通过用户级驱动实现对SSD的直接访问,降低了软件开销.最终,实现了支持JVM环境的高性能缓存系统U2cache.U2cache通过旁路操作系统内核和JVM运行时与内存拷贝、RDMA通信、SSD访问交叠流水的方法,显著降低了数据访问开销.实验结果表明,U2cache通信延迟接近RDMA底层硬件性能;对大消息而言,相较无优化版本,性能提高超过20%;访问SSD中的数据时,相比通过内核I/O软件栈的方式,访问延迟最高降低了31%.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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