<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ΢ÈíÑźÚ; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;">Hi all£º</div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"> I do the following test£º</div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"> <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">I create a glusterfs </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">replica volume (replica count is 2 ) with two server node(server A and server B)£¬use XFS as the underlying filesystem£¬ then mount the volume in client node£¬</span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span style="line-height: 1.5;"> then£¬ I s</span><span style="line-height: 24px;">hut down the network of server A node£¬ in client node£¬ I copy a dir£¨which has a</span><span style="line-height: 24px;"> lot of small files</span><span style="line-height: 24px;">£©£¬ the dir size is <b>2.9GByte£¬</b></span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"> when copy finish£¬ I unmount the volume from the client£¬ then I start the network of server A node£¬ now£¬ glusterfs self-heal-daemon start heal dir from server B to server A£¬ </span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"> in the end£¬ I find the self-heal-daemon heal the dir <b>use 40 m</b></span><span style="line-height: 19.1875px;"><b>inutes£¬ </b> </span><span style="line-height: 24px;"><b>It's too slow£¡ why£¿</b></span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"><b><br></b></span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"> I </span><span style="line-height: 24px;"> </span><span style="line-height: 24px;">find out r</span><span style="line-height: 19.1875px;">elated</span><span style="line-height: 24px;"> options with self-heal£¬ as follow£º</span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><b><span style="line-height: 24px;"> </span><span style="line-height: 1.5;">cluster.self-heal-window-size</span></b></div><span style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><b></b></span><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><b> <span style="text-align: justify; text-indent: 21pt; line-height: 1.5;">cluster.self-heal-readdir-size</span></b></div><span style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><b> <span lang="X-NONE">cluster.background-self-heal-count</span></b></span></div><div><font face="΢ÈíÑźÚ, Tahoma"><span style="line-height: normal;"><b><br></b></span></font></div><div><font face="΢ÈíÑźÚ, Tahoma"><span style="line-height: normal;"><b> </b></span></font></div><div><font face="΢ÈíÑźÚ, Tahoma"><span style="line-height: normal;"><b> then I config :</b></span></font></div><div><b style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"> </span><span style="line-height: 1.5;">cluster.self-heal-window-size is 1024(max value)</span></b></div><div><font face="΢ÈíÑźÚ, Tahoma"><b> <span lang="EN-US">cluster.self-heal-readdir-size is 131072(max value)</span></b></font></div><div><font face="΢ÈíÑźÚ, Tahoma"><b> </b></font></div><div><b><font face="΢ÈíÑźÚ, Tahoma"> and then do the same test case, find this times heal the dir use 35 minutes, </font></b><span style="line-height: 24px;"><font face="΢ÈíÑźÚ, Tahoma"><b>The effective is not obvious, </b></font></span></div><div><font face="΢ÈíÑźÚ, Tahoma"><b> <br></b></font><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><b><br></b></div><div style="line-height: normal;"><span style="font-family: ΢ÈíÑźÚ, Tahoma;"> </span><font face="΢ÈíÑźÚ, Tahoma"><b> I want to ask, <span style="line-height: 24px;">If there are better ways to improve replica volume self heal lots of small file </span><a class="clickable js-inline-clickable" style="line-height: 24px; margin: 0px; padding: 0px; border: 0px; outline: 0px; cursor: pointer;">performance??</a></b></font></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"> </span></div><div style="font-family: ΢ÈíÑźÚ, Tahoma; line-height: normal;"><span style="line-height: 24px;"> thanks£¡</span></div></div></div><div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>justglusterfs@gmail.com</div></div></span></div>
</body></html>