首页> 外国专利> Method and system for autonomically adaptive mutexes by considering acquisition cost value

Method and system for autonomically adaptive mutexes by considering acquisition cost value

机译:考虑购置成本值的自主自适应互斥锁的方法和系统

摘要

A method for managing a mutex in a data processing system is presented. For each mutex, an average acquisition cost is maintained that indicates an average consumption of computational resources that has been incurred by threads attempting to acquire the mutex. If a thread attempts to acquire a locked mutex, then the thread enters a spin state or a sleep state based on restrictive conditions and the average acquisition cost value for the mutex at that time. A thread-specific current acquisition cost value is maintained that represents the consumption of computational resources by the thread after the initial attempt to acquire the mutex and prior to acquiring the mutex. When the thread acquires the mutex, the thread-specific current acquisition cost value is included into the average acquisition cost value.
机译:提出了一种在数据处理系统中管理互斥量的方法。对于每个互斥锁,将维持平均获取成本,该平均获取成本指示尝试获取互斥锁的线程所引起的计算资源的平均消耗。如果线程尝试获取锁定的互斥锁,则线程将基于限制性条件和当时的互斥锁的平均获取成本值进入旋转状态或休眠状态。维护特定于线程的当前获取成本值,该值表示在最初尝试获取互斥锁之后且在获取互斥锁之前线程消耗的计算资源。当线程获取互斥量时,特定于线程的当前获取成本值将包含在平均获取成本值中。

著录项

  • 公开/公告号US7383368B2

    专利类型

  • 公开/公告日2008-06-03

    原文格式PDF

  • 申请/专利权人 JOEL HOWARD SCHOPP;

    申请/专利号US20030671061

  • 发明设计人 JOEL HOWARD SCHOPP;

    申请日2003-09-25

  • 分类号G06F12/00;

  • 国家 US

  • 入库时间 2022-08-21 20:10:04

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号