Compiler-Based Timing For Extremely Fine-Grain Preemptive Parallelism

被引:6
|
作者
Ghosh, Souradip [1 ]
Cuevas, Michael [1 ]
Campanoni, Simone [1 ]
Dinda, Peter [1 ]
机构
[1] Northwestern Univ, Dept Comp Sci, Evanston, IL 60208 USA
基金
美国国家科学基金会;
关键词
timing; preemptive scheduling; line-granularity parallelism; IMPLEMENTATION;
D O I
10.1109/SC41405.2020.00057
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In current operating system kernels and run-time systems, liming is based on hardware timer interrupts, introducing inherent overheads that limit granularity. For example, the scheduling quantum of preemptive threads is limited, resulting in this abstraction being restricted to coarse-grain parallelism. Compiler-based timing replaces interrupts from the hardware timer with callbacks from compiler-injected code. We describe a system that achieves low-overhead timing using whole-program compiler transformations and optimizations combined with kernel and run-time support. A key novelty is new static analyses that achieve predictable, periodic run-time behavior from the transformed code, regardless of control-flow path. We transform the code of a kernel and run-time system to use compiler-based timing and leverage the resulting fine-grain timing to extend an implementation of fibers (cooperatively scheduled threads), attaining what is effectively preemptive scheduling. The result combines the fine granularity of the cooperative fiber model with the ease of programming of the preemptive thread model.
引用
收藏
页数:15
相关论文
共 50 条
  • [21] Phloem: Automatic Acceleration of Irregular Applications with Fine-Grain Pipeline Parallelism
    Nguyen, Quan M.
    Sanchez, Daniel
    2023 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA, 2023, : 1262 - 1274
  • [22] TOWARDS GPU HEVC INTRA DECODING: SEIZING FINE-GRAIN PARALLELISM
    de Souza, Diego F.
    Ilic, Aleksandar
    Roma, Nuno
    Sousa, Leonel
    2015 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA & EXPO (ICME), 2015,
  • [23] Jagged Tiling for Intra-tile Parallelism and Fine-Grain Multithreading
    Shrestha, Sunil
    Manzano, Joseph
    Marquez, Andres
    Feo, John
    Gao, Guang R.
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING (LCPC 2014), 2015, 8967 : 161 - 175
  • [24] Efficient support for fine-grain parallelism on shared-memory machines
    Lowenthal, DK
    Freeh, VW
    Andrews, GR
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1998, 10 (03): : 157 - 173
  • [25] Fine-grain parallelism using multi-core, Cell/BE, and GPU Systems
    不详
    PARALLEL COMPUTING, 2012, 38 (08) : 365 - 390
  • [26] EXPLOITATION OF FINE-GRAIN PARALLELISM IN LOGIC LANGUAGES ON MASSIVELY-PARALLEL ARCHITECTURES
    KIM, H
    GAUDIOT, JL
    PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 1994, 50 : 225 - 234
  • [27] Exploiting fine-grain thread level parallelism on the MIT Multi-ALU Processor
    Keckler, SW
    Dally, WJ
    Maskit, D
    Carter, NP
    Chang, A
    Lee, WS
    25TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, PROCEEDINGS, 1998, : 306 - 317
  • [28] Exploiting fine-grain parallelism in the H.264 deblocking filter by operation reordering
    Weng, Tsung-Hsi
    Chung, Chung-Ping
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2014, 37 : 76 - 87
  • [29] A parallel architecture for rapid prototyping of mechatronic algorithms by exploiting implicite fine-grain parallelism
    Doan, MD
    Glesner, M
    VLSI SIGNAL PROCESSING, IX, 1996, : 303 - 312
  • [30] Design solutions and techniques for vision system on a chip and fine-grain parallelism circuit integration
    Paillet, F
    Mercier, D
    13TH ANNUAL IEEE INTERNATIONAL ASIC/SOC CONFERENCE, PROCEEDINGS, 2000, : 411 - 411