Host-based backup of VMware vSphere VMs.
Post Reply
godfreyatlast
Service Provider
Posts: 6
Liked: never
Joined: Feb 21, 2022 5:03 pm
Full Name: James Godfrey
Contact:

vsan hotadd taking storage policy IOPs rate limit

Post by godfreyatlast »

During our lab testing a bottleneck was discovered due to vsan policy IOPs limit.

Example setup: Single VM backup with 2x disks, Proxy on same cluster w/ transport Auto (we want it to pick hotadd). In this backup config we saw the transfer speed for the VM run at 125MB/s and when one disk would complete the last disk would run at 62.5MB/s. Logs showed source at 99% (which was very helpful). I ended up correlating that to the Standard storage policy our clients run (we're a service provider, our stand tier is 2k IOPs). For vsan, this is 32k block size * 2000 IOPs, exactly 62.5MB/s. I change the storage policy to Performance, which is 4000 IOPs and the single disk backup speed increased to 125MB/s.

When hotadd adds the disk to the proxy the storage policy for the hotadd disk is listed “Datastore Default” and mimics its production storage policy. The “Datastore Default” policy also can't be changed while it is mounted to the Proxy.

From an infrastructure standpoint we’d prefer the backups run as quickly as possible. Especially for the sake of busy VMs when it come time to delete (merge) the vm snapshot, i.e. shorten the time a snapshot on vmware exist.

My question is, does Veeam have a way to elevate this limit we've discovered? Would veeam have some way of specifying a storage policy the moment of hotadd, or set the IOPs limit of the hotadd disk to unlimited?

I did test NDBSSL which seems to be unrestricted, its performance was slightly better than hotadd at our Standard storage policy, but much less performant than the Performance policy. NBDSSL hovered around 85MB/s, give or take 10MB/s. Ideally, hotadd unrestricted would be best.
Gostev
Chief Product Officer
Posts: 31561
Liked: 6725 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by Gostev »

I doubt we can do this programmatically if the UI does not allow doing so. May be there's a way to specify it at hot add time though. @Andreas Neufert can we research this (or ask VMware)?

Have you considered just changing the "Datastore Default" policy to Performance? You can always specify the desired policy for newly provisioned VMs.

Another thing to check is the storage policy set on the backup proxy VM itself. I wonder if it propagates to all newly attached disks (or there's a way to make it do this)? Been a while since I touched VSAN...
Andreas Neufert
VP, Product Management
Posts: 6749
Liked: 1408 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by Andreas Neufert »

Will research with my Team.
rennerstefan
Veeam Software
Posts: 628
Liked: 146 times
Joined: Jan 22, 2015 2:39 pm
Full Name: Stefan Renner
Location: Germany
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by rennerstefan »

Gostev wrote: Feb 24, 2022 12:07 am Another thing to check is the storage policy set on the backup proxy VM itself. I wonder if it propagate to all newly attached disks (or there's a way to make it do this)?
This is also what I would check first. @godfreyatlast can you check what policy i assigned to the proxy and also what policy is then assigned to the hot-add disks once the backup started.
You can check it like shown here: https://core.vmware.com/resource/vmware ... c6854-sub7

As Andreas wrote we will check as well.
Stefan Renner

Veeam PMA
godfreyatlast
Service Provider
Posts: 6
Liked: never
Joined: Feb 21, 2022 5:03 pm
Full Name: James Godfrey
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by godfreyatlast »

Gostev wrote: Feb 24, 2022 12:07 am Have you considered just changing the "Datastore Default" policy to Performance? You can always specify the desired policy for newly provisioned VMs.

Another thing to check is the storage policy set on the backup proxy VM itself. I wonder if it propagates to all newly attached disks (or there's a way to make it do this)?
Thanks for the reply!

1) If you look in the VM Storage Policies there is no "Datastore Default" to modify, there is " vSAN Default Storage Policy" but these seem to have no correlation to each other. If fact, in researching "Datastore Default" is a bit elusive from google in the context of backups. And the only place I've found reference in vcenter is - In vcenter > On a VM > Edit Settings > Hard Disk expanded > VM storage policy - In this Drop down, however if you select "Datastore Default" and save it will just revert to other items in the list (sometimes the the alphbetical top, sometimes the default vsan policy, possibly more that I haven't observed).

2) I've tested if the disks being hotadd'd to the proxy change speed when the Proxy OS disks change policy, they do not. The speed at which the VM disks backup is consistant with what the originating VMs VM Storage Policies was limited at.
godfreyatlast
Service Provider
Posts: 6
Liked: never
Joined: Feb 21, 2022 5:03 pm
Full Name: James Godfrey
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by godfreyatlast »

rennerstefan wrote: Feb 24, 2022 9:46 am This is also what I would check first. @godfreyatlast can you check what policy i assigned to the proxy and also what policy is then assigned to the hot-add disks once the backup started.
You can check it like shown here: https://core.vmware.com/resource/vmware ... c6854-sub7

As Andreas wrote we will check as well.
I've whitnessed this in two enviroments (company lab & a greenfield homelab), one where the policy of the proxy is in the higher performing tier, and one where the policy is the "vSAN Default Storage Policy" which is unlimited IOPs (all default settings) and not to be confused with "Datastore Default". Regardless, of what policy is configured on the proxy when the hotadd occurs the vm hostadd disk is set to "Datastore Default" and has consistantly matched the IOPs limit set by the original VMs disk policy. If that Policy is 4000 IOPs the throughput for the hotadd disk is 125MB/s, if i change it to 2000 then 64.5MB/s, I've even tested it down to 128 IOPS and speed followed suit down.
Andreas Neufert
VP, Product Management
Posts: 6749
Liked: 1408 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by Andreas Neufert » 1 person likes this post

Thanks for the follow up. We are analyzing this at the moment and will work with VMware on it considering a change at one of the next versions/updates.
rennerstefan
Veeam Software
Posts: 628
Liked: 146 times
Joined: Jan 22, 2015 2:39 pm
Full Name: Stefan Renner
Location: Germany
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by rennerstefan »

godfreyatlast wrote: Feb 25, 2022 2:19 pm If fact, in researching "Datastore Default" is a bit elusive from google in the context of backups.
Hi again,
just to be sure... you are running it in a nested google environment or in your own VSAN?
Thanks
Stefan Renner

Veeam PMA
rennerstefan
Veeam Software
Posts: 628
Liked: 146 times
Joined: Jan 22, 2015 2:39 pm
Full Name: Stefan Renner
Location: Germany
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by rennerstefan » 2 people like this post

Hi again,

we just reproduced what you do in our VSAN lab.
The "Datastore Default" has nothing to do with Google in our eyes.

In our lab the source VM had the policy "Source VM Test":

Image


The Proxy had the policy "Proxy VM Policy" (1) and when the Hot-Add disk is attached (2), the disk also has the "Datastore Default" Policy set (like what you are seeing in your environment):

Image


This "Datastore Default Policy is the one you set on the datastore level and is used if there is not other policy selected on the VMDK (disk) level:

Image


So in your case you could set the data store default policy to one that is faster and make sure that all disk have a own one assigned.
I will also add the request to my list to check if there is a way to set the policy for the hot-add disk during a backup, but as it has been mentioned before in this thread, right now this is not possible.

Hope that helps.

Let us know.
Stefan Renner

Veeam PMA
godfreyatlast
Service Provider
Posts: 6
Liked: never
Joined: Feb 21, 2022 5:03 pm
Full Name: James Godfrey
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by godfreyatlast »

Thanks @rennerstefan for the follow up.

By Google I meant "searching for information" not GCP, sorry for the confusion. All testing has been done on hardware based vsan enviroments.

I appriciate the clarification you found around Default Datastore in the context of vsan (I didn't know about that setting page for the vsan datastore), and also for confirming your test results against mine. Unfortunatly, in our case as a service provider every customer VM has a Storage Policy with IOPs limit specified on the vmdks, so any changes to the vSAN Default Storage Policy would make no difference.

I understand this not a function today, but would love to have this added in a future release. Do I need to take any steps to have this as a feature request?
rennerstefan
Veeam Software
Posts: 628
Liked: 146 times
Joined: Jan 22, 2015 2:39 pm
Full Name: Stefan Renner
Location: Germany
Contact:

Re: vsan hotadd taking storage policy IOPs rate limit

Post by rennerstefan »

No, there is no need to take any steps.
All relevant people that track feature request are following here in the forum and I already added it to my list.

Thanks
Stefan Renner

Veeam PMA
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 41 guests