How is read and write cache shared?

FAQ, getting help, user experience about PrimoCache
Post Reply
Stubi
Level 5
Level 5
Posts: 47
Joined: Tue Aug 24, 2010 12:36 pm

How is read and write cache shared?

Post by Stubi »

Let's say I have 1 GB cache and use this for read and writes. How are the 1 GB shared for cached reads and cached writes?
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: How is read and write cache shared?

Post by Support »

If the cache strategy is Read/Write, all reads and writes will be cached. Cache content will be replaced by specified algorithm when cache space is full.
InquiringMind
Level SS
Level SS
Posts: 477
Joined: Wed Oct 06, 2010 11:10 pm

Re: How is read and write cache shared?

Post by InquiringMind »

Just to clarify, does that mean that memory allocation would follow usage? (e.g. a system that does 4 times as much reading as writing would likely have the cache split 80/20 for read/write data). Or do other factors come into play (e.g. a large write defer setting prioritising write data retention).
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: How is read and write cache shared?

Post by Support »

InquiringMind wrote:does that mean that memory allocation would follow usage? (e.g. a system that does 4 times as much reading as writing would likely have the cache split 80/20 for read/write data).
Yes. However in future versions, we might allow users to divide read/write cache area.
Post Reply