<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>Anand,</div>
<div><br>
</div>
<div>Thanks for the response.</div>
<div><br>
</div>
<div>So am I correctly interpreting your answer as saying that it caches (statically sized) 128KB pages in the configured memory space?</div>
<div><br>
</div>
<div>In other words, is it accurate to say that if I configure performance.cache-size to be 1GB, it will store the eight most recently used 128KB pages in the cache?</div>
<div><br>
</div>
<div>Thanks again.</div>
<div><br>
Regards,
<div>Jon Heese</div>
</div>
<div><br>
On Mar 12, 2015, at 1:20 PM, &quot;Anand Avati&quot; &lt;<a href="mailto:avati@gluster.org">avati@gluster.org</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<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'm interested in the 'performance.cache-size' 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'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'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?&nbsp; Obviously, the latter<br>
might work well for me, but the former is likely not very useful.<br>
<br>
I'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't been able to find the answer to this question.<br>
<br>
If I've misunderstood how any of this is supposed to work, please feel<br>
free to correct me.&nbsp; 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>
</div>
</blockquote>
</body>
</html>