Read/Write Strategy Topic is solved

FAQ, getting help, user experience about PrimoCache
Post Reply
username
Level 1
Level 1
Posts: 3
Joined: Wed Oct 30, 2013 10:59 pm

Read/Write Strategy

Post by username »

I was reading the configuration terms topic from the documentation and found it hard to understand what the read/write strategy means. Is it double buffering? What is the write policy? What are the performance benefits? Seeing it set by default for the "Improve read performance" configuration is even more confusing. I think you should describe this subject more thoroughly. Thanks.
InquiringMind
Level SS
Level SS
Posts: 477
Joined: Wed Oct 06, 2010 11:10 pm

Re: Read/Write Strategy

Post by InquiringMind »

Welcome to the forums Username,

The PrimoCache Configuration Terms page has more explanation of the cache settings.

The cache "policies" are presets to simplify configuration so you should choose whichever option you consider most important. For most people, read/write would be best but if your data is critical, choose read only (to eliminate any chance of data loss from an unexpected system shutdown). Write only is for those constantly amending large files like video editing).
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: Read/Write Strategy

Post by Support »

InquiringMind wrote:read/write would be best but if your data is critical, choose read only (to eliminate any chance of data loss from an unexpected system shutdown).
Cache Strategy tells the program what type of data can be stored into cache. R/W strategy means that the program caches read-data and write-data. This strategy doesn't mean that write-data won't be immediately written to underlying disks. Even you use R/W strategy, if Defer-Write is not enabled, write-data is immediately written to the disk. So there's no extra chance of data loss.

Only when Defer-Write is enabled, the chance of data loss increases on unexpected system failure.
username
Level 1
Level 1
Posts: 3
Joined: Wed Oct 30, 2013 10:59 pm

Re: Read/Write Strategy

Post by username »

Cache Strategy tells the program what type of data can be stored into cache
"Stored" is the key word that made it perfectly clear for me. Thanks for the explanation.
InquiringMind
Level SS
Level SS
Posts: 477
Joined: Wed Oct 06, 2010 11:10 pm

Re: Read/Write Strategy

Post by InquiringMind »

Spam post by daxionglu reported
Post Reply