-
公开(公告)号:US07318125B2
公开(公告)日:2008-01-08
申请号:US10850426
申请日:2004-05-20
CPC分类号: G06F9/383 , G06F8/70 , G06F9/3455 , G06F12/0862
摘要: 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.
摘要翻译: 提供允许各个应用程序打开或关闭硬件预取的控制机制。 通过初步试运行,可以准确确定应用程序是否将受益于硬件预取。 通过将状态位与每个处理器的机器状态字中的各个进程相关联,可以通过各个应用程序进行预取的选择性控制。 使用这个预取位,一个进程在上下文切换之后立即在处理器核心中开启或关闭其自身的优势。