首页> 外文期刊>Concurrency and computation: practice and experience >Hardware locks for a real-time Java chip multiprocessor
【24h】

Hardware locks for a real-time Java chip multiprocessor

机译:实时Java芯片多处理器的硬件锁

获取原文
获取原文并翻译 | 示例

摘要

A software locking mechanism commonly protects shared resources for multithreaded applications. Thisrnmechanism can, especially in chip-multiprocessor systems, result in a large synchronization overhead.rnFor real-time systems in particular, this overhead increases the worst-case execution time and may voidrna task set’s schedulability. This paper presents 2 hardware locking mechanisms to reduce the worst-caserntime required to acquire and release synchronization locks. These solutions are implemented for the chipmultiprocessorrnversion of the Java Optimized Processor. The 2 hardware locking mechanisms are comparedrnwith a software locking solution as well as the original locking system of the processor. The hardwarerncost and performance are evaluated for all presented locking mechanisms. The performance of the betterperformingrnhardware locks is comparable with that of the original single global lock when contending forrnthe same lock. When several noncontending locks are used, the hardware locks enable true concurrency forrncritical sections. Benchmarks show that using the hardware locks yields performance ranging from no worsernthan the original locks to more than twice their best performance. This improvement can allow a larger numberrnof real-time tasks to be reliably scheduled on a multiprocessor real-time platform. Copyright © 2016rnJohn Wiley & Sons, Ltd.
机译:软件锁定机制通常保护多线程应用程序的共享资源。这种机制可能会导致很大的同步开销,尤其是在芯片多处理器系统中。对于实时系统,这种开销会增加最坏情况下的执行时间,并且可能使任务集的可调度性丧失。本文提出了两种硬件锁定机制,以减少获取和释放同步锁定所需的最坏情况。这些解决方案是针对Java Optimized Processor的chipmultiprocessorrnversion实现的。将这两种硬件锁定机制与软件锁定解决方案以及处理器的原始锁定系统进行了比较。针对所有现有的锁定机制评估了硬件成本和性能。当争用相同的锁时,性能更好的硬件锁的性能可与原始的单个全局锁相媲美。当使用几个非竞争锁时,硬件锁启用真正的并发非关键部分。基准测试表明,使用硬件锁所产生的性能从不比原始锁差到其最佳性能的两倍以上。此改进可以允许在多处理器实时平台上可靠地调度更多的实时任务。版权所有©2016rnJohn Wiley&Sons,Ltd.

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号