US 12,001,338 B2
Method and system for implementing metadata compression in a virtualization environment
Gaurav Jain, Bangalore (IN); Rohit Ghivdonde, Nagpur (IN); Srihita Goli, Bellevue, WA (US); Shyam Sankaran, Chennai (IN); and Anoop Jawahar, Bangalore (IN)
Assigned to Nutanix, Inc., San Jose, CA (US)
Filed by Nutanix, Inc., San Jose, CA (US)
Filed on Oct. 29, 2021, as Appl. No. 17/452,834.
Prior Publication US 2023/0136522 A1, May 4, 2023
Int. Cl. G06F 12/0868 (2016.01); G06F 9/455 (2018.01); G06F 9/50 (2006.01)
CPC G06F 12/0868 (2013.01) [G06F 9/45558 (2013.01); G06F 9/5038 (2013.01); G06F 2009/45579 (2013.01); G06F 2009/45583 (2013.01); G06F 2212/1021 (2013.01); G06F 2212/7207 (2013.01)] 27 Claims
OG exemplary drawing
 
1. 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.