Single thread reposition method for multiple-core multiple thread processor

The technology of a multi-threaded processor and a reset method is applied in the field of single-threaded reset of multi-core multi-threaded processors, which can solve problems such as system reset and achieve the effects of less system overhead, improved stability and reliability, and short reset time

Active Publication Date: 2009-09-02
ZTE CORP
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to propose a single-thread reset method for multi-core multi-thread processors, which is used to overcome the problem of resetting the entire system when a problem occurs in a specific single-thread in a multi-core multi-thread processor

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
  • Single thread reposition method for multiple-core multiple thread processor
  • Single thread reposition method for multiple-core multiple thread processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] Such as figure 1 As shown, after the system is powered on, the master control kernel thread allocates memory space for other non-master kernel threads, and loads the code segment and data segment respectively, and the master control kernel thread records the allocated physical address and physical virtual address of each kernel thread Mapping relationship, so that there is no need to reallocate memory space when reloading, which shortens the time to restart the kernel thread and saves memory space.

[0027] Such as figure 2 Shown is a multiplexing flowchart of the method of the present invention.

[0028] S201, power on the system.

[0029] S202, judge according to the thread number whether it is the main control kernel thread, if yes, then transfer to S203, otherwise, it is a non-master control kernel thread, and wait for the main...

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 single-thread reset method for a multi-core multi-thread processor, which includes: after the master control kernel thread and the non-master kernel thread are started, the master control kernel thread actively sends a heartbeat detection message to the non-master kernel thread, If the heartbeat response of the non-master kernel thread is not received within the specified time, a non-masking interrupt is sent to the non-master kernel thread that lost the heartbeat; the non-master kernel thread that receives the non-masking interrupt transfers to the specified address to execute the code; The master control kernel thread reloads the mapping relationship between the code segment, the data segment, the physical address and the physical virtual address space according to the recorded information of the non-master kernel thread, and sends a startup message to the non-master kernel thread. The reset method of the present invention not only has less system overhead and short reset time, but also has the independence of not interfering with other kernel threads, and greatly improves the stability and reliability of multi-core multi-thread processor system operation.

Description

technical field [0001] The invention relates to reset technology, in particular to a single-thread reset method for multi-core multi-thread processors. Background technique [0002] High-performance multi-core multi-thread processors have been more and more widely used. Take RMI’s XLR series processors as an example. This series of processors integrates up to 8 RMI-enhanced MIPS64 RISC CPU cores, and each core supports 4 Therefore, the XLR processor can support up to 32 threads, that is, the processing capacity of a multi-core processor is equivalent to 32 parallel single-core processors. [0003] When the usual single-core processor system is abnormal, you can rely on the watchdog reset or software hot start to reset the entire system, and timely reset can ensure the stability and reliability of the system; while in the multi-core multi-thread processor system, Since different threads of multiple cores of a multi-core processor can run the same or different embedded operat...

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 Patents(China)
IPC IPC(8): G06F9/48
Inventor 赵阳过仕好
Owner ZTE CORP
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