Why is infiniband (20GB) as slow as ethernet?
Raid-Controller is: 3WARE 9650SE-16ML + 3WARE 9750-8i
Raid-Controller is: 3WARE 9650SE-16ML + 3WARE 9750-8i
Code:
Every 2.0s: cat /proc/drbd Sun May 27 22:18:47 2012
version: 8.3.10 (api:88/proto:86-96)
GIT-hash: 5c0b0469666682443d4785d90a2c603378f9017b build by phil@fat-tyre, 2011-01-28 12:17:35
0: cs:SyncSource ro:Primary/Primary ds:UpToDate/Inconsistent C r-----
ns:8100984 nr:0 dw:0 dr:8101184 al:0 bm:494 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:3487757196
[>....................] sync'ed: 0.3% (3406012/3413920)M
finish: 733:57:20 speed: 1,304 (1,280) K/sec
2: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C r-----
ns:5719040 nr:0 dw:0 dr:5719240 al:0 bm:349 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:5220203740
[>....................] sync'ed: 0.2% (5097852/5103440)M
finish: 1115:25:41 speed: 1,296 (1,280) K/sec
Code:
:~# dmesg | grep ib
[..]
ib_mthca: Mellanox InfiniBand HCA driver v1.0 (April 4, 2008)
ib_mthca: Initializing 0000:09:00.0
[..]
# cat /sys/class/infiniband/mthca0/ports/1/rate
20 Gb/sec (4X DDR)
# ibstat
root@x701:~# ibstat
CA 'mthca0'
CA type: MT25208 (MT23108 compat mode)
Number of ports: 2
Firmware version: 4.7.600
Hardware version: a0
Node GUID: 0x0002c9020024e414
System image GUID: 0x0002c9020024e417
Port 1:
State: Active
Physical state: LinkUp
Rate: 20
Base lid: 1
LMC: 0
SM lid: 1
Capability mask: 0x02510a6a
Port GUID: 0x0002c9020024e415
Port 2:
State: Down
Physical state: Polling
Rate: 10
Base lid: 0
LMC: 0
SM lid: 0
Capability mask: 0x02510a6a
Port GUID: 0x0002c9020024e416
Code:
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 80.190.120.8
netmask 255.255.255.0
gateway 80.190.120.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto ib0
iface ib0 inet static
address 10.10.10.8
netmask 255.255.255.0
pre-up modprobe ib_ipoib
pre-up echo connected > /sys/class/net/ib0/mode
mtu 65520
auto eth2
iface eth2 inet static
address 10.10.11.8
netmask 255.255.255.0