Flash cache - Image/LSFS - Sizing

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

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

Post Reply
raymondjt
Posts: 29
Joined: Wed Oct 05, 2011 5:23 pm

Tue Feb 09, 2016 5:55 am

Hi,

in the early versions of StarWind v8 the "L2 Cache" could only be choosed if the device was LSFS.

On the latest version 8.0.8703 the wizard "Add Device (advanced)" allows the select the "flash cache" for both options: Thick-provisioned and LSFS

Is this a bug or a new feature?

What about the sizing? Best practices for "flash cache"?

Example:
Device lsfs - 1024 GB, 4096 virtual sector size
- recommondation for (RAM) Cache size ?
- recommondation for Flash Cache size?

Any difference if dedup is activated or not?

Thanx
Raymond J. Tuleweit
User avatar
Ironwolf
Posts: 59
Joined: Fri Jul 13, 2012 4:20 pm

Wed Feb 10, 2016 5:20 pm

Your Example is to vague, start by thinking about the data, and how the data is used. Then think about the contention on the physical storage itself, as in how many LUNs are you planning? How busy do you think each of the LUNs is? (the more LUNs/busy the larger the cache you need per LUN, to help hide/absorb contention for the physical storage)

The recommendations I have seen suggest 10% - 10%

Your Example: Drive/LUN Size 1TB (1024GB)
L2 SSD Cache, 10% = (1024 * .1) = 102GB
L1 Ram Cache, 10% = (102 *.1) = 10GB

But it is so subjective its not easily defined by a fix rule. A trick I use in my home LAB only, not suitable for production (don’t do it). Set Starwind to zero L1/L2 cache. Use FancyCache/PrimoCache and play with the cache levels until happy. Some workloads it just doesn't matter, others it makes a huge difference.
User avatar
darklight
Posts: 185
Joined: Tue Jun 02, 2015 2:04 pm

Wed Feb 10, 2016 11:38 pm

I usually treat L2 cache size to be able to cover your "working set" or so-called "hot data". Usually, it is 10%-20% of you total virtualized data, that is why I assume starwind recommends to size it this way. Basically, the same applies to L1 cache also, but it is rather expensive to get 10% of your storage covered by RAM, so starwind recommends to have at least 1% covered for good performance. These recommendations apply to both types of devices but in the case of LSFS, you should keep in mind that it will consume additional RAM for sequentializing and for deduplication. Exact amounts might be found here https://knowledgebase.starwindsoftware. ... scription/ under Requirements and Limitations.
User avatar
Tarass (Staff)
Staff
Posts: 113
Joined: Mon Oct 06, 2014 10:40 am

Fri Feb 12, 2016 3:12 pm

Nice conclusions, darklight.

Anything else I can help here with?
Senior Technical Support Engineer
StarWind Software Inc.
Post Reply