Stueckchen
Experte
Thread Starter
- Mitglied seit
- 29.03.2017
- Beiträge
- 437
Habe bei mir etwas Probleme mit LACP.
Wollte die Bandbreite zwischen meinem VM-Server (Proxmox) und meinem LAN bzw. Backupserver (Debian) erhöhen. Das LACP einen einzelnen Stream nicht Beschleunigt und das es wirklich 2*1G statt 1*2G sind ist mir klar. Aber wenn das Backup läuft und man gleichzeitig noch was auf dem VM-Server macht sollten ja insgesammt mehr als ~115mb/s durchsatz drinnen sein, sind es aber nicht. Bei 112mb/s ist Schluss.
Vll kann mir jemand hier helfen den Fehler zu finden.
Das Ganze sollte so ausschauen:
<Server>==LACP==<UniFi-Switch>==LACP==<Backup>
Der Server hat eine Fujitsu Dualport Karte bekommen (I350-AM2).
Mein Backupserver hat zwei Nic's Realtek und Intel.
Mein PC hätte auch noch 2 Intel Nic's und habe da auch das Teaming ohne erfolg getestet.
Unifi-Switch ist nur ein 8-Port, aber laut CLI und GUI hat das Aggregieren hier auch geklappt.
Iperf gibt folgendes aus:
Server
Backup
Wollte die Bandbreite zwischen meinem VM-Server (Proxmox) und meinem LAN bzw. Backupserver (Debian) erhöhen. Das LACP einen einzelnen Stream nicht Beschleunigt und das es wirklich 2*1G statt 1*2G sind ist mir klar. Aber wenn das Backup läuft und man gleichzeitig noch was auf dem VM-Server macht sollten ja insgesammt mehr als ~115mb/s durchsatz drinnen sein, sind es aber nicht. Bei 112mb/s ist Schluss.
Vll kann mir jemand hier helfen den Fehler zu finden.
Das Ganze sollte so ausschauen:
<Server>==LACP==<UniFi-Switch>==LACP==<Backup>
Der Server hat eine Fujitsu Dualport Karte bekommen (I350-AM2).
Mein Backupserver hat zwei Nic's Realtek und Intel.
Mein PC hätte auch noch 2 Intel Nic's und habe da auch das Teaming ohne erfolg getestet.
Unifi-Switch ist nur ein 8-Port, aber laut CLI und GUI hat das Aggregieren hier auch geklappt.
Iperf gibt folgendes aus:
Code:
iperf3 -c 192.168.0.199 -P3 -R
Connecting to host 192.168.0.199, port 5201
Reverse mode, remote host 192.168.0.199 is sending
[ 4] local 192.168.0.250 port 43008 connected to 192.168.0.199 port 5201
[ 6] local 192.168.0.250 port 43010 connected to 192.168.0.199 port 5201
[ 8] local 192.168.0.250 port 43012 connected to 192.168.0.199 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 45.5 MBytes 382 Mbits/sec
[ 6] 0.00-1.00 sec 44.2 MBytes 371 Mbits/sec
[ 8] 0.00-1.00 sec 22.9 MBytes 192 Mbits/sec
[SUM] 0.00-1.00 sec 113 MBytes 945 Mbits/sec
Server
Code:
root@majestix:~# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: 00:19:99:e2:eb:46
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 9
Partner Key: 68
Partner Mac Address: f0:9f:c2:1d:07:d8
Slave Interface: enp1s0f0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:19:99:e2:eb:46
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: 00:19:99:e2:eb:46
port key: 9
port priority: 255
port number: 1
port state: 61
details partner lacp pdu:
system priority: 32768
system mac address: f0:9f:c2:1d:07:d8
oper key: 68
port priority: 128
port number: 5
port state: 61
Slave Interface: enp1s0f1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:19:99:e2:eb:47
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: 00:19:99:e2:eb:46
port key: 9
port priority: 255
port number: 2
port state: 61
details partner lacp pdu:
system priority: 32768
system mac address: f0:9f:c2:1d:07:d8
oper key: 68
port priority: 128
port number: 6
port state: 61
Backup
Code:
root@h340:~# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: d0:50:99:71:20:70
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 9
Partner Key: 67
Partner Mac Address: f0:9f:c2:1d:07:d8
Slave Interface: enp3s0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: d0:50:99:71:20:70
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: d0:50:99:71:20:70
port key: 9
port priority: 255
port number: 1
port state: 61
details partner lacp pdu:
system priority: 32768
system mac address: f0:9f:c2:1d:07:d8
oper key: 67
port priority: 128
port number: 4
port state: 61
Slave Interface: enp1s0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1b:21:63:27:f4
Slave queue ID: 0
Aggregator ID: 1
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
system priority: 65535
system mac address: d0:50:99:71:20:70
port key: 9
port priority: 255
port number: 2
port state: 61
details partner lacp pdu:
system priority: 32768
system mac address: f0:9f:c2:1d:07:d8
oper key: 67
port priority: 128
port number: 3
port state: 61