Multi-core system single-core abnormity restoration method

A multi-core system and recovery method technology, which is applied in the field of multi-core CPU systems, can solve problems such as restarting is not worthwhile, and achieve the effect of enhancing reliability and prolonging the running time

Active Publication Date: 2008-08-06
MAIPU COMM TECH CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Also, it's not worth rebooting the whole system for some non-fatal error

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
  • Multi-core system single-core abnormity restoration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] In a symmetrical multi-core CPU embedded system, such as figure 1 As shown, in step 101, an exception occurs due to an illegal operation of single core A. At this time, only single core A will jump to the exception vector and enter the CPU exception handling program, while other single cores are still running normally. In the exception handler of single core A, the exception information is first recorded, including: exception type, exception PC pointer, values ​​of all status registers, stack structure, etc.

[0025] In step 102, the single core A modifies the value of the state of the single core in the shared memory storage unit to "abnormal" in the exception handling program. When the system scheduling module performs task scheduling, it first judges the state of the current single core, and if the current state of the single core is abnormal, it does not schedule tasks to the single core.

[0026] In step 103, single-core A randomly selects a normal single-core B i...

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 present invention relates to a multi-core CPU system, in particular to a recovery method of a single-core exception for multi-core CPU systems. The technical problem to be solved by the present invention is to provide a recovery method of a single-core for multi-core CPU systems, which carries out recovery under the condition with no operation interrupt when some single core appears abnormal. In a exception processing program of the present invention, the own state is set to be abnormal first, then a single core in normal state is selected to assist recovery, and a system scheduling module is informed of the reassignment to system tasks, so as to ensure that the recovery work can be completed as soon as possible and the recovery time can be shortened. The present invention has the advantages that: the recovery method can effectively ensure that the operation of the system cannot be interrupted and the resources of the system cannot be lost before and after single-core exception and recovery; the abnormal single core can work normally after recovery, which prolongs the possible run time of the system and strengthens the reliability of the system.

Description

technical field [0001] The invention relates to a multi-core CPU system, in particular to a recovery method for a single-core abnormality of the multi-core system. Background technique [0002] In a multi-core CPU embedded system (referred to as a multi-core system), whether it is a symmetric multi-core system or a master-slave multi-core system, there may be an exception in a certain core. These exceptions include illegal instructions, misalignment operations, cache exceptions, data bus errors, etc. There are many reasons for these exceptions. It may be an accidental hardware error, or illegal data that causes the program to process abnormally, or it may be that the program has run to a branch that is not easy to go to. However, most of these errors are one-time damage to the system, because if they are fixed and regular abnormal phenomena, they will be discovered and resolved during system testing. [0003] In the prior art, for such a situation where a certain single co...

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): G06F11/00G06F9/48
CPCG06F9/4812G06F11/2028G06F11/2033G06F11/2035
Inventor 颜小强李江宁徐放
Owner MAIPU COMM TECH CO LTD
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