Back to results
US 12,001,338 B2Granted
Method and system for implementing metadata compression in a virtualization environment
AssigneeNutanix, Inc.
InventorsGaurav Jain, Rohit Ghivdonde, Srihita Goli, Shyam Sankaran, Anoop Jawahar
Life of this patent
Estimating the term…
Abstract
Disclosed is an approach for implementing a metadata cache in a virtualization system. A self-adaptive approach is provided to keep compressed and uncompressed entries together in cache. Along with adaptive nature, disclosed is an approach to prioritize critical workloads for the cache.
Claims27
A method, comprising:
- maintaining metadata cache to hold metadata, wherein the metadata cache is local to a node within a virtualization environment, the metadata corresponding to data stored in a storage pool in the virtualization environment, and the metadata is used to perform storage operations upon the data in the storage pool;
- and
- compressing at least a portion of the metadata in the metadata cache that is local to the node in the virtualization environment, wherein compression is performed upon a subset of an ordered set of received metadata entries for a corresponding time period prior to inserting the subset into the metadata cache, the subset being a number of sequentially first metadata entries in the ordered set of metadata entries and a remainder of subsequent metadata entries of the ordered set of metadata entries are inserted into the metadata cache without compression, the number being based on a compression rate for the corresponding time period, and the compression rate being changeable for different time periods.
A computer program product embodied on a computer usable medium having stored thereon a sequence of instructions which, when executed by a processor causes steps, comprising:
- maintaining a metadata cache to hold metadata, wherein the metadata cache is local to a node within a virtualization environment, the metadata corresponding to data stored in a storage pool in the virtualization environment, and the metadata is used to perform storage operations upon the data in the storage pool;
- and
- compressing at least a portion of the metadata in the metadata cache that is local to the node in the virtualization environment, wherein compression is performed upon a subset of an ordered set of received metadata entries for a corresponding time period prior to inserting the subset into the metadata cache, the subset being a number of sequentially first metadata entries in the ordered set of metadata entries and a remainder of subsequent metadata entries of the ordered set of metadata entries are inserted into the metadata cache without compression, the number being based on a compression rate for the corresponding time period, and the compression rate being changeable for different time periods.
A system for managing a virtual storage system, comprising:
- a processor;
- a memory for holding code;
- and
- wherein the code includes instructions for maintaining a metadata cache to hold metadata, wherein the metadata cache is local to a node within a virtualization environment, the metadata corresponding to data stored in a storage pool in the virtualization environment, and the metadata is used to perform a storage operation upon the data in the storage pool;
- and compressing at least a portion of the metadata in the metadata cache that is local to the node in the virtualization environment, wherein compression is performed upon a subset of an ordered set of received metadata entries for a corresponding time period prior to inserting the subset into the metadata cache, the subset being a number of sequentially first metadata entries in the ordered set of metadata entries and a remainder of subsequent metadata entries of the ordered set of metadata entries are inserted into the metadata cache without compression, the number being based on a compression rate for the corresponding time period, and the compression rate being changeable for different time periods.
2 more elements
Dependencies are inferred from the claim text.