Method and apparatus for managing memory
AssigneeMStar Semiconductor, Inc.
InventorsYi-Shin Tung, He-Yuan Lin, Jia-Wei Lin, Hung-Wei Yang
Life of this patent
Estimating the term…
Abstract
An apparatus for managing a memory including a working region and a compression region is provided. The working region stores uncompressed data. The apparatus includes a management module and a compression/decompression module. According to a recent used index and a compression ratio of a set of target data stored in the working region, the management module determines whether to transfer the target data to the compression region. When the management module determines to transfer the target data to the compression region, the compression/decompression module compresses the target data and transfers the compressed target data to the compression region.
Claims23
An apparatus for managing a memory, the memory comprising a working region and a compression region, the working region storing uncompressed data, the apparatus comprising:
- a management module, configured to determine whether a set of target data is to be moved from the working region to the compression region according to a recent usage index and a compression ratio of the set of target data;
- and
- a compression/decompression module, configured to compress the set of target data and to move the compressed target data to the compression region when the management module determines that the set of target data is to be moved.
A method for managing a memory, the memory comprising a working region and a compression region, the working region storing uncompressed data, the method comprising:
- a) determining whether a set of target data stored in the working region is to be moved to the compression region according to a recent usage index and a compression ratio of the target data;
- and
- b) when a determination result of step (a) is affirmative, compressing the target data, and moving the compressed target data to the compression region.
A method for managing a memory, the memory comprising a working region and a compression region, the working region storing uncompressed data, the method comprising:
- a) determining whether a predetermined condition is met according to a usage ratio of the working region and a usage ratio of the compression region;
- and
- b) when a determination result of step (a) is affirmative, determining whether to move a set of target data from the working region to the compression region according to a recent usage index and a compression ratio of the target data.
Dependencies are inferred from the claim text.