Skip to content

Commit

Permalink
readme for the ceph example
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwiltink committed Oct 5, 2021
1 parent 614e33c commit 82a4ee1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions example/ceph-import-diff/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### ceph-import-diff

Proof of concept of sending sparse files to a ceph cluster. It creates a valid `export-format 2` stream that can be
piped to `rbd import`.

Example command:
```
./ceph-import-diff vps.raw | pv | rbd import --export-format 2 - libvirt-pool/banaan
7,07GiB 0:00:53 [ 134MiB/s]
```

Compared to the normal import of the same image:
```
pv vps.raw | rbd import - libvirt-pool/banaan
200GiB 0:04:46 [ 714MiB/s]
```

A savings of 193GiB and nearly 4 minutes

0 comments on commit 82a4ee1

Please sign in to comment.