Optimized configurable scheme for demand based resource sharing of request queues in a cache controller
First Claim
1. A method comprisingdetecting a core request;
- detecting a writeback request;
prioritizing the writeback entry and an incoming core request;
determining if any entries are available in a cache controller;
allocating a first entry for a writeback eviction;
allocating an entry for the incoming core request if a second entry is available;
redispatching the incoming core request if no additional entries are available;
determining status of a register bit within a register capable of being one of set and cleared, and dynamically selecting between one of a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority based on said determined status of said register bit.
0 Assignments
0 Petitions
Accused Products
Abstract
A cache controller is presented having at least one register. The cache controller is connected to a cache memory, which is connected to the register. The cache controller dynamically selects between a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority. Also presented is a device having a single request queue and a corresponding single set of buffers. The device dynamically selects between a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority.
-
Citations
15 Claims
-
1. A method comprising
detecting a core request; -
detecting a writeback request;
prioritizing the writeback entry and an incoming core request;
determining if any entries are available in a cache controller;
allocating a first entry for a writeback eviction;
allocating an entry for the incoming core request if a second entry is available;
redispatching the incoming core request if no additional entries are available;
determining status of a register bit within a register capable of being one of set and cleared, and dynamically selecting between one of a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority based on said determined status of said register bit. - View Dependent Claims (2, 3)
-
-
4. A computer system comprising:
-
at least one computer processor, the computer processor having at least one cache memory and a cache controller;
a register coupled to the at least one processor;
a memory bus coupled to the at least one computer processor;
a memory coupled to the memory bus; and
a means for dynamically selecting between one of a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority, said means comprising a register bit within the register capable of being one of set and cleared, wherein the computer processor queries the register to determine if the register bit is one of set and cleared. - View Dependent Claims (5, 6)
-
-
7. A computer system comprising:
-
at least one computer processor, the computer processor having at least one cache memory and a cache controller;
a register coupled to the at least one processor;
a memory bus coupled to the at least one computer processor;
a memory coupled to the memory bus; and
a register bit within the register capable of being one of set and cleared, wherein said cache controller dynamically selects between one of a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority, and the computer processor queries the register to determine if the register bit is one of set and cleared. - View Dependent Claims (8, 9)
-
-
10. A cache controller comprising;
-
at least one register;
a cache memory coupled to said register, and a register bit within the register capable of being one of set and cleared, wherein said cache controller dynamically selects between one of a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority, and the cache controller queries the register to determine if the register bit is one of set and cleared. - View Dependent Claims (11, 12)
-
-
13. An apparatus comprising;
-
a single request queue and a corresponding single set of buffers, and a register having a register bit capable of being one of set and cleared, wherein said apparatus dynamically selects between one of a cache management scheme based on a maximum number of programmable writeback entries and a cache management scheme allowing both writeback entries and incoming core requests to be allocated based on priority, and the apparatus queries the register to determine if the register bit is one of set and cleared. - View Dependent Claims (14, 15)
a buffer in the corresponding single set of buffers, said buffer is capable of servicing one of writeback eviction requests and core requests.
-
-
15. The apparatus of claim 14, wherein a higher priority is given to writeback evictions over incoming core requests.
Specification