Hello, gluster-devel and gluster-users team,<div><br></div><div>We are running a performance test in a replica 1 volume and find out the single file sequence writing performance only get about 50MB/s in a 1Gbps Ethernet. However, if we test multiple files sequence writing, the writing performance can go up to 120MB/s which is the top speed of network. </div>
<div><br></div><div>We also tried to use the stat xlator to find out where is the bottleneck of single file write performance. Here is the stat data:</div><div><br></div><div>Client-side:</div><div>......</div><div><div>vs_vol_rep1-client-8.latency.WRITE=total:21834371.000000us, mean:2665.328491us, count:8192, max:4063475, min:1849</div>
</div><div>......</div><div><br></div><div>Server-side:</div><div>......</div><div><div>/data/sdb1/brick1.latency.WRITE=total:6156857.000000us, mean:751.569458us, count:8192, max:230864, min:611</div></div><div>......</div>
<div><br></div><div>Note that the test is write a 1GB single file sequentially to a replica 1 volume through 1Gbps Ethernet network. </div><div><br></div><div>On the client-side, we can see there are 8192 write requests totally. Every request will write 128KB data. Total eclipsed time is 21834371us, about 21 seconds. The mean time of request is 2665us, about 2.6ms which means it could only serves about 380 requests in 1 seconds. Plus there are other time consuming like statfs, lookup, but those are not major reasons.</div>
<div><br></div><div>On the server-side, the mean time of request is 751us include write data to HDD disk. So we think that is not the major reason.</div><div><br></div><div>And we also modify some codes to do the statistic of system epoll elapsed time. It only took about 20us from enqueue data to finish sent-out.</div>
<div><br></div><div>Now we are heading to the rpc mechanism in glusterfs. Still, we think this issue maybe encountered in gluster-devel or gluster-users teams. Therefor, any suggestions would be grateful. Or have anyone know such issue?</div>
<div><br></div><div>Best regards,</div><div>Jaden Liang</div><div>9/2/2014</div><br><br>-- <br><div dir="ltr"><div><font face="&#39;courier new&#39;, monospace">Best regards,</font></div><font face="&#39;courier new&#39;, monospace">Jaden Liang</font><br>
</div><br>