StarWind SAN & NAS Free - L1/L2 Cache

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
link855
Posts: 11
Joined: Thu Dec 10, 2015 1:08 pm

Thu Feb 03, 2022 2:05 pm

Hi All, I'm trying the new StarWind SAN & NAS Free appliance for the first time, I had previously make some experience with StarWind VSAN (installed directly on a physical windows based storage box) and the VSA linux based appliance.
I have notice that on StarWind SAN & NAS Free appliance, configuring a new virtual disk there is no option to use L1 RAM Cache or L2 Flash Cache on top of capacity drives as it is usually available on StarWind VSAN.
My ESXi server has SAS (capacity) and SSD (cache) drives directly attached to storage controller in target mode (no RAID functionalities). I don't know how I can leverage SSDs or RAM for accelerate IO operations.

Thanks and kind regards
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Thu Feb 03, 2022 3:11 pm

Thanks for your question.
There is a way to add cache via config files. But here are my thoughts on why I would not do this for a standalone instance.
For best performance, I'd suggest using SSD array not as L2 cache but as underlying storage. L2 cache boosts only reads. See L2 cache operating principles here https://knowledgebase.starwindsoftware. ... rinciples/.
For performance sake, I'd suggest using the L1 cache in Write-back mode. But, since this is a standalone device, the write-back cache is not recommended due to the possible risk of data loss in case of service halt, unexpected shutdown of a VM, power outage or host PSOD as data in cache will be gone. The write-through cache will boost only reads.

If that is a lab environment, try this https://knowledgebase.starwindsoftware. ... rinciples/.
link855
Posts: 11
Joined: Thu Dec 10, 2015 1:08 pm

Thu Feb 03, 2022 3:44 pm

Many thanks for your quick and detailed reply!
I would like your feedback about these points:
- Will be introduced in the future the cache option in the GUI (SAN & NAS appliance)?
- Do you have some details how to add cache via config files for current version?

Thanks again :wink:
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Sat Feb 05, 2022 11:18 pm

Greetings,

I will log the feature request for this.
Please try this https://knowledgebase.starwindsoftware. ... rinciples/. Please also keep in mind the recommendations above.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Tue Jun 13, 2023 2:01 pm

Small update: No, we do not support L1/L2 cache in SAN & NAS, thus there is no option to create the configuration.
Post Reply