Ciao a tutti di nuovo ,
sto facendo un pò di prove con nuove configurazioni bonding attraverso la
possibilità che il pacchetto ifenslave mette a disposizione , prendendo le
indicazioni da http://wiki.debian.org/Bonding.
I dubbi sono due :
1) Non vedo incremento di performance sostanziali facendo delle prove di
scarico in ftp
2) Avevo provato il bilanciamento round roubin e ora sto provando con
balance-alb , tuttavia controllo come da sito debian il
/sys/class/net/bond0/bonding/mode
vedo sempre"balance-rr 0"

Questa è la configurazione /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


e questo il risultato di ifconfig :
root@debian1-cq:~# ifconfig
bond0     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)

Rispondere a