<div dir="ltr"><br><div>I had about 100 million files in Gluster and it was unbelievably painfully slow.  We had to ditch it for other technology.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 11:24 PM, Franco Broi <span dir="ltr">&lt;<a href="mailto:franco.broi@iongeo.com" target="_blank">franco.broi@iongeo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I seriously doubt this is the right filesystem for you, we have problems<br>
listing directories with a few hundred files, never mind millions.<br>
<div><div class="h5"><br>
On Tue, 2014-04-15 at 10:45 +0900, Terada Michitaka wrote:<br>
&gt; Dear All,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I have a problem with slow writing when there are 10 million files.<br>
&gt; (Top level directories are 2,500.)<br>
&gt;<br>
&gt;<br>
&gt; I configured GlusterFS distributed cluster(3 nodes).<br>
&gt; Each node&#39;s spec is below.<br>
&gt;<br>
&gt;<br>
&gt;  CPU: Xeon E5-2620 (2.00GHz 6 Core)<br>
&gt;  HDD: SATA 7200rpm 4TB*12 (RAID 6)<br>
&gt;  NW: 10GBEth<br>
&gt;  GlusterFS : glusterfs 3.4.2 built on Jan  3 2014 12:38:06<br>
&gt;<br>
&gt; This cluster(volume) is mounted on CentOS via FUSE client.<br>
&gt; This volume is storage of our application and I want to store 3<br>
&gt; hundred million to 5 billion files.<br>
&gt;<br>
&gt;<br>
&gt; I performed a writing test, writing 32KByte file × 10 million to this<br>
&gt; volume, and encountered a problem.<br>
&gt;<br>
&gt;<br>
&gt; (1) Writing is so slow and slow down as number of files increases.<br>
&gt;   In non clustering situation(one node), this node&#39;s writing speed is<br>
&gt; 40 MByte/sec at random,<br>
&gt;   But writing speed is 3.6MByte/sec on that cluster.<br>
&gt; (2) ls command is very slow.<br>
&gt;   About 20 second. Directory creation takes about 10 seconds at<br>
&gt; lowest.<br>
&gt;<br>
&gt;<br>
&gt; Question:<br>
&gt;<br>
&gt;  1)5 Billion files are possible to store in GlusterFS?<br>
&gt;   Has someone succeeded to store billion  files to GlusterFS?<br>
&gt;<br>
&gt;  2) Could you give me a link for a tuning guide or some information of<br>
&gt; tuning?<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt; -- Michitaka Terada<br>
</div></div>&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div><br></div>