Cache Wipe upon Crash Topic is solved

Found a bug? Report here
Post Reply
S3thc0n
Level 2
Level 2
Posts: 6
Joined: Tue Mar 03, 2015 12:19 am

Cache Wipe upon Crash

Post by S3thc0n »

PrimoCache version: 2.0.0
Cache Settings: Level-2 Cache on SSD, 4KB block size, caching both read- and write-data
Windows OS: Windows 8.0
Hardware Information (CPU/Motherboard/Memory/Harddisks): Intel Core 2 Quad Q9400, Asus Benicia (OEM), 8GB (OEM), 1TB Western Digital, 128GB SanDisk SSD
Description: Whenever the computer crashes, the L2 cache is emptied. Crashing can mean hanging up and power being cut or a bluescreen.
It'd be great too fix this somehow, since crashes can happen and rebuilding 80GB of cache takes a long while.
Note that this issue existed with earlier versions as well.
minhgi
Level 10
Level 10
Posts: 256
Joined: Tue May 17, 2011 3:52 pm

Re: Cache Wipe upon Crash

Post by minhgi »

That would be feature of the software design. You would not want to use cache data that is incomplete after the crash. Could lead to corrupt data on you hard drive. Anyway, you should fix your crash before using any caching software. You are asking for trouble there.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: Cache Wipe upon Crash

Post by Support »

Yes, this is by design. As minhgi said, unexpected shutdown may cause L2 cache content incomplete.
Shagma
Level 1
Level 1
Posts: 2
Joined: Sat Jan 16, 2016 2:53 pm

Re: Cache Wipe upon Crash

Post by Shagma »

Is there a way to disable this behavior? I don't care if my cache is corrupted.
idefix44
Level 8
Level 8
Posts: 137
Joined: Sat Oct 26, 2013 2:13 pm

Re: Cache Wipe upon Crash

Post by idefix44 »

NO, THIS IS BY DESIGN...
Shagma
Level 1
Level 1
Posts: 2
Joined: Sat Jan 16, 2016 2:53 pm

Re: Cache Wipe upon Crash

Post by Shagma »

Yes of course it is by design, otherwise the cache would not be deleted :roll:

My question is, can this be "designed" so that there is an option to disable the cache wipe on system crash?
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: Cache Wipe upon Crash

Post by Support »

Well, you cannot use corrupted cache data which will leading to fatal error. However, we're thinking to rebuild cache contents upon crash.
Thanks.
S3thc0n
Level 2
Level 2
Posts: 6
Joined: Tue Mar 03, 2015 12:19 am

Re: Cache Wipe upon Crash

Post by S3thc0n »

Is a cache wipe upon booting into safe mode also by design?
InquiringMind
Level SS
Level SS
Posts: 477
Joined: Wed Oct 06, 2010 11:10 pm

Re: Cache Wipe upon Crash

Post by InquiringMind »

PrimoCache should be disabled when going into safe mode (along with any other non-critical drivers) so wiping the L2 cache would be critical here to avoid system corruption when rebooting normally (due to disk writes made in safe mode being overwritten by previous cached data).
S3thc0n
Level 2
Level 2
Posts: 6
Joined: Tue Mar 03, 2015 12:19 am

Re: Cache Wipe upon Crash

Post by S3thc0n »

Alright, good to know! Thanks for clearing that up. :)
Post Reply