METHOD, APPARATUS, AND SYSTEM FOR ADAPTIVE THREAD SCHEDULING IN TRANSACTIONAL MEMORY SYSTEMS
    11.
    发明申请
    METHOD, APPARATUS, AND SYSTEM FOR ADAPTIVE THREAD SCHEDULING IN TRANSACTIONAL MEMORY SYSTEMS 有权
    方法,装置和系统用于自适应线程调度在交互式存储器系统中

    公开(公告)号:US20130097607A1

    公开(公告)日:2013-04-18

    申请号:US13273695

    申请日:2011-10-14

    IPC分类号: G06F9/46

    摘要: An apparatus and method is described herein for adaptive thread scheduling in a transactional memory environment. A number of conflicts in a thread over time are tracked. And if the conflicts exceed a threshold, the thread may be delayed (adaptively scheduled) to avoid conflicts between competing threads. Moreover, a more complex version may track a number of transaction aborts within a first thread that are caused by a second thread over a period, as well as a total number of transactions executed by the first thread over the period. From the tracking, a conflict ratio is determined for the first thread with regard to the second thread. And when the first thread is to be scheduled, it may be delayed if the second thread is running and the conflict ratio is over a conflict ratio threshold.

    摘要翻译: 这里描述了一种在事务存储器环境中的自适应线程调度的装置和方法。 跟踪线程中的一些冲突。 如果冲突超过阈值,线程可能被延迟(自适应调度),以避免竞争线程之间的冲突。 此外,更复杂的版本可以跟踪在一段时间内由第二线程引起的第一线程内的多个事务中止以及在该周期上由第一线程执行的事务的总数。 从跟踪中,针对第二线程确定第一线程的冲突比。 并且当第一个线程被调度时,如果第二个线程正在运行并且冲突比超过了冲突比阈值,它可能被延迟。

    Dynamic management of compiled code
    12.
    发明授权
    Dynamic management of compiled code 有权
    编译代码的动态管理

    公开(公告)号:US07424705B2

    公开(公告)日:2008-09-09

    申请号:US10799467

    申请日:2004-03-11

    IPC分类号: G06F9/45

    CPC分类号: G06F9/45516

    摘要: Disclosed are a method, apparatus and system for dynamically managing layout of compiled code in a managed runtime environment. Profile feedback is generated during runtime, based on hardware event data that is gathered during runtime. A code manager dynamically relocates compiled code to reduce miss events based on the profile feedback. The code manager may also relocate virtual method tables in a virtual table region in order to reduce data miss events. The method does not require a prior run of an application program because profile feedback is based on event data that is tracked by hardware during execution of the software application and is not based on instrumented code.

    摘要翻译: 公开了一种用于在受管理的运行时环境中动态管理编译代码的布局的方法,装置和系统。 基于运行时收集的硬件事件数据,在运行时生成配置文件反馈。 代码管理器根据配置文件反馈动态地重新定位编译的代码以减少错误事件。 代码管理器还可以在虚拟表区域中重定位虚拟方法表,以减少数据未命中事件。 该方法不需要应用程序的先前运行,因为配置文件反馈基于在执行软件应用期间由硬件跟踪的事件数据,并且不基于装配的代码。