2 semi-identical VMs, different back up speed

wahmed

Famous Member
Oct 28, 2012
1,118
46
113
Calgary, Canada
www.symmcom.com
Hello,
I got a 2 Linux VM Server on the same node with following setup.
VM 1
====
CPU = 1
RAM = 4gb
Allocated HDD = 400GB (virtio)
Used Space = 55GB
Backup Time = 2 hr 38 mins

VM 2
====
CPU = 1
RAM = 1GB
Allocated HDD = 200GB
Used Space = 115GB
Backup Time = 1 hr 35 mins

My question is, even though VM 2 has more data to back up, it actually finishes full back up faster than VM 1, why is that? Is it because the allocated virtual drive is larger in the VM 1?
 
VM1
-----
Thick provisioned HDD = 400GB RAW
With Compression Backup time = 2 hr 18 mins
With Compression Backup Size = 53.62GB
Without Compression Backup time = 4 hr 39 mins
Without Compression Backup Size = 63.23GB

VM2
-----
Thick provisioned HDD = 200GB RAW
With Compression Backup time = 1 hr 40 mins
With Compression Backup Size = 117.68GB
Without Compression Backup time = 3 hr 48 mins
Without Compression Backup Size = 120.46GB
 
Then I guess your switch is awaiting to be replaced by some of higher quality.

The switch is 3 months old Netgear 24 Port Gigabit Smart Switch GS724T. To make sure i dont have bad ports, i even tried to switch the ports. The Proxmox node that trying to do all the back up is i7-3770 with 32GB Ram. All nodes and the NAS has identical Intel Pro 10/1000 NIC.
 
I that case my guess is a bad cable. Have you tried switching the cables to verify equal speed when using different cables.

All the cables were replaced ready made Cat 5e network cable 3 months ago along with the new switch. I also switched node cables just to make sure i did not end up with faulty cables. Result is same.
 
Even though both VMs on same NAS they are having 2 different read speed?


That usually depends where data is physically located on the disks (inner or outer cylinders), and fragmentation.

Or do you backup while the VMs are running?
 
Last edited:
That is a good point. I run both VM backup on Snapshot mode

This can seriously affect performance.

- - - Updated - - -

That is a good point.

The other point is also good ;-) Read speed can easily differ by factor 2 depending on physical sector location.
 
The other point is also good ;-) Read speed can easily differ by factor 2 depending on physical sector location.

My shared storage for VM is on FreeNAS with ZFS in Software RAID and 4x2TB HDD. Isnt it little too difficult to determine the read speed of all 4 HDD and their physical sectors allocation?
 
Just did another backup of VM1 with the vm completely shutdown. Result is confusing.

Backup time in Snapshot mode: 2 hr 12 mins
Backup time with shutdown : 2 hr 1 min.
Any thoughts?
 
It was confusing because i always thought running VM would take more time to backup than a shutdown VM. Last night i did another usual backup. This time vm2 with 120GB of data got backed up in 1 hr 10 mins on the same NAS and the vm1 with 57GB of data took 2 hr 20 mins. The only thing is i backed up vm1 with 57GB on a 2nd backup NAS which has identical setup as NAS1. This 2nd NAS is empty. So even both backups were done on 2 separate physical machine, results were same.

Its not causing any issue. Backups are being done just fine. Just a mystery.
 

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!