Fluid: A Framework for Approximate Concurrency via Controlled Dependency Relaxation

被引:0
作者
Jiang, Huaipan [1 ]
Zhang, Haibo [1 ]
Tang, Xulong [2 ]
Govindaraj, Vineetha [1 ]
Sampson, Jack [1 ]
Kandemir, Mahmut Taylan [1 ]
Zhang, Danfeng [1 ]
机构
[1] Penn State Univ, State Coll, PA 16801 USA
[2] Univ Pittsburgh, Pittsburgh, PA USA
来源
PROCEEDINGS OF THE 42ND ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '21) | 2021年
基金
美国国家科学基金会;
关键词
Eager Execution; Approximate Computing; RELIABILITY; BENCHMARK; SOFTWARE;
D O I
10.1145/3453483.3454042
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this work, we introduce the Fluid framework, a set of language, compiler and runtime extensions that allow for the expression of regions within which dataflow dependencies can be approximated in a disciplined manner. Our framework allows the eager execution of dependent tasks before their inputs have finalized in order to capitalize on situations where an eagerly-consumed input has a high probability of sufficiently resembling the value or structure of the final value that would have been produced in a conservative/precise execution schedule. We introduce controlled access to the early consumption of intermediate values and provide hooks for user-specified quality assurance mechanisms that can automatically enforce re-execution of eagerly-executed tasks if their output values do not meet heuristic expectations. Our experimental analysis indicates that the fluidized versions of the applications bring 22.2% average execution time improvements, over their original counterparts, under the default values of our fluidization parameters. The Fluid approach is largely orthogonal to approaches that aim to reduce the task effort itself and we show that utilizing the Fluid framework can yield benefits for both originally precise and originally approximate versions of computation.
引用
收藏
页码:252 / 267
页数:16
相关论文
共 97 条
  • [1] Approximate Computation with Outlier Detection in Topaz
    Achour, Sara
    Rinard, Martin C.
    [J]. ACM SIGPLAN NOTICES, 2015, 50 (10) : 711 - 730
  • [2] CONCURRENT OBJECT-ORIENTED PROGRAMMING
    AGHA, G
    [J]. COMMUNICATIONS OF THE ACM, 1990, 33 (09) : 125 - 141
  • [3] Agha G., 1986, Actors: A Model of Concurrent Computation in Distributed Systems
  • [4] [Anonymous], 2012, P 9 C COMP FRONT ACM, DOI DOI 10.1145/2212908.2212951
  • [5] [Anonymous], 2015, WORKSH APPR COMP STA
  • [6] [Anonymous], 2016, Microarchitecture (MICRO), 2016 49th Annual IEEE/ACM International Symposium on
  • [7] Appel A., 2007, COMPILING CONTINUATI
  • [8] Athas W. C., 1988, P 1988 ACM SIGPLAN W, DOI [10.1145/1806596.1806620, DOI 10.1145/1806596.1806620]
  • [9] Integrated predicated and speculative execution in the IMPACT EPIC architecture
    August, DI
    Connors, DA
    Mahlke, SA
    Sias, JW
    Crozier, KM
    Cheng, BC
    Eaton, PR
    Olaniran, QB
    Hwu, WMW
    [J]. 25TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, PROCEEDINGS, 1998, : 227 - 237
  • [10] Rollout algorithms for stochastic scheduling problems
    Bertsekas, DP
    Castañon, DA
    [J]. JOURNAL OF HEURISTICS, 1999, 5 (01) : 89 - 108