Page 1 of 1

Max Cache Size

Posted: Fri Mar 15, 2019 7:47 am
by KPS
Hi!

In the past, there have been some limitations in the L1-cache size of a HA-cluster.
Are there any improvements? Whats the maximum size, you recommend?

Regards,
KPS

Re: Max Cache Size

Posted: Fri Mar 15, 2019 1:58 pm
by Oleg(staff)
Hi!
Please check this KB article.


"The size of L1 cache should be equal to the amount of the average working data set. The total amount of L1 cache assigned influences the time required for system shutdown. Please make sure not to overprovision the L1 cache amount to avoid the service interruption and the loss of cached data.

In case of using L1 cache in write-back mode, UPS units have to be installed to ensure the correct shutdown of StarWind Virtual SAN nodes. If a power outage occurs, this will prevent the loss of cached data. The UPS capacity must cover the time required for flushing the cached data to the underlying storage."

Re: Max Cache Size

Posted: Fri Mar 15, 2019 2:12 pm
by KPS
Hi Oleg!

Thats quite vague...

In case of a HA-system, the loss of the cache should not be critical. What is the maximum size, you recommend?

Re: Max Cache Size

Posted: Fri Mar 15, 2019 2:49 pm
by Oleg(staff)
Hi!
Based on StarWind Best Practices, we recommend creating devices up to 5-6 TB in size. So, L1 cache should not be bigger than 5-6 GB per StarWind HA device.

Re: Max Cache Size

Posted: Fri Mar 15, 2019 2:51 pm
by KPS
Hi!

So, if I have 30 TB, I would create 5 volumes with 6 TB and each one with 6GB L1-Cache --> 30GB L1-Cache?

Re: Max Cache Size

Posted: Fri Mar 15, 2019 3:04 pm
by Oleg(staff)
Yes, it should work. But do not forget about the amount of the average working data set. It can be even less.