About Defer-Write and the risk of data loss on power outage

FAQ, getting help, user experience about PrimoCache
xinwei
Support Team
Support Team
Posts: 28
Joined: Mon Jan 25, 2021 8:35 am

Re: About Defer-Write and the risk of data loss on power outage

Post by xinwei »

Defer-write reorders the write order, combining adjacent writes together to improve write speed. Thank you for your suggestions. We will consider them in the future.
Widdershins
Level 4
Level 4
Posts: 22
Joined: Tue Mar 26, 2019 10:05 pm

Re: About Defer-Write and the risk of data loss on power outage

Post by Widdershins »

Nick7 wrote: Sun Jan 31, 2021 10:17 pm As I explained to Jaga - problem is when data is written out of order to disk. In case of crash, deferred writes are simply dropped (makes sense in case of L1 since it's in memory, in case of L2 - not so much).

Only way that this could be omitted is using L2 cache for defer writes and using journaling for it.

In case of hard crash, software (PrimoCache) would run through complete L2 transaction log, and there would be no errors (data loss) on disk.

Is there any chance in the future that L2 deferred writes on Primocache for Windows will support journaling?

...such that the L2 transaction log could be processed on reboot from a hard crash to avert data loss?

If not, are there any Windows (client or server) caching solutions that do?

I understand it's been mentioned that Linux (maybe PrimoCache for Linux?) has it, but I'm hoping it exists for Windows as well.
Post Reply