Hi,<br><br>I'm using Gluster 3.3.0-1.el6.x86_64, on two storage nodes, replicated mode (fs1, fs2) <br>Node specs: CentOS 6.2 Intel Quad Core 2.8Ghz, 4Gb ram, 3ware raid, 2x500GB sata 7200rpm (RAID1 for os), 6x1TB sata 7200rpm (RAID10 for /data), 1Gbit network<br>
<br>I've it mounted data partition to web1 a Dual Quad 2.8Ghz, 8Gb ram, using glusterfs. (also tried NFS -> Gluster mount)<br><br>We have 50Gb of files, ~800'000 files in 3 levels of directories (max 2000 directories in one folder)<br>
<br>My main problem is speed of directory indexes "ls -alR" on the gluster mount takes 23 minutes every time.<br><br>It don't seem like any directory listing information cache, with regular NFS (not gluster) between web1<->fs1, this takes 6m13s first time, and 5m13s there after.<br>
<br>Gluster mount is 4+ times slower for directory indexing performance vs pure NFS to single server, is this as expected? <br>I understand there is a lot more calls involved checking both nodes but I'm just looking for a reality check regarding this.<br>
<br>Any suggestions of how I can speed this up?<br><br>Thanks,<br><br><br>