<div dir="ltr">Adding more physical interfaces to a bonded NIC won&#39;t get you more speed for single-stream operations.  To get more performance out of your bonded NIC, you need to run multiple instances of the &quot;dd&quot; command.  <div><br></div><div>A snippet from a good reference article:</div><div>----------------------------------------------------------</div><div><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,Arial,sans-serif;font-size:12px;line-height:18px;background-color:rgb(233,233,233)">Most administrators assume that bonding multiple network cards together instantly results in double the bandwidth and high-availability in case a link goes down. Unfortunately, this is not true.</span><br></div><div>----------------------------------------------------------<br></div><div><br></div><div><a href="http://www.enterprisenetworkingplanet.com/linux_unix/article.php/3850636/Understanding-NIC-Bonding-with-Linux.htm">http://www.enterprisenetworkingplanet.com/linux_unix/article.php/3850636/Understanding-NIC-Bonding-with-Linux.htm</a><br></div><div><br></div><div><br></div><div><br></div><div>-Ron</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 29, 2014 at 9:54 AM, Demeter Tibor <span dir="ltr">&lt;<a href="mailto:tdemeter@itsmart.hu" target="_blank">tdemeter@itsmart.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><br><div>Hi,</div><div><br></div><div>I made short tests with glusterfs and bonding, but I have performance issues.</div><div><br></div><div>Environment:</div><div><br></div><div>- bonding mode=4 (with switch support) or mode=6 </div><div>- centos7</div><div>- vlans</div><div>- two servers with 4 nic/node, one nic on the internet (this is the default route) and 3 nic as bonded interface</div><div>- MTU 9000 on all interface (bondings, vlans, eths, etc), MTU 9216 on the switch ports</div><div>- each host vlan-s can ping each host on the vlan subnets and on the non vlan subnets.</div><div>- the volume uses the bonded vlans as bricks</div><div><br></div><div><p style="margin:0px">[root@node1 lock]# gluster vol info<br> <br>Volume Name: meta<br>Type: Replicate<br>Volume ID: f4d026e7-3edd-442f-9207-f0a849acebf5<br>Status: Started<br>Number of Bricks: 1 x 2 = 2<br>Transport-type: tcp<br>Bricks:<br>Brick1: gs00.itsmart.cloud:/gluster/meta0<br>Brick2: gs01.itsmart.cloud:/gluster/meta1</p></div><div><br></div><div><br></div><div>I did this test:</div><div></div><div><br></div><div><p style="margin:0px">[root@node0 lock]# dd if=/dev/zero of=/mnt/lock/disk bs=1M count=1000 conv=fdatasync<br>1000+0 records in<br>1000+0 records out<br>1048576000 bytes (1,0 GB) copied, 10,3035 s, 102 MB/s</p><p style="margin:0px"><br></p><p style="margin:0px">I compared with local hdd speed tests:</p><p style="margin:0px"><br></p><p style="margin:0px">[root@node0 lock]# dd if=/dev/zero of=/home/disk bs=1M count=1000 conv=fdatasync<br>1000+0 records in<br>1000+0 records out<br>1048576000 bytes (1,0 GB) copied, 3,04411 s, 344 MB/s</p><p style="margin:0px"><br></p><p style="margin:0px">Ok, I mean this is a network based solution, but I think the 100MB/sec is possible with one nic too.</p><p style="margin:0px">I just wondering, maybe my bonding isn&#39;t working fine. </p><p style="margin:0px">What do you think, is it ok? </p><p style="margin:0px"><br></p><p style="margin:0px">The port utilization is minimal, there are two bigger traffic on two ports only.</p><p style="margin:0px"><br></p><p style="margin:0px">Thanks in advance.</p><span class="HOEnZb"><font color="#888888"><p style="margin:0px"><br></p><p style="margin:0px"><br></p><p style="margin:0px">Tibor</p><p style="margin:0px"><br></p><p style="margin:0px"><br></p></font></span></div></div></div><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>