Runtime selective control of hardware prefetch mechanism
    1.
    发明授权
    Runtime selective control of hardware prefetch mechanism 失效
    硬件预取机制的运行时选择性控制

    公开(公告)号:US07318125B2

    公开(公告)日:2008-01-08

    申请号:US10850426

    申请日:2004-05-20

    IPC分类号: G06F9/00 G06F12/00

    摘要: A control mechanism that allows individual applications to turn hardware prefetch on or off is provided. By preliminary trial run one can determine precisely whether an application will benefit or suffer from hardware prefetch. The selective control of prefetching by individual applications is made possible by associating a status bit with individual processes in the machine status word of each processor. Using this prefetch bit, a process turns prefetching on or off to its own advantage in the processor core immediately after a context switch.

    摘要翻译: 提供允许各个应用程序打开或关闭硬件预取的控制机制。 通过初步试运行,可以准确确定应用程序是否将受益于硬件预取。 通过将状态位与每个处理器的机器状态字中的各个进程相关联,可以通过各个应用程序进行预取的选择性控制。 使用这个预取位,一个进程在上下文切换之后立即在处理器核心中开启或关闭其自身的优势。