<div dir="ltr">The cache works by remembering 128KB &quot;pages&quot; within files. Effectively &quot;blocks&quot; in your terminology.<br><br>Thanks</div><br><div class="gmail_quote">On Wed, 11 Mar 2015 at 12:36 Jon Heese &lt;<a href="mailto:jonheese@jonheese.com">jonheese@jonheese.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have a two-server, two-brick (one brick per server) replicated Gluster<br>
3.6.2 volume, and I&#39;m interested in the &#39;performance.cache-size&#39; option<br>
and how that read cache works.<br>
<br>
My volume currently stores a handful of ~500GB image files, which are<br>
then fed to an iSCSI daemon to serve up datastores and other<br>
miscellaneous iSCSI disks to servers over an iSCSI network.<br>
<br>
I have about 14GB of unutilized (minus system cache/buffers) memory on<br>
the gluster servers (which are also the gluster clients, in this case)<br>
which I&#39;d like to utilize to improve the read performance of this volume.<br>
<br>
So since my files are are well over the &quot;tens of GB&quot; mark, I&#39;m curious:<br>
Does the Gluster read cache work at the block level -- i.e. caching<br>
*blocks* that are likely to be read -- or does it work at the file level<br>
-- caching *files* that are likely to be read?  Obviously, the latter<br>
might work well for me, but the former is likely not very useful.<br>
<br>
I&#39;ve tried searching around for details on how this works, but short of<br>
diving into the code itself (which is likely beyond my skill level and<br>
time allowance), I haven&#39;t been able to find the answer to this question.<br>
<br>
If I&#39;ve misunderstood how any of this is supposed to work, please feel<br>
free to correct me.  Thanks in advance!<br>
<br>
Regards,<br>
Jon Heese<br>
______________________________<u></u>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/<u></u>mailman/listinfo/gluster-users</a><br>
</blockquote></div>