Есть
- гигабитная сеть (2хоста соединены патчкордом) => 1000 Мбит/с
- на каждом хосте 10 RAID (проверено: массив 800МБит/с работает на обоих), здесь затыков нет
Проблема
- Передача файла 600Мбайт за 15 сек (30-40МБайт/с=>до 320МБит/с).
- Где затык? Проблема там где выделено красным? Или все же проблема с RAID-ом?
Ссылки для разборок
- Best practices for KVM (by IBM)
- KVM and libvirt best practices (by WIEERS)
- Using bridged networking with Virt-manager
- How to Maximize virtio-net performance with vhost-net
- Paravirtualized drivers for kvm/Linux
- Работа с виртуальными машинами KVM. Подготовка хост-машины
- FAST Win7 KVM VirtIO{Disk-Net} Install
- Intel Corporation 82578DC Gigabit Network on wildabeast performance machine
- Сравнение драйверов e1000 vs e1000e
- Качаем дрова e1000 & e1000e (last stable)
- Network Security Toolkit (NST v.2.16.)
- bridge stp on/off
- ifplugstatus - инструмент проверки "пульса" канала
Набор пакетов для исследований:
- apt-get –y install bridge-utils ifenslave vlan ifscheme usbutils pciutils nictools-pci net-tools ethtool tcpdump tcptraceroute mii-diag ifplugd
Замечание:
- при использовании ifplugstatus из пакета ifplugd видны сообщения типа SIOCGMIIREG и их описание
- Более подробно здесь: Страницы руководства - ifplugstatus
Исследования:
root@srv-03:~# uname -a
- Linux srv-03 2.6.32-6-pve #1 SMP Fri Nov 4 06:54:05 CET 2011 x86_64 GNU/Linux
root@srv-03:~# mii-tool eth0
- SIOCGMIIREG on eth0 failed: Input/output error
- SIOCGMIIREG on eth0 failed: Input/output error
- eth0: negotiated 1000baseT-FD flow-control, link ok
root@srv-03:~# lspci | grep Eth
- 06:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
- 07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
root@srv-03:~# dmesg | grep "Link is"
- e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
root@srv-03:~# ethtool eth0
- Settings for eth0:
- Supported ports: [ TP ]
- Supported link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Full
- Supports auto-negotiation: Yes
- Advertised link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Full
- Advertised pause frame use: No
- Advertised auto-negotiation: Yes
- Speed: 1000Mb/s
- Duplex: Full
- Port: Twisted Pair
- PHYAD: 1
- Transceiver: internal
- Auto-negotiation: on
- MDI-X: off
- Supports Wake-on: pumbg
- Wake-on: g
- Current message level: 0x00000001 (1)
- Link detected: yes
root@srv-03:~# ethtool -i eth0
- driver: e1000e
- version: 1.6.3-NAPI
- firmware-version: 1.8-0
- bus-info: 0000:06:00.0
root@srv-03:~# ifplugstatus -v eth0
- eth0:
- SIOCETHTOOL: link beat detected
- SIOCGMIIPHY: link beat detected
- Wireless failed.
- IFF_RUNNING: link beat detected
- SIOCDEVPRIVATE failed (Operation not supported)