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 条
  • [31] Multigrain Parallelism: Bridging Coarse-Grain Parallel Programs and Fine-Grain Event-Driven Multithreading
    Arteaga, Jaime
    Zuckerman, Stephane
    Gao, Guang R.
    2017 31ST IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2017, : 799 - 808
  • [32] FPGA-based Fine-grain Parallel Computing
    Hill, Andrew W.
    Di Blas, Andrea
    Hughey, Richard
    FPGA 11: PROCEEDINGS OF THE 2011 ACM/SIGDA INTERNATIONAL SYMPOSIUM ON FIELD PROGRAMMABLE GATE ARRAYS, 2011, : 283 - 283
  • [33] Fine-grain multithreading with minimal compiler support - A cost effective approach to implementing efficient multithreading languages
    Taura, K
    Yonezawa, A
    ACM SIGPLAN NOTICES, 1997, 32 (05) : 320 - 333
  • [34] Intensified production of fine-grain graphites based on nonfired coke
    Lobastov, N. A.
    Beilina, N. Yu.
    Chernyavets, A. N.
    REFRACTORIES AND INDUSTRIAL CERAMICS, 2006, 47 (03) : 149 - 151
  • [35] Intensified production of fine-grain graphites based on nonfired coke
    N. A. Lobastov
    N. Yu. Beilina
    A. N. Chernyavets
    Refractories and Industrial Ceramics, 2006, 47 : 149 - 151
  • [36] THERMOPHYSICAL CHARACTERIZATION OF FINE-GRAIN GRAPHITES BASED ON THERMAL WAVES
    GIBKES, J
    BEIN, BK
    KRUGER, D
    PELZL, J
    CARBON, 1993, 31 (05) : 801 - 807
  • [37] Generation and verification of timing constraints for fine-grain pipelined asynchronous data-path circuits
    Özcan, M
    Imai, M
    Nanya, T
    ASYNC: EIGHTH INTERNATIONAL SYMPOSIUM ON ASYNCHRONOUS CIRCUITS AND SYSTEMS, PROCEEDINGS, 2002, : 109 - 114
  • [38] An adaptive cache replacement policy based on fine-grain reusability monitor
    Bang, Duk-Jun
    Kee, Min-Kwan
    Lim, Hong-Yeol
    Park, Gi-Ho
    IEICE ELECTRONICS EXPRESS, 2018, 15 (02):
  • [39] MultiView and millipage - Fine-grain sharing in page-based DSMs
    Itzkovitz, A
    Schuster, A
    USENIX ASSOCIATION PROCEEDINGS OF THE THIRD SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '99), 1999, : 215 - 228
  • [40] Fine-grain register allocation based on a global spill costs analysis
    Kim, DH
    Lee, HJ
    SOFTWARE AND COMPILERS FOR EMBEDDED SYSTEMS, 2003, 2826 : 255 - 269