<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I&#39;ve posted to the list about this issue before actually.<br>
We had/have a similar requirement for storing a very large number of fairly small files, and originally had them all in just a few directories in glusterfs.<br></blockquote><div><br></div><div>Directory layout also matters here &quot;number of files v/s number of directory&quot; hierarchy, also necessary to know is how does the application reach to these individual files (access patterns)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It turns out that Glusterfs is really badly suited to directories with large numbers of files in them. If you can split them up, do so, and performance will become tolerable again.<br></blockquote><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

But even then it wasn&#39;t great.. Self-heal can swamp the network, making access for clients so slow as to cause problems.<br>
<br></blockquote><div><br></div><div>This analysis is wrong - self-heal daemon runs in lower priority threads and shouldn&#39;t be swamping the network at all. It never competes by default against User i/o traffic. Which was the version this was tested against?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For your use case (wanting distributed, replicated storage for large numbers of 1mb files) I suggest you check out Riak and the Riak CS add-on. It&#39;s proven to be great for that particular use-case for us.<br></blockquote>
<div><br></div><div>Including all of that there is a fair amount of tuning which should be done at kernel, network and filesystem level as well. NoSQL&#39;s such as Riak could be beneficial but again are based on use-case basis. </div>
<div><br></div></div>-- <br><div dir="ltr"><i style="font-family:arial;font-size:small">Religious confuse piety with mere ritual, the virtuous confuse regulation with outcomes</i><br></div>
</div></div>