L2 Cache retention? Topic is solved

FAQ, getting help, user experience about PrimoCache
koen
Level 2
Level 2
Posts: 6
Joined: Tue Oct 10, 2017 5:35 am

L2 Cache retention?

Post by koen »

Hi guys,

I have a question about the data retention of the L2 cache.

I have 1 Cache task that has 16GB L1 cache and 907GB L2 cache assigned to it, It is used to cache 1 volume of 4TB.

On this volume multiple VM's reside and after a day of extensive use, my cache hit-rate goes up to 80% easy. That moment about 860GB is still free on that L2 cache volume, so I know that the L2 is actually being used.

Then the next day when I cold boot my Windows 10 box and look in the free L2 storage it's back at 907GB free and cache hits are terrible.

I checked the settings but could not find anything that could cause this behavior. I really do not want to lock the cache since I do use various VM's each day, and really don't want to waste a 907GB cache volume just to only use 47GB of it or so.

Can someone please help me with this?

- Edit 23-1-2018: Issue is solved now, turned out that the Windows 10 fastboot option was causing the L2 cache to flush. After turning the Windows 10 fastboot option off it worked normal again. Thanks !

Regards, Koen.
Last edited by koen on Tue Jan 23, 2018 7:11 am, edited 1 time in total.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: L2 Cache retention?

Post by Support »

Is PrimoCache version 2.x or 3.0 beta? If it is 2.x, could you try the 3.0 beta version? We have some improvements on this problem.
See viewtopic.php?f=32&t=4395
koen
Level 2
Level 2
Posts: 6
Joined: Tue Oct 10, 2017 5:35 am

Re: L2 Cache retention?

Post by koen »

Cool, I'll try the beta. I am indeed running version 2.7.3

- Koen
koen
Level 2
Level 2
Posts: 6
Joined: Tue Oct 10, 2017 5:35 am

Re: L2 Cache retention?

Post by koen »

I've installed the beta (3.0.0) but still the L2 cache drive is being flushed from time to time.

Any ideas of why this is happening are welcome. I have tried different cache strategies, they eventually all resulted in the same behavior.

- Koen.
koen
Level 2
Level 2
Posts: 6
Joined: Tue Oct 10, 2017 5:35 am

Re: L2 Cache retention?

Post by koen »

I am still running with the beta by the way, But since my big level 2 cache is not being utilized to it's full extend i have now converted to another cache strategy in where I use the L2 cache as the data drive with a 16GB L1 cache running on top of that to kind of reduce the stress on the SSD a bit.

Any tips about L2 cache retention are still welcome since I have now a fairly slow 4TB raid 0 array that I'm not using because it's slow.

- Koen.
jarble
Level 1
Level 1
Posts: 1
Joined: Sat Oct 28, 2017 5:37 pm

Re: L2 Cache retention?

Post by jarble »

Created an account to report this same problem and found this thread. I am having nearly the same problem with the L2 data getting flushed on some reboots and also deep sleep states. I thought that it may be tied to the raid configuration but I don't see any problems with the array and the array holds data across boots and deep sleep when not formated for L2 cache. I hope we get a fix for this as having to rebuild the cached data is a bit of a pain.

Running the 3.0 beta
User avatar
Jaga
Contributor
Contributor
Posts: 692
Joined: Sat Jan 25, 2014 1:11 am

Re: L2 Cache retention?

Post by Jaga »

Don't use Sleep with Primocache - it is unreliable. I stopped sleeping the computer and the cache never emptied on reboots/shutdowns.
minhgi
Level 10
Level 10
Posts: 256
Joined: Tue May 17, 2011 3:52 pm

Re: L2 Cache retention?

Post by minhgi »

That issue should be fixed on the final release of 3.0.0.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: L2 Cache retention?

Post by Support »

As minhgi said, we have made some improvements again in the final release of 3.0.0. But I'm not sure if it works or not on this problem. Currently you may disable Windows Fast-Startup and then try again.
koen
Level 2
Level 2
Posts: 6
Joined: Tue Oct 10, 2017 5:35 am

Re: L2 Cache retention?

Post by koen »

Hi just to report back, this issue is solved now, my computer was using the Windows 10 fastboot option, turned out that this was the reason the cache was flushing constantly. I turned it off and my issue was gone.

running 3.0.2 now.

Thanks!

- Koen.
Post Reply