L2 cache lost

Found a bug? Report here
ciakko
Level 4
Level 4
Posts: 21
Joined: Fri Sep 30, 2011 8:59 am

L2 cache lost

Post by ciakko »

PrimoCache version: 3.0.0 Beta
Cache Settings: SSD Cache
Windows OS: 10
Hardware Information (CPU/Motherboard/Memory/Harddisks):
PC - Laptop Asus K501UX
CPU - 17 6500U
RAM - 12GB
USB (cache) - Verbatim Store n go 115Gb

Description:
If I boot my PC without the pendrive L2 cache is reset.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: L2 cache lost

Post by Support »

If you unplug pendrive before last shutdown, the L2 cache content will be cleared. It's not a bug. This is a designed behavior to make sure that L2 cache content is identical to source data. Because when L2 device is not present, source data might be overwritten but PrimoCache cannot update cached L2 data.
ciakko
Level 4
Level 4
Posts: 21
Joined: Fri Sep 30, 2011 8:59 am

Re: L2 cache lost

Post by ciakko »

I shutdown my laptop before unplug pendrive. I always do this to prevent to damage USB port in an accidental impact.
Sometimes I forget to insert the pendrive, I wait for system to load then I insert the pendrive.

I also use Primo with another PC with SSD hardrive. When system crash L2 cache is reset after first boot, but then Primo resume all data cached​ before system crash.
I expect it should work in the same mode when it doesn't find the pendrive.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: L2 cache lost

Post by Support »

By design, if you boot the computer without pendrive and then later you insert the pendrive, the L2 cache shall not be reset (only data which has been overwritten will be cleared).
If you boot the computer without pendrive and then you restart the computer before you insert the pendrive, the L2 cache will be reset.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: L2 cache lost

Post by Support »

Well, I think the problem is related to the Windows "Fast Startup". This feature (enabled by default) will make a different process compared with above design, clearing all L2 cache immediately if you don't boot with pendrive.
ciakko
Level 4
Level 4
Posts: 21
Joined: Fri Sep 30, 2011 8:59 am

Re: L2 cache lost

Post by ciakko »

Ok, that's what I thought and why I suspect there's a bug.
I'll try to be sure and then I'll report
ciakko
Level 4
Level 4
Posts: 21
Joined: Fri Sep 30, 2011 8:59 am

Re: L2 cache lost

Post by ciakko »

Tha's what happened:
Fast boot disabled
screen01.jpg
screen01.jpg (87.57 KiB) Viewed 6918 times
Primo is working and caching
screen02.jpg
screen02.jpg (84.32 KiB) Viewed 6918 times
Boot without pendrive
screen03.jpg
screen03.jpg (78.91 KiB) Viewed 6918 times
Pendrive plugged without restart

After restart cache hit rate is 0 and all L2cache is free
ciakko
Level 4
Level 4
Posts: 21
Joined: Fri Sep 30, 2011 8:59 am

Re: L2 cache lost

Post by ciakko »

screen04.jpg
screen04.jpg (84.75 KiB) Viewed 6918 times
After restart
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: L2 cache lost

Post by Support »

Did you disable the Windows Fast Startup?
ciakko
Level 4
Level 4
Posts: 21
Joined: Fri Sep 30, 2011 8:59 am

Re: L2 cache lost

Post by ciakko »

Solved!
I confused Fastboot from bios setting with Fast Startup.
Disabling Fast Startup it works.
Thanks!!!
Post Reply