Bind mount point or Storage Backed Mount Points

proxmox_novice

New Member
Aug 9, 2021
9
0
1
54
Which one gives me better performance?
I am using is privilege LXC

for this LXC I am going to use full 1tb SSD that is available on host.

host has two 1TB SSD and going to use two LXC one SSD per host.
But OS will be located on separate disk.
 
problem with storage backed mount point I saw that when I remove the LXC it remove the storage with it.
while bind mount point I don't loose the data.
 
oh well finally decided to test something by self. I will add both type of mount to one system and run dd from host and from LXC. Will put a result out there. Hopefully will help someone
 
Bind mount point is 100% better then Storage backed mount point.

I run five parallel dd to both and speed is almost double in bind mount point
Used same old disk both both test, 7.2k disk.

dd if=/dev/zero of=test1 count=10000000 &

This is to storage backed mount point,

5120000000 bytes (5.1 GB, 4.8 GiB) copied, 91.7577 s, 55.8 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 91.7576 s, 55.8 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 101.514 s, 50.4 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 102.352 s, 50.0 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 102.596 s, 49.9 MB/s

Same disk converted to local mount on host and then bind that to guest,
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 34.1297 s, 150 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 36.7766 s, 139 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 51.3204 s, 99.8 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 53.4467 s, 95.8 MB/s
5120000000 bytes (5.1 GB, 4.8 GiB) copied, 59.5659 s, 86.0 MB/s
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!