首页    期刊浏览 2024年07月18日 星期四
登录注册

文章基本信息

  • 标题:ActiveMonitor: Asynchronous Monitor Framework for Scalability and Multi-Object Synchronization
  • 本地全文:下载
  • 作者:Wei-Lun Hung ; Himanshu Chauhan ; Vijay K. Garg
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2016
  • 卷号:46
  • 页码:1-17
  • DOI:10.4230/LIPIcs.OPODIS.2015.29
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Monitor objects are used extensively for thread-safety and synchronization in shared memory parallel programs. They provide ease of use, and enable straightforward correctness analysis. However, they inhibit parallelism by enforcing serial executions of critical sections, and thus the performance of parallel programs with monitors scales poorly with number of processes. Their current design and implementation is also ill-suited for thread synchronization across multiple thread-safe objects. We present ActiveMonitor - a framework that allows multi-object synchronization without global locks, and improves parallelism by exploiting asynchronous execution of critical sections. We evaluate the performance of Java based implementation of ActiveMonitor on micro-benchmarks involving light and heavy critical sections, as well as on single-source-shortest-path problem in directed graphs. Our results show that on most of these problems, ActiveMonitor based programs outperform programs implemented using Java's reentrant-lock and condition constructs.
  • 关键词:concurrent/parallel programming; monitors; concurrency
国家哲学社会科学文献中心版权所有