• Home
  • Search
  • Automatic fence insertion for shared memory multiprocessing
  • Cite Icon94
  • https://doi.org/10.1145/782814.782854Copy DOI Icon

Automatic fence insertion for shared memory multiprocessing

  • Jun 23, 2003
  • Xing Fang +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

In general, the hardware memory consistency model in a multiprocessor system is not identical to the memory model at the programming language level. Consequently, the programming language memory model must be mapped onto the hardware memory model. Memory fence instructions can be inserted by the compiler where needed to accomplish this mapping. We have developed and implemented several fence insertion and optimization algorithms in our Pensieve compiler project. We present the different fence insertion optimization techniques that were used in this system to guarantee sequential consistency at the language level, and compare them using performance data. Our techniques target two hardware relaxed memory consistency models provided by SMPs based on IBM Power 3 and Intel Pentium 4. Our fence insertion optimization shows up to 17.2% and 32.7% performance improvement on average, with the IBM PowerPC and Intel Pentium 4 (Xeon) multiprocessors respectively.

Similar Papers
  • Research Article
  • Citations43

HRF-Relaxed

  • Apr 16, 2015
  • ACM Transactions on Architecture and Code Optimization
  • Benedict R Gaster +2
  • Conference Article
  • Citations52

Synthesizing memory models from framework sketches and Litmus tests

  • Jun 14, 2017
  • James Bornholt +1
  • Research Article
  • Citations11

Synthesizing memory models from framework sketches and Litmus tests

  • Jun 14, 2017
  • ACM SIGPLAN Notices
  • James Bornholt +1
  • Conference Article
  • Citations11

Declarative fence insertion

  • Oct 23, 2015
  • John Bender +2
  • Research Article
  • Citations86

Location consistency-a new memory model and cache consistency protocol

  • Jan 01, 2000
  • IEEE Transactions on Computers
  • G.R Gao +1
  • Conference Article
  • Citations8

Defining uniform and hybrid memory consistency models on a unified framework

  • Jan 05, 1999
  • A.C.M Alves De Melo
  • Conference Article

Analysis and realization of Relaxed Consistency Memory model for multi-core CPU or GPU

  • Sep 01, 2014
  • Ramanarayan Mohanty +2
  • Research Article
  • Citations12

A volatile-by-default JVM for server applications

  • Oct 12, 2017
  • Proceedings of the ACM on Programming Languages
  • Lun Liu +2
  • Conference Article

IMAGINE -the image engine

  • Sep 12, 1994
  • Eurographics
  • H De Vries
  • Research Article

Decidability of Liveness on the TSO Memory Model

  • Feb 13, 2026
  • Formal Aspects of Computing
  • Chao Wang +5
  • Conference Article

Visualizing Execution Histories on Multiple Memory Consistency Models

  • Sep 28, 1998
  • Alba Cristina Magalhães De Melo +1
  • Research Article
  • Citations1

Automated Robustness Verification of Concurrent Data Structure Libraries against Relaxed Memory Models

  • Oct 08, 2024
  • Proceedings of the ACM on Programming Languages
  • Kartik Nagar +3
  • Dissertation

SpartanScript

  • Jun 15, 2023
  • Ajinkya Lakade
  • Conference Article
  • Citations17

Synthesizing Formal Models of Hardware from RTL for Efficient Verification of Memory Model Implementations

  • Oct 17, 2021
  • Yao Hsiao +4
  • Research Article
  • Citations175

High level programming for distributed computing

  • Jun 01, 1979
  • Communications of the ACM
  • Jerome A Feldman
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.