Systems and methods for data caching
First Claim
Patent Images
1. A method of data caching, comprising:
- establishing a FIFO queue and a LRU queue in a cache memory;
establishing an auxiliary FIFO queue for addresses of cache lines which have been swapped-out to an external memory;
when there is a cache miss for an address for requested data;
determining if there is a hit for the address for the requested data in the auxiliary FIFO queue, and if there is a hit for the address for the reguested data in the auxiliary FIFO queue, swapping-in the requested data into the LRU queue from the external memory, andwhen there is a cache miss for the address for the requested data in the auxiliary FIFO queue, swapping-in the requested data into the FIFO queue; and
when there is a cache hit for the address for the requested data, returning the requested data.
3 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are provided for data caching. An exemplary method for data caching may include establishing a FIFO queue and a LRU queue in a cache memory. The method may further include establishing an auxiliary FIFO queue for addresses of cache lines that have been swapped-out to an external memory. The method may further include determining, if there is a cache miss for the requested data, if there is a hit for requested data in the auxiliary FIFO queue and, if so, swapping-in the requested data into the LRU queue, otherwise swapping-in the requested data into the FIFO queue.
29 Citations
20 Claims
-
1. A method of data caching, comprising:
-
establishing a FIFO queue and a LRU queue in a cache memory; establishing an auxiliary FIFO queue for addresses of cache lines which have been swapped-out to an external memory; when there is a cache miss for an address for requested data; determining if there is a hit for the address for the requested data in the auxiliary FIFO queue, and if there is a hit for the address for the reguested data in the auxiliary FIFO queue, swapping-in the requested data into the LRU queue from the external memory, and when there is a cache miss for the address for the requested data in the auxiliary FIFO queue, swapping-in the requested data into the FIFO queue; and when there is a cache hit for the address for the requested data, returning the requested data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 18, 19, 20)
-
-
8. A cache memory storing computer-readable instructions for performing a method of data caching, the method comprising:
-
establishing a FIFO queue and a LRU queue; establishing an auxiliary FIFO queue for addresses of cache lines which have been swapped-out to an external memory; determining if there is a hit corresponding to an address for requested data in the auxiliary FIFO queue and when there is a hit corresponding to the address for the requested data in the auxiliary FIFO queue, swapping-in the requested data into the LRU queue from the external memory in case of the hit; and determining if there is a hit for the requested data in the auxiliary FIFO queue when there is a cache miss for the address for the requested data. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A data processing system comprising:
-
at least one processor for running an application program; an external memory; and a cache memory coupled to the processor and the external memory, the cache memory storing computer-readable instructions for performing a method of data caching, the method comprising; establishing a FIFO queue and a LRU queue; establishing an auxiliary FIFO queue for cache line addresses which have been swapped-out to an external memory; determining if there is a hit corresponding to an address for requested data in the auxiliary FIFO queue and when there is a hit corresponding to the address for the requested data in the auxiliary FIFO queue, swapping-in the requested data into the LRU queue from the external memory in case of the hit; and determining if there is a hit for the requested data in the auxiliary FIFO queue when there is a cache miss for the address for the requested data. - View Dependent Claims (16, 17)
-
Specification