US20130054906A1 - Managing dereferenced chunks in a deduplication system - Google Patents
Managing dereferenced chunks in a deduplication system Download PDFInfo
- Publication number
- US20130054906A1 US20130054906A1 US13/221,646 US201113221646A US2013054906A1 US 20130054906 A1 US20130054906 A1 US 20130054906A1 US 201113221646 A US201113221646 A US 201113221646A US 2013054906 A1 US2013054906 A1 US 2013054906A1
- Authority
- US
- United States
- Prior art keywords
- chunk
- referenced
- chunks
- selecting
- criteria
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 238000005259 measurement Methods 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 19
- 230000000694 effects Effects 0.000 claims description 12
- 238000000034 method Methods 0.000 description 19
- 238000012545 processing Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000014759 maintenance of location Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000006855 networking Effects 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000010076 replication Effects 0.000 description 2
- 238000012384 transportation and delivery Methods 0.000 description 2
- 230000003466 anti-cipated effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000009172 bursting Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000012517 data analytics Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000011176 pooling Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/174—Redundancy elimination performed by the file system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
- G06F3/0641—De-duplication techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
Definitions
- the present invention relates to a computer program product, system, and method for managing dereferenced chunks in a deduplication system.
- a deduplication system operates by dividing a file into a series of chunks, or extents. The deduplication system determines whether any of the chunks are already stored, and then proceeds to only store those non-redundant chunks. Redundancy may be checked with chunks in the file being stored or chunks already stored in the system.
- the deduplication can be performed at the data source (client), target (server) or on a deduplication appliance connected to the server.
- client data source
- target server
- deduplication appliance connected to the server.
- the ability to deduplicate data at the source or at the target offers flexibility in respect to resource utilization and policy management.
- source-side deduplication can conserve network bandwidth, but may also require deployment of special agent software to each source.
- deduplication may be performed between multiple servers such that a source server sends data extents to the target server only if those extents are not already stored at the target server.
- a chunk index has information on chunks in a storage space referenced in objects in the storage space.
- the chunk index includes a reference count for each chunk indicating a number of objects in which the chunk is referenced and a reference measurement representing a level of data object references to the chunk.
- One chunk is selected to remove from the storage space based on a criteria applied to the reference measurements of chunks having reference counts indicating that the chunks are not referenced in one object in the storage space.
- FIG. 1 illustrates a computing environment in which embodiments are implemented.
- FIG. 10 illustrates an embodiment of operations to select chunks to remove based on a total accumulated references criteria.
- FIG. 12 illustrates an embodiment of operations to select chunks to remove based on multiple criteria.
- FIG. 13 illustrates an implementation of a node in the network computing embodiment.
- FIG. 15 illustrates an embodiment of abstraction model layers of a cloud computing environment.
- the described embodiments minimize usage of transmission and storage bandwidth by reducing the number of times chunks that were previously dereferenced need to be resent to storage when later added to a data object because the dereferenced chunks are retained in storage as long as practicably possible. Further, the described embodiments minimize Input/Output operations by avoiding the need to re-create deduplication index entries for dereferenced chunks later added to a data object, because the index entries for the dereferenced chunks remain until the dereferenced chunk is removed from the storage.
- the source backup manager 14 may provide the hash and length of the chunk to the target backup manager 16 , and the target backup manager 16 may determine whether one entry 60 in the chunk index 28 has a hash value 64 and length 66 matching those sent by the source backup manager 14 to determine whether the source 14 needs to transmit the full chunk or just an identifier of the chunk, e.g., the digest and length.
- the deduplication manager 26 indicates (at block 116 ) that Ci does not need to be sent to the target 6 to store.
- the total accumulated references 74 is incremented (at block 118 )
- the reference count 68 is incremented (at block 120 )
- the time most recently referenced 70 is set (at block 122 ) to the current timestamp of the system. From blocks 114 or 122 , control proceeds (at block 124 ) to process a next chunk indicated in the request.
- FIG. 6 illustrates an embodiment of operations performed by the deduplication manager 26 upon receiving notification from the target backup manager 16 or the source backup manager 14 of a chunk being removed from a data object.
- the deduplication component 24 may be notified of all chunks in a data object 10 if the entire data object is being removed or migrated to another storage space, or the chunks are being deleted from a data object that is still maintained by the source 4 .
- the deduplication manager 26 decrements (at block 152 ) the reference count 68 for the chunk.
- Resource pooling the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
- PaaS Platform as a Service
- the consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
- IaaS Infrastructure as a Service
- the consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
- Program/utility 314 having a set (at least one) of program modules 316 , may be stored in memory 306 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment.
- Program modules 316 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
- network adapter 324 communicates with the other components of computer system/server 302 via bus 308 .
- bus 308 It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 302 . Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
- an embodiment means “one or more (but not all) embodiments of the present invention(s)” unless expressly specified otherwise.
- Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise.
- devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
- FIGS. 5-12 show certain events occurring in a certain order. In alternative embodiments, certain operations may be performed in a different order, modified or removed. Moreover, steps may be added to the above described logic and still conform to the described embodiments. Further, operations described herein may occur sequentially or certain operations may be processed in parallel. Yet further, operations may be performed by a single processing unit or by distributed processing units.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A chunk index has information on chunks in a storage space referenced in objects in the storage space. The chunk index includes a reference count for each chunk indicating a number of objects in which the chunk is referenced and a reference measurement representing a level of data object references to the chunk. One chunk is selected to remove from the storage space based on a criteria applied to the reference measurements of chunks having reference counts indicating that the chunks are not referenced in one object in the storage space.
Description
- 1. Field of the Invention
- The present invention relates to a computer program product, system, and method for managing dereferenced chunks in a deduplication system.
- 2. Description of the Related Art
- Data deduplication is a data compression technique for eliminating redundant data to improve storage utilization. Deduplication reduces the required storage capacity because only one copy of a unique data unit, also known as a chunk or extent, is stored. Disk based storage systems, such as a storage management server or Virtual Tape Library (VTL), may implement deduplication technology to detect redundant data chunks, and reduce duplication by avoiding redundant storage of such chunks.
- A deduplication system operates by dividing a file into a series of chunks, or extents. The deduplication system determines whether any of the chunks are already stored, and then proceeds to only store those non-redundant chunks. Redundancy may be checked with chunks in the file being stored or chunks already stored in the system.
- An object may be divided into chunks using a fingerprinting technique such as Karp-Rabin fingerprinting. Redundant chunks are detected using a hash function, such as MD5 (Message-Digest Algorithm 5) or SHA-1 (Secure Hash Algorithm 1), on each chunk to produce a hash value for the chunks and then compare those hash values against hash values of chunks already stored on the system. Typically the hash values for stored chunks are maintained in an index (deduplication index). A chunk may be uniquely identified by a hash value, or digest, and a chunk size. The hash of a chunk being considered is looked-up in the deduplication index. If an entry is found for that hash value and size, then a redundant chunk is identified, and that chunk in the object can be replaced with a pointer to the matching chunk maintained in storage.
- In a client-server software system, the deduplication can be performed at the data source (client), target (server) or on a deduplication appliance connected to the server. The ability to deduplicate data at the source or at the target offers flexibility in respect to resource utilization and policy management. There are also tradeoffs in use of source-side versus target-side deduplication. For example, source-side deduplication can conserve network bandwidth, but may also require deployment of special agent software to each source. Further, deduplication may be performed between multiple servers such that a source server sends data extents to the target server only if those extents are not already stored at the target server.
- A chunk index has information on chunks in a storage space referenced in objects in the storage space. The chunk index includes a reference count for each chunk indicating a number of objects in which the chunk is referenced and a reference measurement representing a level of data object references to the chunk. One chunk is selected to remove from the storage space based on a criteria applied to the reference measurements of chunks having reference counts indicating that the chunks are not referenced in one object in the storage space.
-
FIG. 1 illustrates a computing environment in which embodiments are implemented. -
FIG. 2 illustrates an embodiment of object information. -
FIG. 3 illustrates an embodiment of a chunk index entry. -
FIG. 4 illustrates an embodiment of a chunk storage information entry. -
FIG. 5 illustrates an embodiment of operations to process chunks in an object to determine chunks to transmit to storage. -
FIG. 6 illustrates an embodiment of operations to perform when a chunk is removed from a data object. -
FIG. 7 illustrates an embodiment of operations to determine chunks to remove from storage. -
FIG. 8 illustrates an embodiment of operations to select chunks to remove based on a least recently referenced criteria. -
FIG. 9 illustrates an embodiment of operations to select chunks to remove based on a least recently dereferenced criteria. -
FIG. 10 illustrates an embodiment of operations to select chunks to remove based on a total accumulated references criteria. -
FIG. 11 illustrates an embodiment of operations to select chunks to remove based on a fixed retention time. -
FIG. 12 illustrates an embodiment of operations to select chunks to remove based on multiple criteria. -
FIG. 13 illustrates an implementation of a node in the network computing embodiment. -
FIG. 14 illustrates an embodiment of a cloud computing environment. -
FIG. 15 illustrates an embodiment of abstraction model layers of a cloud computing environment. - Described embodiments provide techniques to determine dereferenced chunks in a deduplication system, which are chunks which are not referenced in an object, to remove from a storage space. The deduplication component may maintain one or more reference measurements representing a level of data object references to the chunks. One or more criteria may be applied to these reference measurements to determine dereferenced chunks to remove from storage. Chunks having a relatively lower degree of object references are removed because a higher level of object references indicates that the dereferenced chunk is more likely to be referenced in the future. Retaining dereferenced chunks more likely to be referenced in the storage reduces the need to retransmit those dereferenced chunks when subsequently referenced in a data object.
- The described embodiments minimize usage of transmission and storage bandwidth by reducing the number of times chunks that were previously dereferenced need to be resent to storage when later added to a data object because the dereferenced chunks are retained in storage as long as practicably possible. Further, the described embodiments minimize Input/Output operations by avoiding the need to re-create deduplication index entries for dereferenced chunks later added to a data object, because the index entries for the dereferenced chunks remain until the dereferenced chunk is removed from the storage.
-
FIG. 1 illustrates an embodiment of acomputing environment 2 having asource 4 andtarget 6 for backing up data objects at thesource 4 to astorage space 8. Thesource 4 maintainsdata objects 10, such as files or objects, and maintainsobject information 12 a having metadata for eachdata object 10, including an ordered list of chunks of data assigned to each object. Thesource 4 may storedata objects 10 in local storage at thesource 4. To back updata objects 10 at thesource 4, asource backup manager 14 transfers non-redundant chunks in thedata objects 10 to back up to atarget backup manager 16 in thetarget 6. Thesource 4 may transferdata objects 10 to thetarget 6 as part of a backup operation or other operations, such as archive, hierarchical storage management (HSM), replication or other storage management procedures. - In an alternative embodiment, the
source 4 may not maintain object information 12, and the tracking of chunks may be performed at thededuplication component 24 and/ortarget 6. - The
target backup manager 16 maintainsobject information 12 b on chunks assigned to data objects provided from one ormore sources 4, which may include information onobjects 10 at thesource 4 and additional source systems. Thetarget 6 further includeschunk storage information 22 indicating locations in thestorage space 8 where chunks of thedata objects 10 are located. - A
deduplication component 24 provides deduplication services for thesource 4 and target 6 backing-up data objects 10 to thestorage space 8. Thededuplication component 24 includes adeduplication manager 26 to perform deduplication operations and achunk index 28, such as a deduplication index, providing information onchunks 28 that have been assigned toobjects 10. Thededuplication manager 26 ensures that only one copy of each chunk is maintained in thestorage space 8, although one chunk may be included in multiple data objects. Thededuplication manager 26 may also maintainobject information 12 c, having information on the assignment of chunks toobjects 10 in thesource 4 andother source 4 systems. - To perform deduplication, upon having a new or unchanged chunk in a data object, the
source backup manager 14 may calculate a hash for the chunk and then communicate the hash for the chunk to thededuplication manager 26 to determine whether thechunk index 28 has a matching hash. If not, thededuplication manager 26 notifies thesource backup manager 14 that the chunk is new, and thesource backup manager 14 sends a full copy of the new or changed chunk in thedata object 10 to store instorage space 8. Otherwise, if thechunk index 28 has a matching copy of the hash, then the sourcebackup manager 14 need not transfer a full copy of the chunk. Instead, the sourcebackup manager 14 may transfer the digest for the chunk and its location in the object. Alternatively, thetarget backup manager 16 may interact with thededuplication component 24 to determine whether it needs to send a chunk to thestorage space 8. - In a client-side deduplication embodiment, the
source 4, i.e., client, communicates with thededuplication manager 26 to determine whether chunks need to be sent to thetarget 6, so that only new chunks not already indicated in thechunk index 28 are sent to thetarget 6. In a server-side deduplication embodiment, thesource 4 sends all the chunks of the data object 10 to back up to thetarget 6, and thetarget backup manager 16 requests thededuplication component 24 to determine which chunks are new chunks that need to be stored in thestorage space 8. In a server-to-server replication embodiment, the source server (such as the source 4) would communicate with thededuplication manager 26 to determine chunks that need to be sent to atarget server 6. - The
source 4,target 6 anddeduplication component 24 may be implemented in separate computer devices that communicate over a network, such as a local area network (LAN), storage area network (SAN), wide area network (WAN), etc. In further embodiments, thesource 4,target 6, and/ordeduplication components 24 may be implemented on one or two computer systems. If thesource 4,target 6, and/ordeduplication component 24 are in the same system, then they may communicate over a bus or via memory. - The
storage space 8 may be configured in one or more storage devices known in the art, such as interconnected hard disk drives (e.g., configured as a DASD, RAID, JBOD, etc.), solid state storage devices (e.g., EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, flash disk, storage-class memory (SCM)), electronic memory, magnetic tape media, tape cartridges, etc. - The source
backup manager 14,target backup manager 16, anddeduplication manager 26 may comprise software programs in a memory executed by a processor. In an alternative embodiment, some portion or all of theprograms - Although the source
backup manager 14,target backup manager 16, anddeduplication manager 26 are shown as separate components, in alternative implementations the functions performed by thesecomponents deduplication component 24 may be implemented at thesource 4 or thetarget 6, or part of the sourcebackup manager 14 ortarget backup manager 16 components. -
FIG. 2 illustrates an embodiment ofobject information 50 for one object maintained in theobject information object information 50 for one object includes an identifier (ID) 52 of the object, and identification information for one ormore chunks object 52. Theobject information 50 may maintain an ordered list of the references to chunks (C1, . . . Cn) indicating theorder 1 . . . n in which the chunks appear in the data object. For each chunk (Ci), theobject information 50 maintains a digest (di) of the chunk and a length (li) of the chunk. In this way, theobject information 50 provides a reference to the chunks included in the data object, such as digest and length, but not the actual data. The digest (d) may be calculated by processing the chunk to generate a unique value for the chunk. For instance, in one embodiment, the digest may comprise a cryptographic digest, such as MD5 (Message-Digest Algorithm 5) or SHA-1 (Secure Hash Algorithm 1), which calculates cryptographic hashes of each chunk in the data object. -
FIG. 3 illustrates an embodiment of adeduplication index entry 60 maintained by thetarget backup manager 16 for each chunk stored in thestorage 8. Theindex entry 60 includes a chunk identifier (ID) 62 of the chunk instorage 8, ahash value 64 computed from the chunk represented by the chunk ID and alength 66 of the chunk. When determining whether to transmit a full copy of the chunk to thetarget backup manager 16, the sourcebackup manager 14 may provide the hash and length of the chunk to thetarget backup manager 16, and thetarget backup manager 16 may determine whether oneentry 60 in thechunk index 28 has ahash value 64 andlength 66 matching those sent by the sourcebackup manager 14 to determine whether thesource 14 needs to transmit the full chunk or just an identifier of the chunk, e.g., the digest and length. - The
chunk index entry 60 further includes areference count 68 indicating a number of data objects 10 currently referencing thechunk 62 identified by thehash 64 andlength 66; a time most recently referenced 70 indicating a last time the chunk was included as a reference in oneobject 10; a time most recently dereferenced 72 indicating a time thereference count 68 was set to a value indicating the chunk is not referenced in any object, i.e., the time the chunk was removed as a reference from the last data object 10 having a reference to the chunk; and a total accumulated references 74 indicating a total number of times the chunk has been added as a reference to adata object 52. - The chunk index entry may include one or more of the
values values objects 10 than other chunks having a more recent time most recently dereferenced 72 because a chunk that has been dereferenced the longest is less likely to be subject to an additional reference. Further a chunk having a greater number of total accumulated references 74 is more likely to be referenced again under the assumption that more frequently referenced items have a greater chance of being selected than those less frequently referenced. -
FIG. 4 illustrates an embodiment of achunk storage entry 80 thetarget backup program 16 maintains in thechunk storage information 22 for each chunk maintained instorage 8. Thechunk storage entry 80 includes achunk ID 82 and astorage location 84 in thestorage 8 of the identifiedchunk 82, such as a logical or physical address, identifying where the chunk is stored. Thechunk storage information 22 maintains only one copy of each unique chunk. - In this way, the subcomponents of a data object, referred to herein as chunks, are stored separately from the objects in which they are included. A chunk may comprise an extent of tracks, a block of data or any other definable subunit of data that may be assigned to an object. These chunks may have fixed or variable length. An object may comprise any grouping of data units, such as a file, object, database, etc.
-
FIG. 5 illustrates an embodiment of operations performed by thededuplication manager 26 to determine which chunks being added to objects comprise already existing chunks in thestorage space 8 or are new chunks. Thesource 14 ortarget backup manager 16 may provide thededuplication manager 26 the digest (d) and length (l) of eachchunk 54 a . . . 54 n in the data object to determine which chunks are new chunks not currently in thestorage space 8. This will allow thesource 14 ortarget 16 backup manager to only send new chunks to thestorage space 8. As discussed, the deduplication may be handled at the source or target side, depending on whether client side or server side deduplication is implemented. Atblock 100, thededuplication manager 26 receives a request to determine chunks, identified by digest (d) and length (l), being added to anobject 10 that are already stored or new. The object for which the chunk information is provided may comprise a new object thesource 4 is storing or a modified object thesource 4 wants to back up. - For each chunk (Ci) in the object to consider, the
deduplication manager 26 performs a loop of operations atblocks 102 through 124. Thededuplication manager 26 determines (at block 104) whether thechunk index 28 has an entry 60 (FIG. 3 ) for Ci, such as by determining whether there is an entry having ahash 64 andlength 66 matching the hash and length provided for Ci with the request. If thechunk index 28 does not have an entry for Ci, then thededuplication manager 16 indicates (at block 106) that Ci does need to be sent to thetarget 6 to store. A new entry 60 (FIG. 3 ) is created (at block 108) in thechunk index 28 for Ci having thehash 64 andlength 66 provided in the request. Thereference count 68 is set (at block 110) to one, and the time most recently referenced 70 is set (at block 112) to a current timestamp of the system. The total accumulated references 74 is set (at block 114) to one. - If (at block 104) the
chunk index 28 already has an entry for Ci, then thededuplication manager 26 indicates (at block 116) that Ci does not need to be sent to thetarget 6 to store. The total accumulated references 74 is incremented (at block 118), thereference count 68 is incremented (at block 120), and the time most recently referenced 70 is set (at block 122) to the current timestamp of the system. Fromblocks deduplication manager 26 returns indication to thesource 14 ortarget 16 backup manager of those chunks for the data object that need to be sent to thetarget storage space 8 for storage and those that do not need to be sent because they are already stored in thestorage space 8. -
FIG. 6 illustrates an embodiment of operations performed by thededuplication manager 26 upon receiving notification from thetarget backup manager 16 or the sourcebackup manager 14 of a chunk being removed from a data object. Although the operations are described with respect to a single chunk, the operations may apply to multiple chunks or may be performed multiple times to apply to multiple chunks. Thededuplication component 24 may be notified of all chunks in adata object 10 if the entire data object is being removed or migrated to another storage space, or the chunks are being deleted from a data object that is still maintained by thesource 4. Upon receiving (at block 150) notification of a chunk being removed, thededuplication manager 26 decrements (at block 152) thereference count 68 for the chunk. If (at block 154) thereference count 68 is zero, indicating that the chunk is not referenced in any data object, then thededuplication manager 26 sets the time most recently dereferenced 72 of the chunk being removed to a current timestamp in the system, such as determined by a system clock. -
FIG. 7 illustrates an embodiment of operations performed by thededuplication manager 26 to process a request to determine chunks that are not being referenced to remove from thestorage space 8. Thetarget backup manager 16 may determine to remove dereferenced chunks from thestorage space 8 to free space to make available for further referenced chunks. In such case, thetarget backup manager 16 may request thededuplication component 24 to determine which dereferenced chunks to remove. The chunks may have a fixed length or a variable length. In a variable chunk length embodiment, the request may be to deallocate a specified amount of space, and the number of chunks selected to remove to make space may depend on the size of the variable (or fixed) length chunks. Upon receiving (at block 180) a request for n chunks to remove from thestorage space 8, thededuplication manager 26 determines (at block 182) from thechunk index 28 chunks having reference counts 68 of zero, i.e., not referenced in anyobject 10. Thededuplication manager 26 determines (at block 184) from thechunk index 28entries 60 of the determined chunks having reference measurements representing a level of data object references to the chunk, such as time most recently referenced 70, time most recently dereferenced 72, and total accumulated references 74. Thededuplication manager 26 then selects (at block 186) n chunks to remove based on a criteria applied to the determined reference measurements. Thededuplication manager 26 returns (at block 188) to thetarget backup manager 16 indication of the selected n chunks to remove from thestorage space 8. -
FIGS. 8 , 9, 10, and 11 provide embodiments of different criteria thededuplication manager 16 may apply to determine chunks to remove.FIG. 8 illustrates an embodiment of a least recently referenced criteria to determine dereferenced chunks to remove based on a reference measurement comprising the time most recently referenced 70 value. To select dereferenced chunks to remove (at block 200), thededuplication manager 26 determines (at block 202) the time most recently referenced 70 of chunks having areference count 68 of zero, indicating they are dereferenced chunks not referenced in one object. Dereferenced chunks having the oldest time most recently referenced 70 are selected (at block 204). -
FIG. 9 illustrates an embodiment of a least recently dereferenced criteria to determine dereferenced chunks to remove based on a reference measurement comprising the time most recently dereferenced 72 value. To select dereferenced chunks to remove (at block 220), thededuplication manager 26 determines (at block 222) the time most recently dereferenced 72 values of chunks having areference count 68 of zero. Dereferenced chunks having the oldest time most recently dereferenced 70 are selected (at block 224) for removal from thestorage space 8. -
FIG. 10 illustrates an embodiment of a total accumulated references criteria to determine dereferenced chunks to remove based on a reference measurement comprising the total accumulated references 74 the chunk has received. To select dereferenced chunks to remove (at block 240), thededuplication manager 26 determines (at block 242) the total accumulated references 74 of objects having areference count 68 of zero, indicating they are dereferenced chunks not referenced in one object. Dereferenced chunks having the least number of total accumulated references 74 are selected (at block 244) for removal from thestorage space 8. -
FIG. 11 illustrates an embodiment of a fixed retention time criteria to determine dereferenced chunks to remove based on a reference measurement comprising the time most recently dereferenced 72. To select dereferenced chunks to remove (at block 260), thededuplication manager 26 determines (at block 262) the time most recently dereferenced 72 of chunks having areference count 68 of zero. Dereferenced chunks whose time most recently dereferenced 72 indicate that the chunks have been dereferenced for at least a fixed time period are selected (at block 264) for removal from thestorage space 8. Thededuplication manager 26 may compare the time most recently dereferenced 72 of the dereferenced chunks to the current time to determine if the fixed period of time has elapsed since the chunk became dereferenced. -
FIG. 12 illustrates an embodiment of operations performed by thededuplication manager 26 to select chunks to remove based on multiple selection criteria, where the multiple criteria utilize criteria applied to different measurements of the level of data object reference activity. Upon initiating the operation (at block 280) to select dereferenced chunks to remove from thestorage space 8 based on multiple criteria, thededuplication manager 26 determines (at block 282) the time most recently dereferenced 72 for chunks not referenced in data objects. The deduplication manager may first use the fixed retention time criteria to first select (at block 284) chunks whose time most recently dereferenced 72 indicates that the chunk has been dereferenced for at least a fixed time period. Thededuplication manager 26 then second selects (at block 286) from the first selected chunks based on a second criteria to measure a level of data object reference activity to the chunk. The second criteria may comprise one of the least recently referenced criteria (FIG. 8 ), the least recently dereferenced criteria (FIG. 9 ), or the total accumulated references criteria (FIG. 10 ). Additional criteria may be used that measure the level of reference activity to predict whether a dereferenced chunk will be selected again to select from the first selected chunks. Further, the first criteria used to first select chunks may comprise a criteria different from the fixed retention time criteria, such as the criteria ofFIGS. 8 , 9, 10 or another criteria that measures a level of reference activity to the chunks in data objects. - The computing environment of
FIG. 1 may be part of a cloud computing model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. The cloud computing implementation is described with respect toFIGS. 13-15 . This cloud model may include at least five characteristics, at least three service models, and at least four deployment models. - Characteristics are as follows:
- On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
- Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick source platforms (e.g., mobile phones, laptops, and PDAs).
- Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
- Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
- Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
- Service Models are as follows:
- Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various source devices through a thin source interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
- Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
- Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
- Deployment Models are as follows:
- Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
- Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
- Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
- Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
- A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
-
FIG. 13 illustrates an embodiment of acloud computing node 300 which may comprise an implementation of thesource 4,target 6, anddeduplication 24 components, systems, where the components may be implemented in one or more of thenodes 300.Cloud computing node 300 is only one example of a suitable cloud computing node and is not intended to suggest any limitation as to the scope of use or functionality of embodiments of the invention described herein. Regardless,cloud computing node 300 is capable of being implemented and/or performing any of the functionality set forth hereinabove. - In
cloud computing node 300 there is a computer system/server 302, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 302 include, but are not limited to, personal computer systems, server computer systems, thin sources, thick sources, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like. - Computer system/
server 302 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 302 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices. - As shown in
FIG. 13 , computer system/server 302 incloud computing node 300 is shown in the form of a general-purpose computing device. The components of computer system/server 302 may include, but are not limited to, one or more processors orprocessing units 304, asystem memory 306, and abus 308 that couples various system components includingsystem memory 306 toprocessor 304. -
Bus 308 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus. - Computer system/
server 302 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 302, and it includes both volatile and non-volatile media, removable and non-removable media. -
System memory 306 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 310 and/orcache memory 312. Computer system/server 302 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only,storage system 313 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected tobus 308 by one or more data media interfaces. As will be further depicted and described below,memory 306 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention. - Program/
utility 314, having a set (at least one) ofprogram modules 316, may be stored inmemory 306 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment.Program modules 316 generally carry out the functions and/or methodologies of embodiments of the invention as described herein. - Computer system/
server 302 may also communicate with one or moreexternal devices 318 such as a keyboard, a pointing device, adisplay 320, etc.; one or more devices that enable a user to interact with computer system/server 12; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 302 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 322. Still yet, computer system/server 302 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) vianetwork adapter 324. As depicted,network adapter 324 communicates with the other components of computer system/server 302 viabus 308. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 302. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc. - Referring now to
FIG. 14 , illustrativecloud computing environment 350 is depicted. As shown,cloud computing environment 350 comprises one or morecloud computing nodes 300 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) orcellular telephone 354A,desktop computer 354B,laptop computer 354C, and/orautomobile computer system 354N may communicate.Nodes 300 may communicate with one another. They may be grouped (not shown) physically or virtually, in one or more networks, such as Private, Community, Public, or Hybrid clouds as described hereinabove, or a combination thereof. This allowscloud computing environment 350 to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device. It is understood that the types ofcomputing devices 354A-N shown inFIG. 13 are intended to be illustrative only and thatcomputing nodes 300 andcloud computing environment 350 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser). - Referring now to
FIG. 15 , a set of functional abstraction layers provided by cloud computing environment 350 (FIG. 14 ) is shown. It should be understood in advance that the components, layers, and functions shown inFIG. 15 are intended to be illustrative only and embodiments of the invention are not limited thereto. As depicted, the following layers and corresponding functions are provided: - Hardware and
software layer 360 includes hardware and software components. - Examples of hardware components include mainframes, in one example IBM® zSeries® systems; RISC (Reduced Instruction Set Computer) architecture based servers, in one example IBM pSeries® systems; IBM xSeries® systems; IBM BladeCenter® systems; storage devices; networks and networking components. Examples of software components include network application server software, in one example IBM
- WebSphere® application server software; and database software, in one example IBM DB2® database software. (IBM, zSeries, pSeries, xSeries, BladeCenter, WebSphere, and DB2 are trademarks of International Business Machines Corporation registered in many jurisdictions worldwide).
-
Virtualization layer 362 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers; virtual storage; virtual networks, including virtual private networks; virtual applications and operating systems; and virtual sources. - In one example,
management layer 364 may provide the functions described below. Resource provisioning provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal provides access to the cloud computing environment for consumers and system administrators. Service level management provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA. -
Workloads layer 366 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation; software development and lifecycle management; virtual classroom education delivery; data analytics processing; transaction processing; and the deduplication services, such as described with respect toFIGS. 1-12 , above. - The described operations may be implemented as a method, apparatus or computer program product using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. Accordingly, aspects of the embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the embodiments may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
- Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
- Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- Aspects of the present invention are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The terms “an embodiment”, “embodiment”, “embodiments”, “the embodiment”, “the embodiments”, “one or more embodiments”, “some embodiments”, and “one embodiment” mean “one or more (but not all) embodiments of the present invention(s)” unless expressly specified otherwise.
- The terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless expressly specified otherwise.
- The enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise.
- The terms “a”, “an” and “the” mean “one or more”, unless expressly specified otherwise.
- Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
- A description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary a variety of optional components are described to illustrate the wide variety of possible embodiments of the present invention.
- Further, although process steps, method steps, algorithms or the like may be described in a sequential order, such processes, methods and algorithms may be configured to work in alternate orders. In other words, any sequence or order of steps that may be described does not necessarily indicate a requirement that the steps be performed in that order. The steps of processes described herein may be performed in any order practical. Further, some steps may be performed simultaneously.
- When a single device or article is described herein, it will be readily apparent that more than one device/article (whether or not they cooperate) may be used in place of a single device/article. Similarly, where more than one device or article is described herein (whether or not they cooperate), it will be readily apparent that a single device/article may be used in place of the more than one device or article or a different number of devices/articles may be used instead of the shown number of devices or programs. The functionality and/or the features of a device may be alternatively embodied by one or more other devices which are not explicitly described as having such functionality/features. Thus, other embodiments of the present invention need not include the device itself.
- The illustrated operations of
FIGS. 5-12 show certain events occurring in a certain order. In alternative embodiments, certain operations may be performed in a different order, modified or removed. Moreover, steps may be added to the above described logic and still conform to the described embodiments. Further, operations described herein may occur sequentially or certain operations may be processed in parallel. Yet further, operations may be performed by a single processing unit or by distributed processing units. - The foregoing description of various embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims herein after appended.
Claims (19)
1. A computer program product for maintaining data objects in a storage space, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
maintaining a chunk index having information on chunks in the storage space referenced in objects, wherein the chunk index includes a reference count for each chunk indicating a number of objects in which the chunk is referenced and a reference measurement representing a level of data object references to the chunk; and
selecting one chunk to remove from the storage space based on a criteria applied to the reference measurements of chunks having reference counts indicating that the chunks are not referenced in one object in the storage space.
2. The computer program product of claim 1 , wherein the reference measurement of each chunk comprises a time the chunk was most recently referenced in one data object, and wherein applying the criteria comprises selecting the chunk not referenced having the time that is oldest.
3. The computer program product of claim 1 , wherein the reference measurement of each chunk comprises a time the reference count was set to a value indicating that the chunk is not referenced in one object, and wherein applying the criteria comprising selecting the chunk not referenced having the time that is oldest.
4. The computer program product of claim 1 , wherein the reference measurement of each chunk comprises a total accumulated references indicating a number of times the chunk has been referenced in data objects, and wherein applying the criteria comprises selecting the chunk not referenced having a least number of total accumulated references.
5. The computer program product of claim 1 , wherein the reference measurement of each chunk comprises a time the reference count was set to a value indicating that the chunk is not referenced in one object, and wherein applying the criteria comprises selecting the chunk not referenced whose time indicates that the chunk has been dereferenced for a fixed time period.
6. The computer program product of claim 1 , wherein selecting one chunk to remove from the storage space comprises:
first selecting chunks based on a first criteria applied to the reference measurements for the chunks not referenced in one data object to measure a level of data object reference activity to the chunk; and
second selecting from the first selected chunks based on a second criteria to measure a level of data object reference activity to the chunk, wherein the measurement of the level of data object reference activity of the first criteria is different from the measurement of the level of data object reference activity of the second criteria.
7. The computer program product of claim 6 , wherein the reference measurement of each chunk comprises a time most recently dereferenced indicating a time when the reference count for the chunk was decremented to indicate that the chunk is not referenced in one data object, and wherein the first selecting chunks comprises selecting the chunks whose time most recently dereferenced indicates that the chunk has been dereferenced for a fixed time period.
8. The computer program product of claim 7 , wherein the second selecting based on the second criteria comprises one of:
a least recently referenced criteria, wherein the second selecting from the first selected chunks comprises selecting at least one chunk having an oldest time most recently referenced, wherein the time most recently referenced indicates a time the chunk was most recently referenced in one data object;
a least recently dereferenced criteria, wherein the second selecting from the first selected chunks comprises selecting at least one chunk having the time most recently dereferenced that is oldest; and
a total accumulated references criteria, wherein the second selecting from the first selected chunks comprises selecting at least one chunk having a least number of total accumulated references, wherein the total accumulated references indicates a number of times the chunk has been added as a reference to data objects.
9. The computer program product of claim 1 , wherein the storage space comprises a first storage space, and wherein the operations further comprise:
incrementing the reference count for one chunk in response to including a reference to the chunk in one data object; and
decrementing the reference count for one chunk in response to one of removing the chunk from one data object, removing the data object including the chunk, and migrating one data object including the chunk to a second storage space.
10. A system for maintaining data objects in a storage space, comprising:
a computer readable storage medium including a chunk index having information on chunks in the storage space referenced in objects, wherein the chunk index includes a reference count for each chunk indicating a number of objects in which the chunk is referenced and a reference measurement representing a level of data object references to the chunk; and
a processor executing code to perform operations comprising selecting one chunk to remove from the storage space based on a criteria applied to the reference measurements of chunks having reference counts indicating that the chunks are not referenced in one object in the storage space.
11. The system of claim 10 , wherein the reference measurement of each chunk comprises a time the chunk was most recently referenced in one data object, and wherein applying the criteria comprises selecting the chunk not referenced having the time that is oldest.
12. The system of claim 10 , wherein the reference measurement of each chunk comprises a time the reference count was set to a value indicating that the chunk is not referenced in one object, and wherein applying the criteria comprising selecting the chunk not referenced having the time that is oldest.
13. The system of claim 10 , wherein the reference measurement of each chunk comprises a total accumulated references indicating a number of times the chunk has been referenced in data objects, and wherein applying the criteria comprises selecting the chunk not referenced having a least number of total accumulated references.
14. The system of claim 10 , wherein the reference measurement of each chunk comprises a time the reference count was set to a value indicating that the chunk is not referenced in one object, and wherein applying the criteria comprises selecting the chunk not referenced whose time indicates that the chunk has been dereferenced for a fixed time period.
15. The system of claim 10 , wherein selecting one chunk to remove from the storage space comprises:
first selecting chunks based on a first criteria applied to the reference measurements for the chunks not referenced in one data object to measure a level of data object reference activity to the chunk;
second selecting from the first selected chunks based on a second criteria to measure a level of data object reference activity to the chunk, wherein the measurement of the level of data object reference activity of the first criteria is different from the measurement of the level of data object reference activity of the second criteria.
16. The system of claim 15 , wherein the reference measurement of each chunk comprises a time most recently dereferenced indicating a time when the reference count for the chunk was decremented to indicate that the chunk is not referenced in one data object, and wherein the first selecting chunks comprises selecting the chunks whose time most recently dereferenced indicates that the chunk has been dereferenced for a fixed time period.
17-23. (canceled)
24. The system of claim 16 , wherein the second selecting based on the second criteria comprises one of:
a least recently referenced criteria, wherein the second selecting from the first selected chunks comprises selecting at least one chunk having an oldest time most recently referenced, wherein the time most recently referenced indicates a time the chunk was most recently referenced in one data object;
a least recently dereferenced criteria, wherein the second selecting from the first selected chunks comprises selecting at least one chunk having the time most recently dereferenced that is oldest; and
a total accumulated references criteria, wherein the second selecting from the first selected chunks comprises selecting at least one chunk having a least number of total accumulated references, wherein the total accumulated references indicates a number of times the chunk has been added as a reference to data objects.
25. The system of claim 10 , wherein the storage space comprises a first storage space, and wherein the operations further comprise:
incrementing the reference count for one chunk in response to including a reference to the chunk in one data object; and
decrementing the reference count for one chunk in response to one of removing the chunk from one data object, removing the data object including the chunk, and migrating one data object including the chunk to a second storage space.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/221,646 US20130054906A1 (en) | 2011-08-30 | 2011-08-30 | Managing dereferenced chunks in a deduplication system |
US13/477,908 US8775390B2 (en) | 2011-08-30 | 2012-05-22 | Managing dereferenced chunks in a deduplication system |
US14/060,637 US8874532B2 (en) | 2011-08-30 | 2013-10-23 | Managing dereferenced chunks in a deduplication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/221,646 US20130054906A1 (en) | 2011-08-30 | 2011-08-30 | Managing dereferenced chunks in a deduplication system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/477,908 Continuation US8775390B2 (en) | 2011-08-30 | 2012-05-22 | Managing dereferenced chunks in a deduplication system |
Publications (1)
Publication Number | Publication Date |
---|---|
US20130054906A1 true US20130054906A1 (en) | 2013-02-28 |
Family
ID=47745107
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/221,646 Abandoned US20130054906A1 (en) | 2011-08-30 | 2011-08-30 | Managing dereferenced chunks in a deduplication system |
US13/477,908 Active US8775390B2 (en) | 2011-08-30 | 2012-05-22 | Managing dereferenced chunks in a deduplication system |
US14/060,637 Expired - Fee Related US8874532B2 (en) | 2011-08-30 | 2013-10-23 | Managing dereferenced chunks in a deduplication system |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/477,908 Active US8775390B2 (en) | 2011-08-30 | 2012-05-22 | Managing dereferenced chunks in a deduplication system |
US14/060,637 Expired - Fee Related US8874532B2 (en) | 2011-08-30 | 2013-10-23 | Managing dereferenced chunks in a deduplication system |
Country Status (1)
Country | Link |
---|---|
US (3) | US20130054906A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8712976B1 (en) * | 2012-03-28 | 2014-04-29 | Emc Corporation | Managing deduplication density |
WO2016032486A1 (en) * | 2014-08-28 | 2016-03-03 | Hewlett-Packard Development Company, L.P. | Moving data chunks |
US9372726B2 (en) | 2013-01-09 | 2016-06-21 | The Research Foundation For The State University Of New York | Gang migration of virtual machines using cluster-wide deduplication |
US20160259574A1 (en) * | 2015-03-03 | 2016-09-08 | International Business Machines Corporation | Incremental replication of a source data set |
US9465737B1 (en) * | 2012-07-02 | 2016-10-11 | Toshiba Corporation | Memory systems including a duplicate removing filter module that is separate from a cache module |
US9477589B2 (en) | 2014-01-23 | 2016-10-25 | Samsung Electronics Co., Ltd. | Storage device that performs a de-duplication operation, and method of operating the same |
US10007602B2 (en) | 2014-05-06 | 2018-06-26 | International Business Machines Corporation | Flash copy relationship management |
US10592527B1 (en) * | 2013-02-07 | 2020-03-17 | Veritas Technologies Llc | Techniques for duplicating deduplicated data |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5561303B2 (en) * | 2012-03-30 | 2014-07-30 | 日本電気株式会社 | Data replication system, data replication method, and program thereof |
US9396069B2 (en) * | 2012-09-06 | 2016-07-19 | Empire Technology Development Llc | Cost reduction for servicing a client through excess network performance |
US8996478B2 (en) * | 2012-10-18 | 2015-03-31 | Netapp, Inc. | Migrating deduplicated data |
US8954398B1 (en) * | 2013-01-04 | 2015-02-10 | Symantec Corporation | Systems and methods for managing deduplication reference data |
US8983967B2 (en) * | 2013-03-15 | 2015-03-17 | Datadirect Networks, Inc. | Data storage system having mutable objects incorporating time |
US9846718B1 (en) * | 2014-03-31 | 2017-12-19 | EMC IP Holding Company LLC | Deduplicating sets of data blocks |
WO2015152935A1 (en) * | 2014-04-04 | 2015-10-08 | Hewlett-Packard Development Company, L.P. | Storing and retrieving ciphertext in data storage |
US10380098B1 (en) | 2015-09-30 | 2019-08-13 | EMC IP Holding Company LLC | Fine-grained shared multi-tenant de-duplication system |
US9933971B2 (en) * | 2015-12-30 | 2018-04-03 | Nutanix, Inc. | Method and system for implementing high yield de-duplication for computing applications |
US9697224B1 (en) | 2016-02-09 | 2017-07-04 | International Business Machines Corporation | Data deduplication for an eventually consistent system |
US9880743B1 (en) * | 2016-03-31 | 2018-01-30 | EMC IP Holding Company LLC | Tracking compressed fragments for efficient free space management |
US11074232B1 (en) * | 2016-06-30 | 2021-07-27 | EMC IP Holding Company LLC | Managing deduplication of data in storage systems |
US10969961B2 (en) | 2016-10-18 | 2021-04-06 | International Business Machines Corporation | Using volume header records to identify matching tape volumes |
US10210170B2 (en) | 2017-01-28 | 2019-02-19 | Microsoft Technology Licensing, Llc | Chunk storage deduplication using graph structures |
US10282127B2 (en) | 2017-04-20 | 2019-05-07 | Western Digital Technologies, Inc. | Managing data in a storage system |
US10809928B2 (en) | 2017-06-02 | 2020-10-20 | Western Digital Technologies, Inc. | Efficient data deduplication leveraging sequential chunks or auxiliary databases |
US10503608B2 (en) | 2017-07-24 | 2019-12-10 | Western Digital Technologies, Inc. | Efficient management of reference blocks used in data deduplication |
US10719251B2 (en) * | 2018-01-31 | 2020-07-21 | Nutanix, Inc. | System and method for recursive de-duplication |
US11308038B2 (en) * | 2018-06-22 | 2022-04-19 | Red Hat, Inc. | Copying container images |
US11940956B2 (en) * | 2019-04-02 | 2024-03-26 | Hewlett Packard Enterprise Development Lp | Container index persistent item tags |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6813623B2 (en) * | 2001-06-15 | 2004-11-02 | International Business Machines Corporation | Method and apparatus for chunk based transaction logging with asynchronous input/output for a database management system |
US8862841B2 (en) * | 2006-04-25 | 2014-10-14 | Hewlett-Packard Development Company, L.P. | Method and system for scaleable, distributed, differential electronic-data backup and archiving |
US7426139B2 (en) * | 2006-11-02 | 2008-09-16 | Macronix International Co., Ltd. | Dynamic program and read adjustment for multi-level cell memory array |
US7840537B2 (en) | 2006-12-22 | 2010-11-23 | Commvault Systems, Inc. | System and method for storing redundant information |
US8108353B2 (en) * | 2008-06-11 | 2012-01-31 | International Business Machines Corporation | Method and apparatus for block size optimization in de-duplication |
US8176269B2 (en) | 2008-06-30 | 2012-05-08 | International Business Machines Corporation | Managing metadata for data blocks used in a deduplication system |
US20100274772A1 (en) | 2009-04-23 | 2010-10-28 | Allen Samuels | Compressed data objects referenced via address references and compression references |
-
2011
- 2011-08-30 US US13/221,646 patent/US20130054906A1/en not_active Abandoned
-
2012
- 2012-05-22 US US13/477,908 patent/US8775390B2/en active Active
-
2013
- 2013-10-23 US US14/060,637 patent/US8874532B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
Title |
---|
Tin Thein Thwel et al., An Efficient Indexing Mechanism for Data Deduplication, 2009, IEEE, 5 pages * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8712976B1 (en) * | 2012-03-28 | 2014-04-29 | Emc Corporation | Managing deduplication density |
US9465737B1 (en) * | 2012-07-02 | 2016-10-11 | Toshiba Corporation | Memory systems including a duplicate removing filter module that is separate from a cache module |
US9372726B2 (en) | 2013-01-09 | 2016-06-21 | The Research Foundation For The State University Of New York | Gang migration of virtual machines using cluster-wide deduplication |
US10592527B1 (en) * | 2013-02-07 | 2020-03-17 | Veritas Technologies Llc | Techniques for duplicating deduplicated data |
US9477589B2 (en) | 2014-01-23 | 2016-10-25 | Samsung Electronics Co., Ltd. | Storage device that performs a de-duplication operation, and method of operating the same |
US10007602B2 (en) | 2014-05-06 | 2018-06-26 | International Business Machines Corporation | Flash copy relationship management |
WO2016032486A1 (en) * | 2014-08-28 | 2016-03-03 | Hewlett-Packard Development Company, L.P. | Moving data chunks |
US20160259574A1 (en) * | 2015-03-03 | 2016-09-08 | International Business Machines Corporation | Incremental replication of a source data set |
US10108352B2 (en) * | 2015-03-03 | 2018-10-23 | International Business Machines Corporation | Incremental replication of a source data set |
Also Published As
Publication number | Publication date |
---|---|
US20130054545A1 (en) | 2013-02-28 |
US8775390B2 (en) | 2014-07-08 |
US20140052952A1 (en) | 2014-02-20 |
US8874532B2 (en) | 2014-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8874532B2 (en) | Managing dereferenced chunks in a deduplication system | |
US9110603B2 (en) | Identifying modified chunks in a data set for storage | |
US10664493B2 (en) | Replication of data objects from a source server to a target server | |
US12032826B2 (en) | Automated selection of functions to reduce storage capacity based on performance requirements | |
US9087010B2 (en) | Data selection for movement from a source to a target | |
US8682868B2 (en) | Removal of data remanence in deduplicated storage clouds | |
US8918474B2 (en) | Determining priorities for cached objects to order the transfer of modifications of cached objects based on measured network bandwidth | |
US20130101113A1 (en) | Encrypting data objects to back-up | |
US20140310455A1 (en) | System, method and computer program product for deduplication aware quality of service over data tiering | |
US10747458B2 (en) | Methods and systems for improving efficiency in cloud-as-backup tier | |
US11809379B2 (en) | Storage tiering for deduplicated storage environments | |
US9298486B2 (en) | Managing virtual machine images in a distributed computing environment | |
GB2496258A (en) | Encrypting data objects to back-up |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ANGLIN, MATTHEW J.;CANNON, DAVID M.;DAWSON, COLIN S.;AND OTHERS;SIGNING DATES FROM 20110825 TO 20110829;REEL/FRAME:026840/0970 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE |