FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 04-07-2011, 02:26 PM
Fabio DellaCorte
 
Default bonding

Hello everybody ,i'm tryng to use two network device for improving performance as describe in*http://wiki.debian.org/Bonding*and*http://www.debianadmin.com/linux-ethernet-bonding-configuration.html*.
I have two problem :
1)I don't see performance increase trying with ftp2) i have used*round roubin balance in*in the first test *and now with balance-alb but i still see in*/sys/class/net/bond0/bonding/mode "balance-rr 0"



/etc/interfaces :# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet static
address 10.172.184.13
netmask 255.255.255.224
network 10.172.184.0
gateway 10.172.184.1
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth1
bond_mode 6




ifconfig :


root@debian1-cq:~# ifconfigbond0 * * Link encap:Ethernet *HWaddr 00:14:4f:9e:d6:06 ** * * * * inet addr:10.172.184.13 *Bcast:10.172.184.31 *Mask:255.255.255.224* * * * * inet6 addr: fe80::214:4fff:fe9e:d606/64 Scope:Link


* * * * * UP BROADCAST RUNNING MASTER MULTICAST *MTU:1500 *Metric:1* * * * * RX packets:625306496 errors:0 dropped:6 overruns:0 frame:0* * * * * TX packets:823213450 errors:0 dropped:0 overruns:0 carrier:0


* * * * * collisions:0 txqueuelen:0** * * * * RX bytes:592415237576 (551.7 GiB) *TX bytes:928858996239 (865.0 GiB)
eth0 * * *Link encap:Ethernet *HWaddr 00:14:4f:9e:d6:06 *


* * * * * UP BROADCAST RUNNING SLAVE MULTICAST *MTU:1500 *Metric:1* * * * * RX packets:609856456 errors:0 dropped:6 overruns:0 frame:0* * * * * TX packets:815197760 errors:0 dropped:0 overruns:0 carrier:0


* * * * * collisions:0 txqueuelen:1000** * * * * RX bytes:569739435949 (530.6 GiB) *TX bytes:928287618315 (864.5 GiB)
eth1 * * *Link encap:Ethernet *HWaddr 00:14:4f:9e:d6:06 *


* * * * * UP BROADCAST RUNNING SLAVE MULTICAST *MTU:1500 *Metric:1* * * * * RX packets:15450040 errors:0 dropped:0 overruns:0 frame:0* * * * * TX packets:8015690 errors:0 dropped:0 overruns:0 carrier:0


* * * * * collisions:0 txqueuelen:1000** * * * * RX bytes:22675801627 (21.1 GiB) *TX bytes:571377924 (544.9 MiB)* * * * * Interrupt:22 Base address:0x2000*
lo * * * *Link encap:Local Loopback *


* * * * * inet addr:127.0.0.1 *Mask:255.0.0.0* * * * * inet6 addr: ::1/128 Scope:Host* * * * * UP LOOPBACK RUNNING *MTU:16436 *Metric:1* * * * * RX packets:5274 errors:0 dropped:0 overruns:0 frame:0


* * * * * TX packets:5274 errors:0 dropped:0 overruns:0 carrier:0* * * * * collisions:0 txqueuelen:0** * * * * RX bytes:496326 (484.6 KiB) *TX bytes:496326 (484.6 KiB)
 
Old 04-07-2011, 03:07 PM
Fabio DellaCorte
 
Default bonding

only one

2011/4/7 Leonardo Ruoso <leonardo.ruoso@gmail.com>

2011/4/7 Fabio DellaCorte <iloveyoumaryanna@gmail.com>



i'm tryng to use two network device for improving performance as describe in*http://wiki.debian.org/Bonding*and*http://www.debianadmin.com/linux-ethernet-bonding-configuration.html*.


1)I don't see performance increase trying with ftpHow many simultaneous FTP sessions are you using in your tests?



--


Leonardo Ruoso - Jornalista/DesenvolvedorAssessoria de Imprensa. Consultoria de Marketing.*Desenvolvimento e Integração de Software.*Comunicação Social/Jornalismo - UFC/2006. Telecomunicações - ETFCE/1998.*


Foos, Perl, Debian Gnu/Linux, Agile, UML, DBA e OOP. Coaching/NLP. Inglês e Francês.*http://leonardo.ruoso.com*-*http://www.linkedin.com/in/lruoso
 
Old 04-07-2011, 03:21 PM
"Estelmann, Christian"
 
Default bonding

Try it with some more connections.
(for example "axel -n 4 ftp://....")

For testing, you can slow down your interfaces:
#mii-tool -F 10baseT-FD eth0
#mii-tool -F 10baseT-FD eth1

Did you try "bond_mode balance-alb" instead of "bond_mode 6" in interfaces?


Am 07.04.2011 17:07, schrieb Fabio DellaCorte:

only one

2011/4/7 Leonardo Ruoso <leonardo.ruoso@gmail.com
<mailto:leonardo.ruoso@gmail.com>>


2011/4/7 Fabio DellaCorte <iloveyoumaryanna@gmail.com
<mailto:iloveyoumaryanna@gmail.com>>

i'm tryng to use two network device for improving performance
as describe in http://wiki.debian.org/Bonding and
http://www.debianadmin.com/linux-ethernet-bonding-configuration.html .
1)I don't see performance increase trying with ftp

How many simultaneous FTP sessions are you using in your tests?




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D9DD684.7090903@gmx.net">http://lists.debian.org/4D9DD684.7090903@gmx.net
 

Thread Tools




All times are GMT. The time now is 07:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org