<div dir="ltr"><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px">Hi,</div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px">I have tested 3 kinds of distributed replica volume: 4 * 2, 3* 2 and 2*2. I suppose 4 * 2 should achieve the best IOPS, however, their performance seems similar.</div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px">I have tested with &quot;<span style="font-family:arial,sans,sans-serif;font-size:13px"><b>dd if=/dev/zero of=/mnt/glusterfs/block8 bs=128M count=1</b>&quot; and &quot;</span><span style="font-family:arial,sans,sans-serif;font-size:13px"><b>dd if=/dev/zero of=/mnt/glusterfs/block8 bs=32M count=8</b>&quot;. All bricks are on virtual machines,  with same hardware: 2 cores cpu, 8G memory.</span></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><span style="font-family:arial,sans,sans-serif;font-size:13px"><br></span></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px">The following is my volume configuration:</div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><table cellspacing="0" cellpadding="0" dir="ltr" border="1" style="table-layout:fixed;font-size:13px;font-family:arial,sans,sans-serif;border-collapse:collapse;border:1px solid rgb(204,204,204)"><colgroup><col width="282"></colgroup><tbody><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Volume Name: rep4</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Type: Distributed-Replicate</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Volume ID: b2ad2871-cfad-4f2c-afdb-38c2c4d6239c</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Status: Started</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Number of Bricks: 2 x 2 = 4</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Transport-type: tcp</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Bricks:</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick1: 192.168.16.145:/home/vagrant/rep4</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick2: 192.168.16.146:/home/vagrant/rep4</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick3: 192.168.16.82:/home/vagrant/rep4</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick4: 192.168.16.114:/home/vagrant/rep4</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom"></td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Volume Name: rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Type: Distributed-Replicate</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Volume ID: 2cbcefce-da7a-4823-aee7-432c40f3ae55</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Status: Started</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Number of Bricks: 3 x 2 = 6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Transport-type: tcp</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Bricks:</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick1: 192.168.16.49:/home/vagrant/rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick2: 192.168.16.114:/home/vagrant/rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick3: 192.168.16.141:/home/vagrant/rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick4: 192.168.16.145:/home/vagrant/rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick5: 192.168.16.146:/home/vagrant/rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick6: 192.168.16.82:/home/vagrant/rep6</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom"></td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Volume Name: rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Type: Distributed-Replicate</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Volume ID: ea<span style="border-bottom:1px dashed rgb(204,204,204)">77934</span>c-bd5d-4578-8b39-c<span style="border-bottom:1px dashed rgb(204,204,204)">02402</span>d<span style="border-bottom:1px dashed rgb(204,204,204)">00739</span></td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Status: Started</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Number of Bricks: 4 x 2 = 8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Transport-type: tcp</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Bricks:</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick1: 192.168.16.145:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick2: 192.168.16.146:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick3: 192.168.16.114:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick4: 192.168.16.82:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick5: 192.168.16.141:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick6: 192.168.16.49:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick7: 192.168.16.144:/home/vagrant/rep8</td></tr><tr style="height:21px"><td style="font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:12px;padding:2px 3px;vertical-align:bottom">Brick8: 192.168.16.112:/home/vagrant/rep8</td></tr></tbody></table></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px">According to &quot;<a href="http://moo.nac.uci.edu/~hjm/Performance_in_a_Gluster_Systemv6F.pdf" target="_blank" style="outline:none;color:rgb(30,84,148)">http://moo.n<wbr>ac.uci.edu/~<wbr>hjm/Performa<wbr>nce_in_a_Glu<wbr>ster_Systemv<wbr>6F.pdf</a>&quot;,</div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><i>&gt; To scale out performance, enterprises need simply add additional storage server nodes, and will generally see linear performance improvements.</i></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px">I wonder how can I achieve  linear performance improvements? Have I tested in the wrong way?</div><div style="color:rgb(0,0,0);font-family:&quot;lucida grande&quot;,verdana,&quot;microsoft yahei&quot;;font-size:14px"><br></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:verdana;font-size:small;line-height:20.9091px">Regards</span></div><span style="color:rgb(0,0,0);font-family:verdana;font-size:small;line-height:20.9091px">Harry(Haoyuan) Ge</span><br></div></div></div></div></div></div></div>
</div>