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

A method and system for reducing power consumption of multithreaded programs

A multi-thread and program technology, applied in the field of reducing power consumption of multi-thread programs, can solve problems such as transition time and power loss

Active Publication Date: 2016-02-03
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the busy waiting operation performed by the thread that reaches the synchronization point first, except that the last iteration cycle detects that the flag bit is flipped, the previous iteration cycles are all invalid operations, resulting in power consumption loss
[0006] Many commercial processors provide a variety of low-power modes, each of which achieves a different degree of power reduction, but produces a corresponding transition time

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
  • A method and system for reducing power consumption of multithreaded programs
  • A method and system for reducing power consumption of multithreaded programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment )

[0037] When the thread reaches the i-th fence again, the thread that reaches the fence synchronization point first uses the interval time read from the fence interval time prediction table to subtract the calculation time, predicts the busy waiting time of the thread, and chooses to enter the appropriate low power consumption mode.

[0038] In an embodiment, the fence interval time is 10000us+1500us, minus the calculation time of 8000us, the predicted busy waiting time is 3500us.

[0039] fence address

fence interval

0x2002e530

10000us+1500us

0x2002e536

17000us+3000us

[0040] When the prediction interval time of the fence is about to come, the thread that has reached the synchronization point of the fence earlier is restored to the normal power consumption mode, and the fence interval time prediction table is updated.

[0041] The update fence interval is 8000us+3200us.

[0042] fence address

fenc...

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 method and a system for reducing power consumption of a multi-thread program. The method comprises the steps as follows: when one thread arrives the first barrier, the address of the barrier and the time that the last thread leaves the barrier are recorded in a barrier interval time predicting table; when the last thread leaves the barrier i+1, the time that the last thread leaves the barrier i is subtracted from the time at this moment, so that the interval time of the barrier i is obtained; the address and the interval time of the barrier i are written into the barrier interval time predicting table; when threads arrive the same barrier again, the computation time is subtracted from the interval time read out from the barrier interval time predicting table adopted by the thread arriving a barrier synchronization point first, the busy waiting time of the thread is predicted, and the thread chooses to enter an appropriate low power consumption mode; when the predicted interval time of the barrier is coming, the thread arriving the barrier synchronization point first is restored into a normal power consumption mode, and the barrier interval time predicting table is updated, so that the power consumption of the whole processor is reduced.

Description

technical field [0001] The invention relates to the technical field of reducing power consumption of multi-threaded programs on a multi-core processor, in particular to reducing power consumption overhead caused by a barrier synchronization mechanism of multi-threaded programs. Background technique [0002] As the chip integrates more and more transistors, the design of single-core high-performance processors becomes more and more complicated and difficult to verify, while the design of on-chip multi-core processors CMPs (Chipmultiprocessors) composed of several simple processor cores is An efficient and simple method. CMPs are a trend in high-performance processor design. CMPs exploit coarser-grained parallelism (thread- or process-level) of programs than traditional instruction-level parallelism during program compilation or runtime. [0003] Reducing power consumption has become a very important goal in the design of high-performance processors. High power consumption ...

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): G06F1/32
Inventor 尹一笑陈云霁胡伟武
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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