How is read and write cache shared?
How is read and write cache shared?
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?
Re: How is read and write cache shared?
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.
-
- Level SS
- Posts: 477
- Joined: Wed Oct 06, 2010 11:10 pm
Re: How is read and write cache shared?
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).
Re: How is read and write cache shared?
Yes. However in future versions, we might allow users to divide read/write cache area.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).