On Tue, 30 May 2017, Alexander Pyhalov wrote:

Hello.
I have a question on l2arc supporting algorithms. Precisely, if I have some data in l2arc and now large sequential read comes, does it mean that l2arc will be rewritten? For example, if I have 200GB L2ARC and one reads 1TB of data, does it mean that after this L2ARC is filled with this (perhaps, rarely used) data? Is there any way to protect from this (perhaps, somehow marc some data to avoid its eviction from cache)?

Data does not make it into the l2arc unless it has first been in the ARC. ZFS uses a variation of ARC as described at "https://en.wikipedia.org/wiki/Adaptive_replacement_cache";. One goal of ARC is to avoid the simplistic filling that you describe.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------
illumos-discuss
Archives: 
https://illumos.topicbox.com/groups/discuss/discussions/T24178558a3ef35b5-Me3fd5185fe90d3f4198f727d
Powered by Topicbox: https://topicbox.com

Reply via email to