发明名称 Method and apparatus for optimizing a sector cache tag, block and sub-block structure base on main memory size
摘要 A sector cache tag structure for a computer system with a cache memory and a maximum amount of system memory is disclosed. Upon initial power-up of the computer system, the amount of system memory installed in the computer system is determined. A minimum number of sub-blocks for the cache memory is selected such that when less than the maximum amount of system memory is installed, fewer sub-blocks are selected for each block in the cache memory. Based on the optimal number of sub-blocks selected for the amount of installed memory, a plurality of cache tags, block valid bits and sub-block valid bits are stored. The number of cache tags and block valid bits is equivalent to the number of blocks in the cache memory, and the number of sub-block valid bits is equal to the number of sub-blocks. The cache tags are stored in a cache tag random access memory (RAM). The block valid bits are stored in a block valid RAM which is large enough to store all the block valid bits for a minimum amount of memory installed in the computer system, and the sub-block valid bits are stored in a sub-block valid RAM comprising a total size to support the maximum amount of memory installed.
申请公布号 US5539894(A) 申请公布日期 1996.07.23
申请号 US19930049078 申请日期 1993.04.20
申请人 SUN MICROSYSTEMS, INC. 发明人 WEBBER, THOMAS
分类号 G06F12/08;(IPC1-7):G06F12/06 主分类号 G06F12/08
代理机构 代理人
主权项
地址