Probabilistic algorithm to check whether a file is unique for deduplication

    公开(公告)号:US11669495B2

    公开(公告)日:2023-06-06

    申请号:US16552908

    申请日:2019-08-27

    申请人: VMware, Inc.

    IPC分类号: G06F7/00 G06F16/174 G06F16/14

    CPC分类号: G06F16/1752 G06F16/152

    摘要: Disclosed techniques include deduplication. Techniques include determining whether a file is unique, and depending on whether the file is unique, deduplicating only part of the file or the entire file. The techniques include processing the first chunk of a file to determine whether the hash of the chunk hash is already within a chunk hash table, and if not, then a percentage of chunks of the file is similarly processed. If any of the hashes of chunks are already in the chunk hash table, then at least some of file has been previously deduplicated, and file is not unique the storage system. If none of the processed chunks have a hash that is already in the chunk hash table, then the file is considered to be unique within chunk store and only a partial percentage of the file's chunks are deduplicated. Not all of a unique file's chunks are deduplicated.

    Fast algorithm to find file system difference for deduplication

    公开(公告)号:US11775484B2

    公开(公告)日:2023-10-03

    申请号:US16552965

    申请日:2019-08-27

    申请人: VMware, Inc.

    摘要: The disclosure provides techniques for deduplicating files. The techniques include, upon creating or modifying a file, placing a logical timestamp of the current logical time, within a queue associated with the directory of the file. The techniques further include placing the logical timestamp within a queue of each parent directory of the directory of the file. To determine a set of files for deduplication, the techniques disclosed herein identify files that have been modified within a logical time range. The set of files modified within a logical time is identified by traversing directories of a storage system, the directories being organized within a tree structure. If a directory's queue does not contain a timestamp that is within the logical time range, then all child directories can be skipped over for further processing, such that no files within the child directories end up being within the set of files for deduplication.

    Efficient garbage collection of variable size chunking deduplication

    公开(公告)号:US11461229B2

    公开(公告)日:2022-10-04

    申请号:US16552954

    申请日:2019-08-27

    申请人: VMware, Inc.

    IPC分类号: G06F3/06 G06F12/02

    摘要: The present disclosure provides techniques for deallocating previously allocated storage blocks. The techniques include obtaining a list of chunk IDs to analyze, choosing a chunk ID, and determining the storage blocks spanned by the chunk corresponding to the chosen chunk ID. The technique further includes determining whether any file references any storage blocks spanned by the chunk. The determining may be performed by comparing an internal reference count to a total reference count, where the internal reference count is the number of reference to the storage block by a chunk ID data structure. If no files reference any of the storage blocks spanned by the chunk, then all the storage blocks of the chunk can be deallocated.