Skip to content

giuseppe/containers-dedup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

containers-dedup

PoC experimental tool for containers storage data deduplication. It is just an experiment that I've used to understand how much can be saved in containers storage.

It uses the FIDEDUPERANGE ioctl for telling the file system to deduplicate blocks with the same data.

Usage:

It requires reflinks support in the underlying file system. You can setup a XFS file system to play with and use it as storage for containers:

# truncate --size=20G xfs
# mkfs.xfs -m reflink=1 xfs 
# mount -o loop xfs /var/lib/containers/storage

To run the deduplication:

$ ./autogen.sh
$ ./configure
$ make
$ sudo ./dedup /var/lib/containers/storage/{overlay,overlay-layers,overlay-images,libpod}

About

a data deduplication tool for container images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published