Approximate Computing for Multithreaded Programs in Shared Memory Architectures

被引:0
|
作者
Nongpoh, Bernard [1 ]
Ray, Rajarshi [2 ]
Banerjee, Ansuman [3 ]
机构
[1] Natl Inst Technol Meghalaya, Dept Comp Sci & Engn, Shillong, Meghalaya, India
[2] Indian Assoc Cultivat Sci, Sch Math & Computat Sci, Kolkata, W Bengal, India
[3] Indian Stat Inst, Adv Comp & Microelect Unit, Kolkata, W Bengal, India
关键词
Hypothesis testing; Cache-Coherence; Approximate computing; SENSITIVITY-ANALYSIS; ESCAPE ANALYSIS;
D O I
10.1145/3359986.3361209
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In multicore and multicached architectures, cache coherence is ensured with a coherence protocol. However, the performance benefits of caching diminishes due to the cost associated with the protocol implementation. In this paper, we propose a novel technique to improve the performance of multithreaded programs running on shared-memory multicore processors by embracing approximate computing. Our idea is to relax the coherence requirement selectively in order to reduce the cost associated with a cache-coherence protocol, and at the same time, ensure a bounded QoS degradation with probabilistic reliability. In particular, we detect instructions in a multithreaded program that write to shared data, we call them Shared-Write-Access-Points (SWAPs), and propose an automated statistical analysis to identify those which can tolerate coherence faults. We call such SWAPs approximable. Our experiments on 9 applications from the SPLASH 3.0 benchmarks suite reveal that an average of 57% of the tested SWAPs are approximable. To leverage this observation, we propose an adapted cache-coherence protocol that relaxes the coherence requirement on stores from approximable SWAPs. Additionally, our protocol uses stale values for load misses due to coherence, the stale value being the version at the time of invalidation. We observe an average of 15% reduction in CPU cycles and 11% reduction in energy footprint from architectural simulation of the 9 applications using our approximate execution scheme.
引用
收藏
页数:9
相关论文
共 50 条
  • [21] Computing schedules for multithreaded real-time programs using geometry
    Gerner, P
    Dang, T
    [J]. FORMAL TECHNIQUES, MODELLING AND ANALYSIS OF TIMED AND FAULT-TOLERANT SYSTEMS, PROCEEDINGS, 2004, 3253 : 325 - 342
  • [22] Multithreaded shared memory parallel implementation of the electronic structure code GAMESS
    Bolding, B
    Baldridge, K
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2000, 128 (1-2) : 55 - 66
  • [23] Approximate-Computing Architectures for Motion Estimation in HEVC
    Paltrinieri, Alberto
    Peloso, Riccardo
    Masera, Guido
    Shafique, Muhammad
    Martina, Maurizio
    [J]. 2018 NEW GENERATION OF CAS (NGCAS), 2018, : 190 - 193
  • [24] Ray casting on shared-memory architectures
    Inktomi Corp, San Mateo, United States
    [J]. IEEE Concurrency, 1 (20-35):
  • [25] ATM SHARED-MEMORY SWITCHING ARCHITECTURES
    GARCIAHARO, J
    JAJSZCZYK, A
    [J]. IEEE NETWORK, 1994, 8 (04): : 18 - 26
  • [26] Analytic evaluation of shared-memory architectures
    Sorin, DJ
    Lemon, JL
    Eater, DL
    Vernon, MK
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2003, 14 (02) : 166 - 180
  • [27] Performance of scalable shared-memory architectures
    Motlagh, BS
    DeMara, RF
    [J]. JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2000, 10 (1-2) : 1 - 22
  • [28] Binding time in distributed shared memory architectures
    Kong, J
    Lee, G
    [J]. 1998 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING - PROCEEDINGS, 1998, : 198 - 206
  • [29] In-Memory Computing Architectures for Sparse Distributed Memory
    Kang, Mingu
    Shanbhag, Naresh R.
    [J]. IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS, 2016, 10 (04) : 855 - 863
  • [30] Rapid Identification of Shared Memory in Multithreaded Embedded Systems with Static Scheduling
    Jahic, Jasmin
    Kumar, Varun
    Jung, Matthias
    Wirrer, Gerhard
    Wehn, Norbert
    Kuhn, Thomas
    [J]. PROCEEDINGS OF THE 48TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPP 2019), 2019,