Performance Implications of Dynamic Memory Allocators on Transactional Memory Systems

被引:0
作者
Baldassin, Alexandro [1 ]
Borin, Edson [2 ]
Araujo, Guido [2 ]
机构
[1] UNESP Univ Estadual Paulista, Sao Paulo, Brazil
[2] Univ Estadual Campinas, Inst Comp, Campinas, SP, Brazil
基金
巴西圣保罗研究基金会;
关键词
Algorithms; Design; Performance; Transactional memory; dynamic memory allocation; performance evaluation;
D O I
10.1145/2688500.2688504
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although dynamic memory management accounts for a significant part of the execution time on many modern software systems, its impact on the performance of transactional memory systems has been mostly overlooked. In order to shed some light into this subject, this paper conducts a thorough investigation of the interplay between memory allocators and software transactional memory (STM) systems. We show that allocators can interfere with the way memory addresses are mapped to versioned locks on state-of-the-art software transactional memory implementations. Moreover, we observed that key aspects of allocators such as false sharing avoidance, scalability, and locality have a drastic impact on the final performance. For instance, we have detected performance differences of up to 171% in the STAMP applications when using distinct allocators. Moreover, we show that optimizations at the STM-level (such as caching transactional objects) are not effective when a modern allocator is already in use. All in all, our study highlights the importance of reporting the allocator utilized in the performance evaluation of transactional memory systems.
引用
收藏
页码:87 / 96
页数:10
相关论文
共 33 条
  • [1] Berger ED, 2000, ACM SIGPLAN NOTICES, V35, P117, DOI 10.1145/384264.379232
  • [2] Software Transactional Memory: Why is it Only a Research Toy?
    Cascaval, Calin
    Blundell, Colin
    Michael, Maged
    Cain, Harold W.
    Wu, Peng
    Chiras, Stefanie
    Chatterjee, Siddhartha
    [J]. COMMUNICATIONS OF THE ACM, 2008, 51 (11) : 40 - 46
  • [3] Castellaro Mariano, 2011, Psicol. caribe, P1
  • [4] Chi Cao Minh, 2008, 2008 IEEE International Symposium on Workload Characterization (IISWC), P35, DOI 10.1109/IISWC.2008.4636089
  • [5] Christie D, 2010, EUROSYS'10: PROCEEDINGS OF THE EUROSYS 2010 CONFERENCE, P27
  • [6] Dice D., 2002, SIGPLAN Not., V38, P163, DOI [10.1145/773039.512451, DOI 10.1145/773039.512451]
  • [7] Dice D, 2006, LECT NOTES COMPUT SC, V4167, P194
  • [8] Dragojevic A, 2011, PODC 11: PROCEEDINGS OF THE 2011 ACM SYMPOSIUM PRINCIPLES OF DISTRIBUTED COMPUTING, P99
  • [9] Why STM Can Be More Than A Research Toy
    Dragojevic, Aleksandar
    Felber, Pascal
    Gramoli, Vincent
    Guerraoui, Rachid
    [J]. COMMUNICATIONS OF THE ACM, 2011, 54 (04) : 70 - 77
  • [10] Stretching Transactional Memory
    Dragojevic, Aleksandar
    Guerraoui, Rachid
    Kapalka, Michal
    [J]. PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 155 - 165