Presentation is loading. Please wait.

Presentation is loading. Please wait.

12/30/2017 8:55 AM Особенности и улучшения работы сети в гипервизоре Windows Server 2008 R2 Панов Никита Технический инженер Microsoft MCP Leader

Similar presentations


Presentation on theme: "12/30/2017 8:55 AM Особенности и улучшения работы сети в гипервизоре Windows Server 2008 R2 Панов Никита Технический инженер Microsoft MCP Leader"— Presentation transcript:

1

2 12/30/2017 8:55 AM Особенности и улучшения работы сети в гипервизоре Windows Server 2008 R2 Панов Никита Технический инженер Microsoft MCP Leader © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 12/30/2017 8:55 AM О чём будем говорить? Обзор пути ввода/вывода данных в сети гипервизора «Бутылочное горлышко» в производительности Virtual Machine Queue Отказоустойчивость сети в Hyper-V NIC Teaming + Failover Демонстрация NIC Teaming © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Hyper-V Network I/O Data Path
12/30/2017 8:55 AM Hyper-V Network I/O Data Path Parent Partition VM1 VM2 Ethernet VM BUS TCP/IP VM NIC 1 VM NIC 2 Virtual Machine Switch NIC Miniport Driver Routing VLAN Filtering Data Copy Port 1 Port 2 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Причины низкой производительности
12/30/2017 8:55 AM Причины низкой производительности На принимающей стороне Парсинг входящих пакетов и их группировка на основе MAC-адреса отправителя Просмотр MAC-адресов и фильтрация VLAN ID Копирование данных из адресного пространства родительской партиции в дочерние Нет масштабирования на несколько процессоров Перегрузка виртуального свича © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Virtual Machine Queues
12/30/2017 8:55 AM Virtual Machine Queues Классифицирование входящих пакетов Парсинг пакетов на уровне «железа» (DMA) Назначение ID для очереди (Queue ID) Группировка принятых пакетов Пакеты группируются по VM NIC VLAN фильтрация на уровне «железа» Пакеты с неправильным VLAN ID сбрасываются на уровне NIC Поддержка нескольких процессоров Каждая очередь обрабатывается своим процессором Shared Memory (опционально) Копирование данных из Parent Partition непосредственно в память © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Virtual Machine Switch
12/30/2017 8:55 AM Так работает VMQ Parent Partition VM1 VM2 Ethernet VM BUS TCP/IP VM NIC 1 VM NIC 2 Virtual Machine Switch Miniport Driver Q1 Default Queue Q2 Routing VLAN filtering Data Copy Port 1 Port 2 NIC © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Преимущества VMQ VMQ увеличивает пропускную способность сети
12/30/2017 8:55 AM Преимущества VMQ VMQ увеличивает пропускную способность сети Распределяет обработку сетевого трафика нескольких ВМ между несколькими процессорами VMQ снижает нагрузку на CPU Классификация пакетов выполняется на уровне «железа» Использование Shared Memory (non-Nahalem) Нет необходимости вычислять маршрут (у каждого пакета есть ID) VMQ поддерживает Enhanced Task Offloads Поддержка Live Migration © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Эффективность VMQ + Shared Memory
12/30/2017 8:55 AM Эффективность VMQ + Shared Memory © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 12/30/2017 8:55 AM Управление VMQ Ключи Значения Действие *VMQ Enabled/disabled (enabled by default) Controls whether the NIC advertises VMQ capability *VMQLookaheadSplit Controls whether the NIC advertises Lookahead Split capability *VMQVlanFiltering Controls whether the NIC advertises the ability to support VLAN filtering High-Speed Networking deployment guide можете скачать отсюда: © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Ошибка в Deployment Guide
12/30/2017 8:55 AM Ошибка в Deployment Guide reg add  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMSMP\Parameters /v BelowTenGigVmqEnabled /t REG_DWORD /d 1 /f reg add  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMSMP\Parameters /v TenGigVmqEnabled /t REG_DWORD /d 1 /f ПРАВИЛЬНО reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMSMP\Parameters\BelowTenGigVmqEnabled /t REG_DWORD /d 1 /f Reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMSMP\Parameters\TenGigVmqEnabled /t REG_DWORD /d 1 /f НЕПРАВИЛЬНО © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Поддержка Jumbo frames
Ethernet фреймы >1,500 байт Стандарт приблизительно ~9k Позволяет передавать в 6 раз больше данных в каждом пакете © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Балансировка нагрузки и отказоустойчивость в Hyper-V
12/30/2017 8:55 AM Балансировка нагрузки и отказоустойчивость в Hyper-V Наиболее востребованная функция Не все решения по балансировке и отказоустойчивости работают в Hyper-V MAC-адрес больше не используется в виртуальном свиче Первое обращение – к вендору! Microsoft официально НЕ поддерживает NIC Teaming NIC Teaming реализуется производителем «железа» © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 NIC Teaming Технология имеет несколько названий:
Ethernet bonding EtherChannel NIC bonding Network Fault Tolerance Trunking и т.д. Но официальное название – IEEE 802.1AX-2008 Или просто Link Aggregation Реализуется производителями оборудования на уровне специального ПО (драйвера) Intel HP Broadcom и т.д. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 12/30/2017 8:55 AM NIC Teaming Суть механизма в объединении нескольких NIC в «связку» (bond) Технология позволяет: Создавать отказоустойчивые сетевые соединения Увеличивать пропускную способность сети Создавать собственные алгоритмы балансировки Минусы технологии: Требуется свич/маршрутизатор с поддержкой протокола LACP (Link Aggregation Control Protocol) Поломка свича приведет к потере отказоустойчивости © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 NIC Teaming + Hyper-V = Failover
Parent Partition VM1 VM2 VM BUS TCP/IP VM NIC 1 VM NIC 2 Virtual Machine Switch NIC 1 Miniport Driver Routing VLAN Filtering Data Copy Port 1 Port 2 NIC 2 LBFO Driver Team NIC Switch © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Демонстрация NIC Teaming + Failover 12/30/2017 8:55 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Инфраструктура Демо: Сервер Hyper-V с 2мя ВМ, запущен ntttcp на приём
12/30/2017 8:55 AM Инфраструктура Демо: Сервер Hyper-V с 2мя ВМ, запущен ntttcp на приём Intel 2-port Kawela (ET) сетевой адаптер Intel’s VMLB mode На сервере W2K8-R2 работают 2 сессии ntttcp на передачу Подключение к ВМ - терминальное W2K8-R2 Hyper-V на W2K8-R2 VM1 x.x.2.3 ntttcpr mstsc mstsc VM2 ntttcps ntttcps VM Switch x.x.1.4 ntttcpr Intel ANS x.x.2.5 x.x.1.6 switch NIC NIC © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Полезные ссылки Сайт Microsoft MPIO: http://www.microsoft.com/mpio
12/30/2017 8:55 AM Полезные ссылки Сайт Microsoft MPIO: Windows Server High Availability с использованием Microsoft MPIO: Microsoft VMQ Deployment Guide Как пользоваться NT Testing TCP Tool (NTttcp): Вопросы по докладу: © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20


Download ppt "12/30/2017 8:55 AM Особенности и улучшения работы сети в гипервизоре Windows Server 2008 R2 Панов Никита Технический инженер Microsoft MCP Leader"

Similar presentations


Ads by Google