首页> 外文OA文献 >Smartlocks: Self-Aware Synchronization through Lock Acquisition Scheduling
【2h】

Smartlocks: Self-Aware Synchronization through Lock Acquisition Scheduling

机译:智能锁:通过锁获取调度进行自我意识同步

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

As multicore processors become increasingly prevalent, system complexity is skyrocketing. The advent of the asymmetric multicore compounds this -- it is no longer practical for an average programmer to balance the system constraints associated with today's multicores and worry about new problems like asymmetric partitioning and thread interference. Adaptive, or self-aware, computing has been proposed as one method to help application and system programmers confront this complexity. These systems take some of the burden off of programmers by monitoring themselves and optimizing or adapting to meet their goals. This paper introduces an open-source self-aware synchronization library for multicores and asymmetric multicores called Smartlocks. Smartlocks is a spin-lock library that adapts its internal implementation during execution using heuristics and machine learning to optimize toward a user-defined goal, which may relate to performance, power, or other problem-specific criteria. Smartlocks builds upon adaptation techniques from prior work like reactive locks, but introduces a novel form of adaptation designed for asymmetric multicores that we term lock acquisition scheduling. Lock acquisition scheduling is optimizing which waiter will get the lock next for the best long-term effect when multiple threads (or processes) are spinning for a lock. Our results demonstrate empirically that lock scheduling is important for asymmetric multicores and that Smartlocks significantly outperform conventional and reactive locks for asymmetries like dynamic variations in processor clock frequencies caused by thermal throttling events.
机译:随着多核处理器变得越来越普遍,系统复杂性正在飞涨。非对称多核的出现使这一问题更加复杂-对于普通程序员来说,平衡与当今多核相关的系统约束并担心诸如非对称分区和线程干扰之类的新问题已不再可行。自适应或自觉计算已经被提出来作为一种帮助应用程序和系统程序员应对这种复杂性的方法。这些系统通过监视自己并进行优化或调整以实现其目标,减轻了程序员的负担。本文介绍了一种针对多核和非对称多核的开源自我感知同步库,称为Smartlocks。 Smartlocks是一个自旋锁库,它在执行过程中使用启发式和机器学习来适应其内部实现,以朝着用户定义的目标进行优化,该目标可能与性能,功耗或其他特定问题的标准有关。 Smartlocks建立在先前的工作(例如无功锁)的适应技术的基础上,但引入了一种针对非对称多核设计的新型适应形式,我们称之为锁获取调度。锁获取调度正在优化当多个线程(或进程)为锁旋转时,哪个服务员将获得下一个锁,以获得最佳的长期效果。我们的结果从经验上证明,锁定调度对于非对称多核非常重要,并且对于非对称性(例如由热节流事件引起的处理器时钟频率的动态变化),Smartlock的性能明显优于传统和无功锁。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号