[PVE-User] Understanding lvm-thin

Wolfgang Link w.link at proxmox.com
Fri Jun 10 12:13:18 CEST 2016


Benchmarks LVM vs file.raw

Setup

Physical disk MX200 Crusial only used be test VM/CT
Debian 8 curent version
Extra Disk 32GB (QEMU no cache virtio bus)

QEMU on LVM
dd if=randfile of=/dev/vdb bs=4k
220662+0 records in
220662+0 records out
903831552 bytes (904 MB) copied, 2.58608 s, 349 MB/s

dd if=/dev/zero of=/dev/vdb bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 2.51501 s, 427 MB/s

LXC on LVM

dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 2.33282 s, 460 MB/s

dd if=/dev/zero of=/bench/test.raw bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 2.18087 s, 492 MB/s

QEMU on file.raw laying on ext4
dd if=randfile of=/dev/vdb bs=4k
220662+0 records in
220662+0 records out
903831552 bytes (904 MB) copied, 2.47066 s, 366 MB/s

root at livemig:/home/link# dd if=/dev/zero of=/dev/vdb bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 1.09934 s, 977 MB/s

LXC on file.raw laying on ext4
Hard to say it use the host cache

root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 0.595112 s, 1.8 GB/s
root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 0.966619 s, 1.1 GB/s
root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 1.81487 s, 592 MB/s
root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 0.958734 s, 1.1 GB/s
root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 4.51895 s, 238 MB/s
root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 1.69404 s, 634 MB/s
root at Bench:~# dd if=randfile of=/bench/test.raw bs=4k
262144+0 records in
262144+0 records out
1073741824 bytes (1.1 GB) copied, 0.958381 s, 1.1 GB/s

root at Bench:~# dd if=/dev/zero of=/bench/test.raw bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 0.797751 s, 1.3 GB/s
root at Bench:~# dd if=/dev/zero of=/bench/test.raw bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 0.795282 s, 1.4 GB/s
root at Bench:~# dd if=/dev/zero of=/bench/test.raw bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 1.05295 s, 1.0 GB/s
root at Bench:~# dd if=/dev/zero of=/bench/test.raw bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 5.56381 s, 193 MB/s




More information about the pve-user mailing list