发明名称 Method and apparatus for monitor and MWAIT in a distributed cache architecture
摘要 A method and apparatus for monitor and mwait in a distributed cache architecture is disclosed. One embodiment includes an execution thread sending a MONITOR request for an address to a portion of a distributed cache that stores the data corresponding to that address. At the distributed cache portion the MONITOR request and an associated speculative state is recorded locally for the execution thread. The execution thread then issues an MWAIT instruction for the address. At the distributed cache portion the MWAIT and an associated wait-to-trigger state are recorded for the execution thread. When a write request matching the address is received at the distributed cache portion, a monitor-wake event is then sent to the execution thread and the associated monitor state at the distributed cache portion for that execution thread can be reset to idle.
申请公布号 US9239789(B2) 申请公布日期 2016.01.19
申请号 US201514741624 申请日期 2015.06.17
申请人 Intel Corporation 发明人 Offen Zeev;Naveh Alon;Sorani Iris
分类号 G06F12/08;G06F9/30 主分类号 G06F12/08
代理机构 Trop, Pruner & Hu, P.C. 代理人 Trop, Pruner & Hu, P.C.
主权项 1. A processor comprising: a plurality of execution cores, each having a local storage to store a last monitored address for an execution thread when the execution thread is to issue a monitor request; and a distributed cache having a plurality of distributed cache portions, each cache portion to store data corresponding to an address of a memory storage location, the cache portion also including state storage to store monitor requests and associated states: wherein responsive to receipt of a monitor request for the address, the cache portion is to record in the state storage a speculative state for a monitor state machine of the cache portion for the execution thread, and to transition the monitor state machine from an idle state to the speculative state; responsive to receipt of an mwait request for the address, to record in the state storage a wait-to-trigger state for the monitor state machine and to transition the monitor state machine from the speculative state to the wait-to-trigger state, and to send a monitor-wake event responsive to receipt of a write request for the address while the monitor state machine is in the wait-to-trigger state and to record in the state storage the idle state for the monitor state machine; and responsive to receipt of a monitor request for a second address while the monitor state machine is in the speculative state, to maintain the monitor state machine in the speculative state, and responsive to receipt of a write request for the second address while the monitor state machine is in the speculative state and the second address is stored in the cache portion to transition the monitor state machine to the idle state.
地址 Santa Clara CA US