<br><br><div class="gmail_quote">On Fri, Apr 2, 2010 at 3:32 PM, Olivier Le Cam <span dir="ltr">&lt;<a href="mailto:Olivier.LeCam@crdp.ac-versailles.fr" target="_blank">Olivier.LeCam@crdp.ac-versailles.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi -<br>
<br>
I am evaluating glusterfs for a replacement of an NFS server which acts as a backend storage for a webcluster, in order to take advantage of its very interesting features in term of high-availability and scalability.<br>


<br>
That said, I&#39;m experiencing (like everybody in the same situation) performance issues due to the large number of small files a webserver have to deal with. 
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
The io-cache translator does not help so much in this situation because (as far as I understood) the clients always have to check the mtime of the target file before delivering it in order to known if the cache is up-to-date. This intensive network traffic is quite penalizing in term of performance (especially on a Gb-E).<br>

</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Following to a recent talk on the IRC channel, it came to my mind that caching lookups could (in this particular situation) greatly improve the performances.<br></blockquote><div><br>If you are not very much concerned about file being changed from other clients while it is being cached, you can set &#39;cache-timeout&#39; value in io-cache configuration to some high value, there by increasing the time intervals at which stat call is sent to server to check whether the file has changed.<br>

 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I have observed the GlusterFS code carefully and TBH I haven&#39;t been able to see how/where such a translator could be integrated in.<br>
<br>
Would it be possible to get some help? Are other users/developers already involved in such a development?<br></blockquote><div><br>If you are just interested in caching stats for beniefit of io-cache, the same functionality can be achieved by tuning cache-timeout value in io-cache.<br>

 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I don&#39;t want to bother you more than necessary, getting few advices would be enough in order to put me on the way.<br>
<br>
I&#39;ll appreciate any comments or pointers.<br>
<br>
Thanks and best regards,<br>
-- <br>
Olivier<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>