发明授权
- 专利标题: Demand-based larx-reserve protocol for SMP system buses
- 专利标题(中): 用于SMP系统总线的基于需求的larx-reserve协议
-
申请号: US815647申请日: 1997-03-13
-
公开(公告)号: US5895495A公开(公告)日: 1999-04-20
- 发明人: Ravi Kumar Arimilli , John Steven Dodson , Jerry Don Lewis , Derek Edward Williams
- 申请人: Ravi Kumar Arimilli , John Steven Dodson , Jerry Don Lewis , Derek Edward Williams
- 申请人地址: NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: NY Armonk
- 主分类号: G06F9/52
- IPC分类号: G06F9/52 ; G06F12/08 ; G06F15/16 ; G06F15/177 ; G06F13/16
摘要:
A method of handling load-and-reserve instructions in a multi-processor computer system wherein the processing units have multi-level caches. Symmetric multi-processor (SMP) computers use cache coherency to ensure the same values for a given memory address are provided to all processors in the system. Load-and-reserve instructions used, for example, in quick read-and-write operations, can become unnecessarily complicated. The present invention provides a method of accessing values in the computer's memory by loading the value from the memory device into all of said caches, and sending a reserve bus operation from a higher-level cache to the next lower-level cache only when the value is to be cast out of the higher cache, and thereafter casting out the value from the higher cache after sending the reserve bus operation. This procedure is preferably used for all caches in a multi-level cache architecture, i.e., when the value is to be cast out of any given cache, a reserve bus operation is sent from the given cache to the next lower-level cache (i.e., the adjacent cache which lies closer to the bus), but the reserve bus operation is not sent to all lower caches. Any attempt by any other processing unit in the computer system to write to an address of the memory device which is associated with the value will then be forwarded to all higher-level caches. The marking of the block as reserved is removed in response to any such attempt to write to the address.
公开/授权文献
- US4853986A Water level control 公开/授权日:1989-08-08
信息查询