Page 1 of 1

Dynamically enable or disable L1 cache?

Posted: Fri May 03, 2019 7:41 pm
by danswartz
So, in my home lab, I'm in the middle of spinning up two vsphere 6.7 servers. Each host has a server 2016 VM as a storage appliance. I have a ton of ram on each server, so I thought to allocate 32GB or so to each VSA. Here's the thing: when we have a power failure, it's usually for an hour or longer, at which point the UPS has run out, and everything stops dead in its tracks. I had previously been using one vsphere host connecting to a CentOS 7 storage server with direct connect cables, with ZFS providing the storage. To improve write performance (using NFS), I had set sync=disabled, but that is problematic if an outage occurs. Since my lab has an APC UPS, I had apcupsd run a poweroff script when AC power fails, and a poweron script when it restores. The scripts enable or disable sync mode as appropriate. So, my question: is there any way to do this with Starwind? e.g. to have the VSAs query the UPS, and switch the L1 cache to write-through when AC power is lost, and switch back to write-back when it is restored?

Re: Dynamically enable or disable L1 cache?

Posted: Fri May 03, 2019 8:54 pm
by Boris (staff)
Unfortunately, there is no way to dynamically change the operation mode of L1 cache in StarWind VSAN at present.

Re: Dynamically enable or disable L1 cache?

Posted: Sat May 04, 2019 12:40 am
by danswartz
Ah, bummer. Thanks :)

Re: Dynamically enable or disable L1 cache?

Posted: Mon May 06, 2019 10:07 am
by Oleg(staff)
You are welcome!

Re: Dynamically enable or disable L1 cache?

Posted: Sat May 18, 2019 6:12 am
by bertram
Hi,

while it's not possible to dynamically change the operation mode of the L1 cache what procedure could you recommend to perform this in a 2-node converged scenario?

Regards
bertram

Re: Dynamically enable or disable L1 cache?

Posted: Mon May 20, 2019 2:25 pm
by Oleg(staff)
Please find KB article by following this link.

Re: Dynamically enable or disable L1 cache?

Posted: Wed May 22, 2019 4:47 am
by bertram
Hi,

is it safe enough to disable the WB L1 cache on only one node to survive a following complete power failure or do you recommend to do it on both nodes?

In case of the second scenario it really becomes tricky because without a built in logic in Starwind it's hard to define which node starts with the process.

Re: Dynamically enable or disable L1 cache?

Posted: Wed May 22, 2019 8:05 am
by Oleg(staff)
The amount of caching should be the same on both nodes.
The cache is HA as well.