节点文献

Linux集群中套接字迁移的研究与实现

Research and Implement of Socket Migration in Linux Cluster

【作者】 晏宁

【导师】 徐学洲;

【作者基本信息】 西安电子科技大学 , 计算机软件与理论, 2004, 硕士

【摘要】 随着高性能工作站的出现和高性能网络技术的飞速发展,集群计算逐渐成为一种具有很高性价比的的并行/分布式计算系统。集群计算系统的核心问题是资源的共享及有效利用,只有平衡的负载才能达到最大的资源使用率。进程是计算机系统中使用资源的基本单元,使进程能够动态的在集群节点间迁移是实现负载平衡的一种基本而有效的方法,这样就能使系统能适应负载的动态变化。在现在以地址为中心的通信模型中,进程迁移必然带来通信地址的变化,进程间的网络通信不仅直接影响迁移的透明性,带来了迁移限制,而且导致极大的剩余相关性,对迁移后的性能和系统的健壮性有很大的负面影响。因此,必须使集群系统能够提供对网络通信迁移的支持,保证网络通信不因为进程的迁移而中断。我们将其称为套接字迁移。 本文首先研究了MOSIX进程迁移机制,然后通过源码阅读分析了Linux系统TCP和UDP套接字的实现,并在此基础上,讨论了这两种套接字迁移中的关键问题;然后给出了内核级的迁移套接字的完整方案,实现了一个套接字迁移在MOSIX集群系统上的系统原型。解决了集群环境下进程迁移如何透明的保持TCP和UDP通信的问题。

【Abstract】 With the development of high performance workstation and network, cluster become an attractive platform for high end parellel and distributed computing. The core problem of cluster computing is resource sharing and its fully utilization,because the best performance can not be achieved when loads among nodes are unbalanced. A process is a basic unit of using resources in computer systems, so it is a basic and effective way to let processes migrate among nodes dynamically to achieve load balance, by which the cluster system can acclimatize itself to the changes of load. Transparence is a basic requirement for process migration. But in today’s address-centered communcation model.the IP address of a process changes when it migrate from one node to another. So the network communcation not only affect the transparence of process migration but lead to residual dependency.which put bad effect on the performance and robustness of the system. Therefore we must present a mechanism to support the migration of network communication so that the communication between processes is not affected by process migraion. We call it socket migration.In this paper, the process migration mechanism in MOSIX cluster is studied firstly .And then, the implementation of TCP and UDP socket in Linux are also studied by reading the Linux kernel source. On the basis of that , the key problems of socket migration are discussed. After that, a complete scheme of socket migration system in kernel level is presented and a prototype is implemented in MOSIX cluster which solved the problem of transparent TCP and UDP socket migration in Linux cluster.

  • 【分类号】TP316.81
  • 【被引频次】5
  • 【下载频次】242
节点文献中: 

本文链接的文献网络图示:

本文的引文网络