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

A priority packet scheduling method and system utilizing data topological information

A topology information, packet scheduling technology, applied in the direction of program startup/switching, multi-program installation, etc., can solve problems such as confusion, neighbors cannot be statically determined, and it is difficult to statically analyze dependencies.

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

AI Technical Summary

Problems solved by technology

First of all, this type of method is very complicated to implement—it must be based on a mature domain programming framework for application development, the data structure becomes complex and is no longer a simple array, and the calculation steps are also mixed with C / Fortran, which leads to Compilation is difficult to perform static dependency analysis on the entire grid space and each calculation step, so timeskewing cannot be realized
Second, due to the dynamic nature of grid division, the neighbors of grid points cannot be determined statically, which also limits the implementation of timeskewing optimization
) No one has found that priority group scheduling can be used to improve task scheduling performance in structured grid applications

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 priority packet scheduling method and system utilizing data topological information
  • A priority packet scheduling method and system utilizing data topological information
  • A priority packet scheduling method and system utilizing data topological information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0100] The following is embodiment 1 of the present invention, as follows:

[0101] This is the stencil calculation of 3d7p using Jacobi iteration. The stencil calculation is carried out in a three-dimensional grid space, and the two space axes are divided into global tasks. The discrete space uses a fixed grid and the data is stored in a single array.

[0102]

[0103]

[0104]

[0105] The size of the slice here is 12^3. Double-precision calculation is used. There are 2 grid variables involved in the calculation. The current machine's L3 cache is 20M. Because this calculation has neighbor dependence in 6 directions of the three spatial axes, then The grouped data footprint is 8*2*(wx+wt-1)*(wy+wt-1)*(wz+wt-1)*12*12*12 with , But the latter has higher intra-group reuse. So the grouping shape selected by the scheduling system is , That is, the window height of the time axis and the block width of the space axis are both 4, and the maximum data reuse in the group is 4.

[0106] ...

Embodiment 2

[0109] Embodiment 2 of the present invention is as follows:

[0110] This embodiment is an application hotspot for solving the Poisson equation. The present invention adopts adaptive refinement of the grid. The grid fragmentation is dynamic and irregular, and the data is stored in a fragmented format instead of a single array.

[0111] In the priority grouping of the scheduling system, there is no obvious difference from Embodiment 1.

[0112] What is mainly shown here is how users describe: the division of grid space, the mapping of task graph to grid space, and the expression of irregular neighbor data dependence.

[0113]

[0114]

[0115] ● Shown below is a subroutine inside looseGSRB(), its main function is to realize the data exchange in the shaded area of ​​adjacent data slices. However, in the adaptive grid method, the number and location of neighbors cannot be determined statically.

[0116] .

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 provides a priority packet scheduling method and system utilizing data topological information. The method comprises the steps of obtaining an original grid space of data topological information, setting the size and the floating point precision of a grid sheet of the original grid space and generating a new grid space; according to the stencil format of the new grid space and a parallel zone, establishing a condensed task graph (four-dimensional time-space domain) and calculating a priority packet serial number of each task therein; obtaining a data piece visited by the current task, determining whether neighbor data dependence is involved through format abstract or function pointer and actual parameters , generating a corresponding mark, and identifying a cycle involving the neighbor data dependence according to the mark, wherein the cycle is effective time steps; mapping the task on the cycle to some task of the condensed task graph according to the current effective time steps, calculating the priority serial number of the current task according to the priority serial number of the latter. The priority packet scheduling of tasks is supported.

Description

Technical field [0001] The invention relates to the field of computer and user-level task scheduling, in particular to a priority grouping scheduling method and system using data topology information. Background technique [0002] There is an insurmountable memory wall in the modern microprocessor structure. How to optimize the data locality in the program and improve its cache performance on the processor is an important subject of application optimization. [0003] The background of the structured grid method is as follows: there are a large number of nonlinear equations in the fields of thermal diffusion, electromagnetic field and fluid mechanics, and only a few problems can be solved analytically or perturbed. The structured grid method is to solve such problems. One of the most important numerical methods for the problem, its typical steps are: discretize the solution domain, convert the continuous solution domain into a finite set of discrete points, such as a fixed equidista...

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 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