Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Process migration method and migratable operating system

An operating system and process technology, applied in the computer field, can solve a large amount of system overhead and other problems, achieve the effect of reducing system overhead and improving performance

Active Publication Date: 2014-10-15
HUAWEI TECH CO LTD +1
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method for process migration and a migratable operating system to solve the problem that a large amount of system overhead is required to ensure high availability and high fault tolerance of the operating system, so as to meet the high requirements of the operating system with a small system overhead. Availability and high fault tolerance to guarantee the performance of the entire operating system

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
  • Process migration method and migratable operating system
  • Process migration method and migratable operating system
  • Process migration method and migratable operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] figure 1 It is a flow chart of Embodiment 1 of the process migration method of the present invention, and the method is applicable to process migration between kernels in a multi-kernel operating system, especially process migration between a failed kernel and a normal kernel. Each core in a multi-core operating system can access memory spaces corresponding to other cores, and processes cannot run across multiple cores. The method in this embodiment can be executed by a portable operating system, such as figure 1 As shown, the method may include:

[0078] S101. Maintain process-related information of processes in all cores in a global information table stored on at least one core of the multi-core operating system.

[0079] In a multi-core operating system, the operating system allocates memory space for each core as local memory, and each core manages the processes running in the local memory, and other cores can access the local memory, but processes cannot run acro...

Embodiment 2

[0095] figure 2 It is a flow chart of Embodiment 2 of the process migration method of the present invention. On the basis of the above embodiments, this embodiment further, as follows figure 2 As shown, the method may also include the following steps:

[0096] S201. Each kernel locally creates the system-wide data information table and the system-wide status information table when the operating system is started.

[0097] S202. Each core sends the core number, the global descriptor table entry and the global descriptor table size to other cores, so as to update the system-wide state information tables of other cores.

[0098] When the operating system starts, each kernel locally builds the system-wide data information table and the system-wide status information table, and sends the kernel location, kernel access mode, kernel number, GDT entry and GDT size to other kernels, and other kernels receive The information of each core is stored in the corresponding position of the ...

Embodiment 3

[0104] image 3 It is a flow chart of Embodiment 3 of the process migration method of the present invention. This embodiment is based on the above embodiments, as follows image 3 As shown, the monitoring whether a trigger condition for process migration is generated may include:

[0105] S301. Each core sends a message to other cores.

[0106] S302. Each kernel determines a kernel that does not return a response within a set time as a failed kernel, and the determined failed kernel serves as a trigger condition for generating a process migration.

[0107] Specifically, in order to monitor whether the kernel in the operating system fails in real time and thus perform process migration, each kernel can send a message to other kernels, and after receiving the message, other kernels return a response message to each kernel within a set time, so as to It indicates that the kernel is in a normal working state. If no response message is returned within the set time, the kernel is ...

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 embodiments of the invention provide a process migration method and a migratable operating system. The process migration method provided by the invention comprises the steps: maintaining process-related information of processes in all kernels in a global information table, which stored in at least one kernel of a multi-kernel operating system; monitoring whether process migration trigger conditions are generated or not; when the condition that the process migration trigger conditions are generated is monitored, extracting process-related information, which corresponds to processes to be migrated on a source kernel, from the global information table; acquiring process data of the processes to be migrated according to the process-related information; migrating the processes to be migrated to a target kernel for running from the source kernel according to the process data. According to the process migration method and the migratable operating system, provided by the embodiments of the invention, the process-related information of the kernels is maintained, and the processes to be migrated are migrated to other kernels for running according to the process-related information when some kernel is in failure, so that the condition that high fault tolerance for the operating system is guaranteed under the condition of relatively small system overhead is realized, and the problem that the performance of the operating system is affected due to large system overhead is solved.

Description

technical field [0001] The embodiment of the present invention relates to computer technology, in particular to a process migration method and a migrateable operating system. Background technique [0002] Computing system is a data processing tool commonly used in work and life. It generally includes memory, processor and peripherals, etc., and is also equipped with system software and application software to realize various functions. A personal computer is a typical computing system. With the development of computer technology, there are more and more processors in the computing system, and the probability of software and hardware failures also increases. How to ensure the high availability and high fault tolerance of the operating system has become an urgent problem to be solved. [0003] Computing systems often use a multi-core operating system. The operating system deploys a core for each processor. When the software or hardware of the computing system fails, it will b...

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/48
Inventor 王磊詹剑锋林鑫龙张立新
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products