Interrupt controller and method for processing interrupt of multi-core processor shared device

A technology for multi-core processors and shared devices, applied in the field of multi-core processors, can solve problems such as unbalanced interrupt load and decreased efficiency of multi-core processors, and achieve the effect of ensuring balance, eliminating concurrency and nesting problems, and improving switch interrupts

Active Publication Date: 2011-05-18
DATANG MOBILE COMM EQUIP CO LTD
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The purpose of the present invention is to solve the technical problem that the interrupt load between the multi-cores is unbalanced and the unnecessary in

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
  • Interrupt controller and method for processing interrupt of multi-core processor shared device
  • Interrupt controller and method for processing interrupt of multi-core processor shared device
  • Interrupt controller and method for processing interrupt of multi-core processor shared device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The process and steps of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0035] The invention dynamically adjusts the routing strategy of the interrupt controller by counting the interrupt loads of each core on the multi-core processor in real time, so as to achieve the purpose of balancing the interrupt load and minimizing the waste of interrupts. In addition, the present invention also adopts mechanisms such as an improved switch interrupt and a global access and exit interrupt flag, eliminating the concurrency and nesting problems of shared device interrupts on multiple cores under a multi-core structure.

[0036] figure 2 Shown is a block diagram of an embodiment of the interrupt controller of the present invention. The invention provides an interrupt controller, which is used for processing multi-core processor shared device interrupts. The interrupt controller includes a routing setting mo...

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 an interrupt controller and a method for processing interrupt of a multi-core processor shared device. The interrupt controller monitors interrupt load on each core of a multi-core processor through a cycle timer, the routing policy of the interrupt controller is timely adjusted dynamically, the balance of the interrupt load among a plurality of cores is guaranteed, and the potential of a multi-core structure is fully exerted. The method comprises the following steps that: a, a threshold value of an interrupt load statistic is preset; b, the interrupt controller receives a request from a shared interrupt source and adjusts a routing mode of the interrupt controller according to the current interrupt load statistic; c, the interrupt controller routes the interrupt request to the core according to the routing mode; and d, the core is subjected to an interrupt processing routine.

Description

technical field [0001] The invention relates to a multi-core processor, in particular to an interrupt controller and an interrupt processing method when the multi-core processor shares an external device. Background technique [0002] In recent years, multi-core technology has advanced by leaps and bounds. In a multi-core architecture there are external devices shared by one or more cores. Currently, some multi-core processors only allocate one interrupt channel for shared peripherals that support interrupt mode for sharing by multiple cores, such as figure 1 . This design can also solve the problem of multi-core processors sharing device interrupt processing when the number of cores on a processor is relatively small. [0003] However, with the improvement of the design level and technology, more and more cores are integrated on a processor, and the above-mentioned method alone cannot meet the requirements of shared device interrupt processing. In order to solve the pro...

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
IPC IPC(8): G06F9/48
Inventor 王勇王浩娟周成亮
Owner DATANG MOBILE COMM EQUIP 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