<div dir="ltr"><span style="font-size:12.8px">Hi Nithya,</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">GlusterFS version is 3.11.0, and  we use the native client of GlusterFS. Please see the below information.</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">$gluster v info vol</span></div><div><span style="font-size:12.8px"> </span></div><div><span style="font-size:12.8px">Volume Name: vol</span></div><div><span style="font-size:12.8px">Type: Distributed-Replicate</span></div><div><span style="font-size:12.8px">Volume ID: d59bd014-3b8b-411a-8587-ee36d254f755</span></div><div><span style="font-size:12.8px">Status: Started</span></div><div><span style="font-size:12.8px">Snapshot Count: 0</span></div><div><span style="font-size:12.8px">Number of Bricks: 90 x 2 = 180</span></div><div><span style="font-size:12.8px">Transport-type: tcp,rdma</span></div><div><span style="font-size:12.8px">Bricks:</span></div><div><span style="font-size:12.8px">...</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Options Reconfigured:</span></div><div><span style="font-size:12.8px">performance.force-readdirp: false</span></div><div><span style="font-size:12.8px">dht.force-readdirp: off</span></div><div><span style="font-size:12.8px">performance.read-ahead: on</span></div><div><span style="font-size:12.8px">performance.client-io-threads: on</span></div><div><span style="font-size:12.8px">diagnostics.client-sys-log-level: CRITICAL</span></div><div><span style="font-size:12.8px">cluster.entry-self-heal: on</span></div><div><span style="font-size:12.8px">cluster.metadata-self-heal: on</span></div><div><span style="font-size:12.8px">cluster.data-self-heal: on</span></div><div><span style="font-size:12.8px">cluster.self-heal-daemon: enable</span></div><div><span style="font-size:12.8px">performance.readdir-ahead: on</span></div><div><span style="font-size:12.8px">diagnostics.client-log-level: INFO</span></div><div><span style="font-size:12.8px">diagnostics.brick-log-level: INFO</span></div><div><span style="font-size:12.8px">cluster.lookup-unhashed: on</span></div><div><span style="font-size:12.8px">performance.parallel-readdir: on</span></div><div><span style="font-size:12.8px">cluster.readdir-optimize: off</span></div><div><span style="font-size:12.8px">performance.write-behind-window-size: 32MB</span></div><div><span style="font-size:12.8px">performance.cache-refresh-timeout: 5</span></div><div><span style="font-size:12.8px">features.inode-quota: off</span></div><div><span style="font-size:12.8px">features.quota: off</span></div><div><span style="font-size:12.8px">user.ftp.anon: NO</span></div><div><span style="font-size:12.8px">user.vol.snapshot: enable</span></div><div><span style="font-size:12.8px">user.nfsganesha: enable</span></div><div><span style="font-size:12.8px">features.trash-internal-op: off</span></div><div><span style="font-size:12.8px">features.trash: off</span></div><div><span style="font-size:12.8px">diagnostics.stats-dump-interval: 10</span></div><div><span style="font-size:12.8px">server.event-threads: 16</span></div><div><span style="font-size:12.8px">client.event-threads: 8</span></div><div><span style="font-size:12.8px">server.keepalive-count: 1</span></div><div><span style="font-size:12.8px">server.keepalive-interval: 1</span></div><div><span style="font-size:12.8px">server.keepalive-time: 2</span></div><div><span style="font-size:12.8px">transport.keepalive: 1</span></div><div><span style="font-size:12.8px">client.keepalive-count: 1</span></div><div><span style="font-size:12.8px">client.keepalive-interval: 1</span></div><div><span style="font-size:12.8px">client.keepalive-time: 2</span></div><div><span style="font-size:12.8px">features.cache-invalidation: off</span></div><div><span style="font-size:12.8px">network.ping-timeout: 30</span></div><div><span style="font-size:12.8px">user.smb.guest: no</span></div><div><span style="font-size:12.8px"><a href="http://user.id">user.id</a>: 8148</span></div><div><span style="font-size:12.8px">nfs.disable: on</span></div><div><span style="font-size:12.8px">snap-activate-on-create: enable</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px">Paul</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 28, 2017 at 11:25 PM, Nithya Balachandran <span dir="ltr">&lt;<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Paul,<div><br></div><div>A few questions:</div><div>What type of volume is this and what client protocol are you using?</div><div>What version of Gluster are you using?</div><div><br></div><div>Regards,</div><div>Nithya</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 28 December 2017 at 20:09, Paul <span dir="ltr">&lt;<a href="mailto:flypen@gmail.com" target="_blank">flypen@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi, All,<div><br></div><div>If I set cluster.readdir-optimize to on, the performance of &quot;ls&quot; is better, but I find one problem.</div><div><br></div><div># ls</div><div># ls</div><div>files.1  files.2 file.3</div><div><br></div><div>I run ls twice. At the first time, ls returns nothing. At the second time, ls returns all file names.</div><div><br></div><div>If turn off cluster.readdir-optimize, I don&#39;t see this problem.</div><div><br></div><div>Is there a way to solve this problem? If ls doesn&#39;t return the correct file names,</div><div><br></div><div>Thanks,</div><div>Paul</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><br></blockquote></div><br></div>
</blockquote></div><br></div>