×

Virtual uncompressed cache size control in compressed memory systems

  • US 6,779,088 B1
  • Filed: 10/24/2000
  • Issued: 08/17/2004
  • Est. Priority Date: 10/24/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a compressed memory system including a cache, and compressed memory having fixed size storage blocks for storing both compressed data segments and fixed size storage blocks defining a virtual uncompressed cache (VUC) for storing uncompressed data segments to enable reduced data access latency, a method for controlling the size of said VUC comprising:

  • a) maintaining a count of free fixed size storage blocks in said compressed memory system;

    b) providing directory structure having entries for locating both uncompressed data segments and compressed data segments for handling cache miss events in said compressed memory system, wherein a CPU generated real memory address is translated into a physical memory locations using said directory, each said directory entry including a status flag indicating compressibility status of said segment and a membership status indicator for indicating storage of said data segment in said VUC; and

    , c) for each cache miss event, accessing a corresponding directory entry and checking status of its corresponding data segment to determine whether said entry is already compressed, wherein for a cache miss event requiring access of an uncompressed data segment indicated in said directory as not stored in said VUC, storing said uncompressed data in said VUC when said free storage blocks count is greater than or equal to a first threshold and said cache miss event is a write access, or, removing a segment from said VUC, compressing and storing said removed segment as a compressed data segment and storing said uncompressed data in said VUC when said free storage blocks count is less than said first threshold and said cache miss event is a write access, whereby the size of the VUC varies dynamically.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×