Mutual cooperation method for processes in cluster system

A cluster system and process technology, applied in multi-program device, program startup/switching, resource allocation, etc., can solve the problem of not knowing when the sub-server process will be completed

Inactive Publication Date: 2016-01-20
NANJING UNIV OF SCI & TECH
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] There is a problem in the current cluster, that is, the server process does not know when the sub-server process generated by it will be completed, so it can only passively wait for the sub-server process to complete, pass the result to itself, and then return the result to the requesting client end

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mutual cooperation method for processes in cluster system
  • Mutual cooperation method for processes in cluster system
  • Mutual cooperation method for processes in cluster system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0026] Such as figure 2 As shown, in a simplified cluster system, node 1 acts as a server, receives and processes external computing requests, and generates sub-processes to complete tasks. According to the principle of load balancing, sub-processes will be migrated to nodes with lighter loads in the cluster .

[0027] Modify the process control block (task_struct) to add a mosix field, named mosix.id, and the value of id is set to 0 or 1; when the server process receives the request from the client, it will call the process creation function fork() twice, Generate two sub-processes, the two sub-processes have the same function, the mosix.id of one process is 0, which means that the sub-process is the main sub-process, and the mosix.id of the other process is 1, which means that the sub-process is a sub-sub-process, and Its mosix.whereto field is 0; the newly generated secondary child process will not be migrated, and will not participate in process scheduling, and its proce...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a mutual cooperation method for processes in cluster system. The method comprises the following steps: firstly, generating two identical subprocesses to be a main subprocess and an auxiliary subprocess respectively, migrating the main subprocess to a cluster, and remaining the auxiliary subprocess on a server node; then, setting the running time for the main subprocess; finally, if the main process is not completed within the set running time, sending an incompletion signal to the auxiliary subprocess, discarding the main process, duplicating the auxiliary process to be a new main subprocess, and migrating the new main subprocess to the cluster. Through setting of the running time for a subprocess in a cluster, a server node process can know the completion time of the subprocess and restrict completion of the subprocess within a certain period of time.

Description

technical field [0001] The invention relates to Linux-based cluster system technology, in particular to a method for mutual cooperation of processes in the cluster system. Background technique [0002] There are many Linux-based cluster systems, and Openmosix is ​​one of them. Openmosix adopts a single system image mode, supports all UNIX interfaces and mechanisms, and has the following characteristics: transparency, ease of use, dynamic load balancing, distributed control, high scalability, preemptive process migration, and can achieve the greatest overall performance, and supports DFSA (DirectFileSystemAccess). [0003] The core function of the Openmosix cluster system is process migration within the cluster. Openmosix modifies the Linux kernel by patching to realize this function. The process migration system has two parts, one is the information collection algorithm and the resource sharing algorithm, and the other is the process migration mechanism. The cluster can a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F9/50
Inventor 任良成陈清华
Owner NANJING UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products