• DocumentCode
    3191353
  • Title

    The impact of speeding up critical sections with data prefetching and forwarding

  • Author

    Trancoso, Pedro ; Torrellas, Josep

  • Author_Institution
    Center for Supercomput. Res. & Dev., Illinois Univ., Urbana, IL, USA
  • Volume
    3
  • fYear
    1996
  • fDate
    12-16 Aug 1996
  • Firstpage
    79
  • Abstract
    While shared-memory multiprocessing offers a simple model for process synchronization, actual synchronization may be expensive. Indeed, processors may have to wait for a long time to acquire the lock of a critical section. In addition, a processor may have to stall for a long time waiting for all of its pending accesses to complete before releasing the lock. To address this problem, we target well-known optimization techniques to specifically speed-up accesses to critical sections. We reduce the time taken by critical sections by applying data prefetching and forwarding to minimize the number of misses inside these sections. In addition, we prefetch and forward data in exclusive mode to reduce the stall time before lock release. Our evaluation shows that a simple prefetching algorithm is able to speed-up parallel applications significantly at a very low cost. With this optimization, five Splash applications run 20% faster on average, while one of them runs 52% faster. We also conclude that more complicated, forward-based optimizations are not justified
  • Keywords
    concurrency control; data handling; optimisation; processor scheduling; shared memory systems; software performance evaluation; synchronisation; Splash applications; critical section speedup; data forwarding; data prefetching; exclusive mode; lock release; low cost; optimization; parallel applications; process synchronization; shared-memory multiprocessing; stall time; Costs; Hardware; Parallel processing; Prefetching; Protection; Research and development;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing, 1996. Vol.3. Software., Proceedings of the 1996 International Conference on
  • Conference_Location
    Ithaca, NY
  • ISSN
    0190-3918
  • Print_ISBN
    0-8186-7623-X
  • Type

    conf

  • DOI
    10.1109/ICPP.1996.538562
  • Filename
    538562