首页> 外国专利> Averting lock contention associated with core-based hardware threading in a split core environment

Averting lock contention associated with core-based hardware threading in a split core environment

机译:在拆分核心环境中避免与基于核心的硬件线程相关联的锁争用

摘要

Techniques are disclosed for managing lock contention in a multithreaded processing system. In one embodiment, a method includes tracking a current total amount of time that one or more software threads are prevented from execution due to a lock, a current utilization of one or more hardware threads in the processor, and a current number of dispatchable software threads. If the current total amount of time exceeds a predetermined threshold, the method includes performing a comparison of the current total amount of time, the current utilization, and the current number of dispatchable software threads to one or more past measurements. Based on the comparison, the method includes determining if reducing a number of active hardware threads will reduce a wait time. If reducing the number of active hardware threads will reduce the wait time, reducing the number of active hardware threads.
机译:公开了用于在多线程处理系统中管理锁争用的技术。在一个实施例中,一种方法包括跟踪由于锁定而阻止一个或多个软件线程执行的当前总时间,处理器中一个或多个硬件线程的当前利用率以及可调度软件线程的当前数量。 。如果当前总时间量超过预定阈值,则该方法包括将当前总时间量,当前利用率和当前可调度软件线程数与一个或多个过去的测量值进行比较。基于比较,该方法包括确定减少活动硬件线程的数量是否会减少等待时间。如果减少活动硬件线程的数量将减少等待时间,则减少活动硬件线程的数量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号