diff --git a/templates/incus/README.md b/templates/incus/README.md index 72d7339..c8e3d26 100644 --- a/templates/incus/README.md +++ b/templates/incus/README.md @@ -46,32 +46,45 @@ The command above (when ran as root user inside the incus jail) adds a new virti ### Benchmarks #### Inside LXD ubuntu desktop VM with virtiofs mount + +``` root@desktop:/mnt/test# mount | grep test incus_test on /mnt/test type virtiofs (rw,relatime) + root@desktop:/mnt/test# time iozone -a [...] real 2m22.389s user 0m2.222s sys 0m59.275s +``` #### In a jailmaker jail on the host: + +``` root@incus:/home/test# time iozone -a [...] real 0m59.486s user 0m1.468s sys 0m25.458s +``` #### Inside LXD ubuntu desktop VM with virtiofs mount + +``` root@desktop:/mnt/test# dd if=/dev/random of=./test1.img bs=1G count=1 oflag=dsync 1+0 records in 1+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 36.321 s, 29.6 MB/s +``` #### In a jailmaker jail on the host: + +``` root@incus:/home/test# dd if=/dev/random of=./test2.img bs=1G count=1 oflag=dsync 1+0 records in 1+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 7.03723 s, 153 MB/s +``` ## Create Ubuntu container @@ -79,4 +92,4 @@ To be able to create unprivileged (rootless) containers with incus inside the ja ## References -- [Running QEMU/KVM Virtual Machines in Unprivileged LXD Containers](https://dshcherb.github.io/2017/12/04/qemu-kvm-virtual-machines-in-unprivileged-lxd.html) \ No newline at end of file +- [Running QEMU/KVM Virtual Machines in Unprivileged LXD Containers](https://dshcherb.github.io/2017/12/04/qemu-kvm-virtual-machines-in-unprivileged-lxd.html)