About Mechanisms of Different Modes for Deferred Write
Posted: Sun Aug 23, 2020 10:22 pm
I've checked the explanation on the website.
https://www.romexsoftware.com/en-us/pri ... ation.html
Native is easy to understand. It's basically saying that Primocache will start to write deferred data to the disk after the specified Latency.
My questions are about the other modes.
(a) For Intelligent, Idle-Flush, Buffer modes, they are stated as Native modes plus some other conditions. However, I would like to know exactly the deferred data is treated according to those additional conditions.
For example, we consider Intelligent mode, which is Native mode plus writing 10%~20% of deferred data into disk on Windows idle when deferred data amount reaches 90% of cache size. Latency is set to be 10 sec.
Suppose I have 4GB L1 cache for write data and no other cache for write. What will Primocache deal with the deferred data if
(1) the deferred-write reaches 2GB in a 10-sec write
(2) the deferred data reaches 3.8GB in a 10-sec write ?
In particular, I'm curious about the case of (1) since it says Intelligent mode writes deferred date only if the amount reaches 90% of cache size. Will these deferred-write data remain as deferred-write in the cache for a very long time if no other incoming write data?
(b) It's stated that Average mode will average the amount of deferred data over a period of time and smoothly writing data into disk to avoid sudden heavy disk activities. How does it works according to the specified Latency?
https://www.romexsoftware.com/en-us/pri ... ation.html
Native is easy to understand. It's basically saying that Primocache will start to write deferred data to the disk after the specified Latency.
My questions are about the other modes.
(a) For Intelligent, Idle-Flush, Buffer modes, they are stated as Native modes plus some other conditions. However, I would like to know exactly the deferred data is treated according to those additional conditions.
For example, we consider Intelligent mode, which is Native mode plus writing 10%~20% of deferred data into disk on Windows idle when deferred data amount reaches 90% of cache size. Latency is set to be 10 sec.
Suppose I have 4GB L1 cache for write data and no other cache for write. What will Primocache deal with the deferred data if
(1) the deferred-write reaches 2GB in a 10-sec write
(2) the deferred data reaches 3.8GB in a 10-sec write ?
In particular, I'm curious about the case of (1) since it says Intelligent mode writes deferred date only if the amount reaches 90% of cache size. Will these deferred-write data remain as deferred-write in the cache for a very long time if no other incoming write data?
(b) It's stated that Average mode will average the amount of deferred data over a period of time and smoothly writing data into disk to avoid sudden heavy disk activities. How does it works according to the specified Latency?