Suitability in a VM storage environment, L2 Write Cache ?'s Topic is solved

FAQ, getting help, user experience about PrimoCache
Post Reply
rwohleber
Level 1
Level 1
Posts: 3
Joined: Wed Feb 19, 2020 1:10 pm

Suitability in a VM storage environment, L2 Write Cache ?'s

Post by rwohleber »

We are considering using PrimoCache in our Hyper-V SAN and it is populated with about 30x large VHDX files (greater than 100GB in size, some are upwards of 1TB). My question is if the Read cache works on a block level or a file level? Also with the L2 Storage Write Cache, will that be helpful for large file write updates where the file is kept open all the time (again, VHDX files)?

We have no problem allocating 3x 1TB NVme sticks (different manufacturers obviously) to be a mirrored write cache, but we don't want to pursue this strategy if this is a file Cache as opposed to a block Cache or if it won't be effective for our use case.

I want to get FreeNas out of the DC - we've had a couple bad experiences which I won't bore you with.

TIA!

Rick
User avatar
Jaga
Contributor
Contributor
Posts: 692
Joined: Sat Jan 25, 2014 1:11 am

Re: Suitability in a VM storage environment, L2 Write Cache ?'s

Post by Jaga »

Primocache works at the block level. Whatever block size you setup, it will fetch from the volume (no matter what cluster size is set). It is recommended to keep block size and cluster size either equal, or to use a slightly larger block size (to reduce overhead).

The write cache is definitely useful when large writes are concerned. It reduces the sustained write time, which it can then spread out over a larger period afterwards.
rwohleber
Level 1
Level 1
Posts: 3
Joined: Wed Feb 19, 2020 1:10 pm

Re: Suitability in a VM storage environment, L2 Write Cache ?'s

Post by rwohleber »

Very cool, thanks! Block level cache is ideal for our environment, obviously.

Rick
Gobicat
Level 1
Level 1
Posts: 1
Joined: Thu Apr 29, 2021 4:05 am

Re: Suitability in a VM storage environment, L2 Write Cache ?'s

Post by Gobicat »

I would like to use this for our VM farm. So I should install PrimoChache on the Hyper-v Host and not inside the VM, correct?
Since the discussion say it operate on a block level, it should provide cache for All the guest VM,, correct?
I will be using the hyper-v Server Core 2019
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Suitability in a VM storage environment, L2 Write Cache ?'s

Post by Support »

It will be faster if you use caching inside the VM because this will reduce disk IOs between host and VMs. However, this needs more hardware resources and PrimoCache licenses. If you use caching on the host, yes, it can provide cache for all VMs.
Post Reply