Open Access   Article Go Back

A Study and Analysis of Lock and STM Overheads

Ryan Saptarshi Ray1 , Parama Bhaumik2 , Utpal Kumar Ray3

Section:Research Paper, Product Type: Journal Paper
Volume-7 , Issue-5 , Page no. 548-556, May-2019

CrossRef-DOI:   https://doi.org/10.26438/ijcse/v7i5.548556

Online published on May 31, 2019

Copyright © Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray . This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

View this paper at   Google Scholar | DPI Digital Library

How to Cite this Paper

  • IEEE Citation
  • MLA Citation
  • APA Citation
  • BibTex Citation
  • RIS Citation

IEEE Style Citation: Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray, “A Study and Analysis of Lock and STM Overheads,” International Journal of Computer Sciences and Engineering, Vol.7, Issue.5, pp.548-556, 2019.

MLA Style Citation: Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray "A Study and Analysis of Lock and STM Overheads." International Journal of Computer Sciences and Engineering 7.5 (2019): 548-556.

APA Style Citation: Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray, (2019). A Study and Analysis of Lock and STM Overheads. International Journal of Computer Sciences and Engineering, 7(5), 548-556.

BibTex Style Citation:
@article{Ray_2019,
author = {Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray},
title = {A Study and Analysis of Lock and STM Overheads},
journal = {International Journal of Computer Sciences and Engineering},
issue_date = {5 2019},
volume = {7},
Issue = {5},
month = {5},
year = {2019},
issn = {2347-2693},
pages = {548-556},
url = {https://www.ijcseonline.org/full_paper_view.php?paper_id=4278},
doi = {https://doi.org/10.26438/ijcse/v7i5.548556}
publisher = {IJCSE, Indore, INDIA},
}

RIS Style Citation:
TY - JOUR
DO = {https://doi.org/10.26438/ijcse/v7i5.548556}
UR - https://www.ijcseonline.org/full_paper_view.php?paper_id=4278
TI - A Study and Analysis of Lock and STM Overheads
T2 - International Journal of Computer Sciences and Engineering
AU - Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray
PY - 2019
DA - 2019/05/31
PB - IJCSE, Indore, INDIA
SP - 548-556
IS - 5
VL - 7
SN - 2347-2693
ER -

VIEWS PDF XML
264 207 downloads 113 downloads
  
  
           

Abstract

In this paper we make a comparative study of the overheads of locks and STM by taking different practical synchronization problems as examples to understand why the performance of STM is worse than that of locks. Overhead is the combination of excess or indirect computation time, memory, bandwidth, or other resources that are required to perform a specific task. While executing parallel programs whenever any lock or STM function is called it takes some time and also occupies some space. The total time taken by all the lock or STM calls of the program is the total lock or STM time overhead of that program. The total space occupied by all the lock or STM calls of the program is the total lock or STM space overhead of that program. The flexible approach is an approach of programming with STM by which STM has been made more user-friendly and by which execution time of STM has been reduced. We make a study of the overheads of the flexible approach also. We found that the time and space overheads of STM are higher than that of locks. The time and space overheads of the Flexible Approach were less than those of STM but higher than those of locks.

Key-Words / Index Term

Multiprocessing, Parallel Processing, Locks, Software Transactional Memory, Overheads

References

[1] Cornelia Cecilia Eglantine,“Overhead(Computing)”, published by TypPress, 2012
[2] Yang Ni, Vijay Menon, Richard L. Hudson, Ali-Reza Adl-Tabatabai, J. Eliot, B. Moss, Bratin Saha, Antony L. Hosking, Tatiana Shpeisman, “Open Nesting in Software Transactional Memory”, In the Proceedings of the 12th ACM SIGPLAN symposium on Principles and practice of parallel programming, pp. 68-78, 2007
[3] Zhengyu He, Bo Hong, “Impact of Early Abort Mechanisms on Lock-Based Software Transactional Memory”, In the Proceedings of the International Conference on High Performance Computing (HiPC), 2009
[4] Yossi Lev, Victor Luchangco, Virendra J. Marathe, Mark Moir, Dan Nussbaum, Marek Olszewski, “Anatomy of a Scalable Software Transactional Memory”, In the Proceedings of the 4th ACM SIGPLAN Workshop on Transactional Computing , 2009
[5] Justin E. Gottschlich, Manish Vachharajani, Jeremy G. Siek, “An Efficient Software Transactional Memory Using Commit-Time Invalidation”, In the Proceedings of the 8th annual IEEE/ACM international symposium on Code generation and optimization , pp. 101-110, 2010
[6] Sandhya S.Mannarswamy, Ramaswamy Govindarajan, “Variable Granularity Access Tracking Scheme for Improving the Performance of Software Transactional Memory”, In the Proceedings of International Conference on Parallel Architectures and Compilation Techniques, pp. 232-242, 2011
[7] Ryan Saptarshi Ray, “STM:Lock-Free Synchronization”, Special Issue of IJCCT, ISSN (ONLINE): 2231 – 0371, ISSN (PRINT): 0975 – 7449, Volume- 3, Issue-2, pp. 19-25, 2012
[8] Anupriya Chakraborty, Sourav Saha, Ryan Saptarshi Ray, Utpal Kumar Ray,“ Lock-Free Readers/Writers”, International Journal of Computer Science Issues (IJCSI), ISSN (PRINT): 1694 – 0814, ISSN (ONLINE): 1694 – 0784, Volume- 10, Issue-4, No-2, pp. 180-186, 2013
[9] Venkatakash Raj Rao Jillelamudi, Sourav Mukherjee, Ryan Saptarshi Ray, Utpal Kumar Ray,“ Lock-Free Dining Philosopher”, International Journal of Computer and Communication Technology (IJCCT), ISSN (PRINT): 0975 – 7449, Volume- 4, Issue-3, pp. 54-58, 2013
[10] Rup Kamal, Ryan Saptarshi Ray, Utpal Kumar Ray, Parama Bhaumik, “Cigarette Smokers’ Problem with STM”, International Journal of Computer and Communication Technology (IJCCT), ISSN (PRINT): 0975 – 7449, Volume- 4, Issue-3, pp 63-68, 2013
[11] Ryan Saptarshi Ray, Parama Bhaumik, Utpal Kumar Ray, “Flexible Programming Approach using STM”, International Journal of Computer Sciences and Engineering (IJCSE) E-ISSN:2347-2693 Volume- 6, Issue-7, pp. 349-353, 2018
[12] Nilam Choudhary, Shikhar Agarwal, Geerija Lavania, “Smart Voting System through Facial Recognition”, International Journal of Scientific Research in Computer Sciences and Engineering (ISSN: 2320-7639) Volume- 7, Issue-2, pp. 7-10, 2019
[13] S. JabeenBegum, B. Swaathi, “A Survey for identifying Parkinson’s disease by Binary Bat Algorithm”, International Journal of Scientific Research in Computer Sciences and Engineering (ISSN: 2320-7639) Volume- 7, Issue-2, pp. 17-23, 2019