SlideShare a Scribd company logo
1 of 13
Download to read offline
Evolving New SR-IOV
                    Configuration Tools
                                    Mitch Williams
                         Intel LAN Access Division




Intel® Ethernet
SR-IOV in One Minute
           VM1                       VM2                         VMn
           PV DD                    PV DD                       PV DD



    VMM
                             Virtual Switch




    NIC HW




                              Network




       Emulated NICs




         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
2   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
SR-IOV in One Minute
           VM1                       VM2                         VMn                         VM1         VM2       VMn
           PV DD                    PV DD                       PV DD                        PV DD      PV DD     NIC DD



    VMM                                                                                    VMM
                             Virtual Switch                                                      Virtual Switch



    NIC HW                                                                                 NIC HW                 VT-D
                                                                                                                  NIC




                              Network                                                                Network




       Emulated NICs                                                                       Direct Assigned NIC




         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
3   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
SR-IOV in One Minute
           VM1                       VM2                         VMn                         VM1         VM2       VMn           VM1       VM2         VMn
           PV DD                    PV DD                       PV DD                        PV DD      PV DD     NIC DD         VF DD     VF DD       VF DD



    VMM                                                                                    VMM
                                                                                                                           VMM
                             Virtual Switch                                                      Virtual Switch


                                                                                                                                   VF1      VF2         VFn
                                                                                                                           SR
    NIC HW                                                                                 NIC HW                 VT-D     IOV

                                                                                                                  NIC                     NIC Switch
                                                                                                                            NIC (PF)



                              Network                                                                Network                             Network




       Emulated NICs                                                                       Direct Assigned NIC                           SR-IOV




         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
4   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
Intel SR-IOV NICs
    • Intel® 82576 Gigabit Ethernet Controller
                – Up to 8 VFs per port
                – Dual Port / Quad Port
                – Copper / Fiber / Backplane
                – igb / igbvf driver
                – Upstream kernel / RHEL 5.4 / XCP 0.1.1



    • Intel® 82599 10 Gigabit Ethernet Controller
                – Up to 64 VFs per port
                – Single Port / Dual Port
                – Copper / Fiber / DA / Backplane
                – ixgbe / ixgbevf
                – Upstream kernel


         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
5   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
Mitch’s SR-IOV Pain
    • MAC addresses assigned randomly
                – Reassigned each time host reboots
                – Causes net device proliferation in VMs
                – Annoying for DHCP users
                – FATAL for fixed IP addresses




         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
6   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
Mitch’s SR-IOV Pain
    • MAC addresses assigned randomly
                – Reassigned each time host reboots
                – Causes net device proliferation in VMs
                – Annoying for DHCP users
                – FATAL for fixed IP addresses
                                                                                            Intel Test Subject
                                                                                                  #796:
                                                                                              Seen here using
                                                                                            fixed IP addresses
                                                                                               with SR-IOV.


                                                                                           Results Inconclusive.




         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
7   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
Mitch’s SR-IOV Pain Reliever
    • Step 1: Have a meeting
    • Step 2: Send a flurry of email
    • Step 3: Fix it!
                – Kernel PCI subsystem
                – Kernel netdevice layer
                – Kernel RT-netlink interface
                – igb driver
                – iproute2 package (AKA the “ip” command)




         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
8   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
How It Works
    root@avec:~# ip link show
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
        link/ether 00:30:48:cc:6d:ee brd ff:ff:ff:ff:ff:ff
        vf 0: MAC ee:d4:38:30:91:14
        vf 1: MAC 2a:da:93:d7:7d:ec
        vf 2: MAC aa:c6:38:a5:8b:a5
        vf 3: MAC 4a:d2:64:7c:a8:17
    root@avec:~# ip link set dev eth0 vf 0 mac 00:11:22:33:44:55
    root@avec:~# ip link set dev eth0 vf 0 vlan 10
    root@avec:~# ip link show
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
        link/ether 00:30:48:cc:6d:ee brd ff:ff:ff:ff:ff:ff
        vf 0: MAC 00:11:22:33:44:55, vlan 10
        vf 1: MAC 2a:da:93:d7:7d:ec
        vf 2: MAC aa:c6:38:a5:8b:a5
        vf 3: MAC 4a:d2:64:7c:a8:17
    root@avec:~#



         Intel® Ethernet
    *Other names and brands may be claimed as the property of others
9   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
    for planning purposes only and are subject to change without notice.
Other Pain-Reducing Features
     • VF VLAN setting
                 – Put a VF on VLAN, without the VM noticing


     • TX Rate Limiting
                 – Set max transmit rate in MBps
                 – Coming soon…




          Intel® Ethernet
     *Other names and brands may be claimed as the property of others
10   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
     for planning purposes only and are subject to change without notice.
Near Term Needs Part 1
     • 10 Gig Support
                 – Done, in validation
                 – Plan for submittal to 2.6.35
     • Update Distros
                 – Backport patches to XCP and RHEL 6
                 – Add support to VM management tools
     • Add Migration Support
                 – Use channel bonding + hotplug in guests
                 – Add (more) support to VM management tools




          Intel® Ethernet
     *Other names and brands may be claimed as the property of others
11   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
     for planning purposes only and are subject to change without notice.
Near-Term Needs Part 2
     • VMs with emulated NICs
       can’t talk to VMs with VF
                                                                                                       VMA        VMB            VM1       VM2       VMn
       NICs.                                                                                           VNIC       VNIC           VF DD     VF DD     VF DD


     • Need to add MAC
                                                                                            VMM           Virtual Switch
       addresses of emulated
       NICs to PF NIC switch.                                                                                              SR
                                                                                                                                   VF1         VF2    VFn



     • No mechanism in place for
                                                                                                                           IOV

                                                                                                                                  NIC Switch

       this.                                                                                NIC (PF)



                                                                                                                                         Network




          Intel® Ethernet
     *Other names and brands may be claimed as the property of others
12   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
     for planning purposes only and are subject to change without notice.
Call For Comments
     • Please help us!
     • What do you need to make SR-IOV work for you?
     • What do you want to make SR-IOV easy for you?

     • mitch.a.williams@intel.com
     • gregory.v.rose@intel.com




          Intel® Ethernet
     *Other names and brands may be claimed as the property of others
13   Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary,
     for planning purposes only and are subject to change without notice.

More Related Content

What's hot

Matching Cisco and System p
Matching Cisco and System pMatching Cisco and System p
Matching Cisco and System pAndrey Klyachkin
 
Multiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power SystemsMultiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power SystemsAndrey Klyachkin
 
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...Ryousei Takano
 
Keynote Speech: Xen ARM Virtualization
Keynote Speech: Xen ARM VirtualizationKeynote Speech: Xen ARM Virtualization
Keynote Speech: Xen ARM VirtualizationThe Linux Foundation
 
IBM System Networking Easy Connect Mode
IBM System Networking Easy Connect ModeIBM System Networking Easy Connect Mode
IBM System Networking Easy Connect ModeIBM System Networking
 
Presentation power vm common 2012
Presentation   power vm common 2012Presentation   power vm common 2012
Presentation power vm common 2012solarisyougood
 
Presentation power vm virtualization without limits
Presentation   power vm virtualization without limitsPresentation   power vm virtualization without limits
Presentation power vm virtualization without limitssolarisyougood
 
Virtual Server 2004 Overview
Virtual Server 2004 OverviewVirtual Server 2004 Overview
Virtual Server 2004 Overviewwebhostingguy
 
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondLinux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondThe Linux Foundation
 
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 CamerasMIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 CamerasMIPI Alliance
 
Hyper V R2 Deep Dive
Hyper V R2 Deep DiveHyper V R2 Deep Dive
Hyper V R2 Deep DiveAidan Finn
 
AMD Embedded G-Series Press Presentation
AMD Embedded G-Series Press PresentationAMD Embedded G-Series Press Presentation
AMD Embedded G-Series Press PresentationAMD
 
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...The Linux Foundation
 

What's hot (19)

Matching Cisco and System p
Matching Cisco and System pMatching Cisco and System p
Matching Cisco and System p
 
Multiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power SystemsMultiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power Systems
 
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
 
Keynote Speech: Xen ARM Virtualization
Keynote Speech: Xen ARM VirtualizationKeynote Speech: Xen ARM Virtualization
Keynote Speech: Xen ARM Virtualization
 
XS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO EmulationXS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO Emulation
 
IBM System Networking Easy Connect Mode
IBM System Networking Easy Connect ModeIBM System Networking Easy Connect Mode
IBM System Networking Easy Connect Mode
 
Presentation power vm common 2012
Presentation   power vm common 2012Presentation   power vm common 2012
Presentation power vm common 2012
 
I/O Scalability in Xen
I/O Scalability in XenI/O Scalability in Xen
I/O Scalability in Xen
 
Presentation power vm virtualization without limits
Presentation   power vm virtualization without limitsPresentation   power vm virtualization without limits
Presentation power vm virtualization without limits
 
Decision Maker’s Guide
Decision Maker’s GuideDecision Maker’s Guide
Decision Maker’s Guide
 
Virtual Server 2004 Overview
Virtual Server 2004 OverviewVirtual Server 2004 Overview
Virtual Server 2004 Overview
 
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondLinux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
 
XS Boston 2008 Project Status
XS Boston 2008 Project StatusXS Boston 2008 Project Status
XS Boston 2008 Project Status
 
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 CamerasMIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
 
Q7 SoM presentation at FTF India,2011
Q7 SoM presentation at FTF India,2011Q7 SoM presentation at FTF India,2011
Q7 SoM presentation at FTF India,2011
 
Hyper V R2 Deep Dive
Hyper V R2 Deep DiveHyper V R2 Deep Dive
Hyper V R2 Deep Dive
 
LAN v podání Brocade
LAN v podání BrocadeLAN v podání Brocade
LAN v podání Brocade
 
AMD Embedded G-Series Press Presentation
AMD Embedded G-Series Press PresentationAMD Embedded G-Series Press Presentation
AMD Embedded G-Series Press Presentation
 
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
 

Similar to Williams xen summit 2010

Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)hypervnu
 
Hardware assisted Virtualization in Embedded
Hardware assisted Virtualization in EmbeddedHardware assisted Virtualization in Embedded
Hardware assisted Virtualization in EmbeddedThe Linux Foundation
 
Windows Server 8 Hyper V Networking
Windows Server 8 Hyper V NetworkingWindows Server 8 Hyper V Networking
Windows Server 8 Hyper V NetworkingAidan Finn
 
Network policies
Network policiesNetwork policies
Network policiesshanj
 
12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced12 christian ferber xen_server_advanced
12 christian ferber xen_server_advancedDigicomp Academy AG
 
Overview of cryptography and enhancements on z/VSE 4.3
Overview of cryptography and enhancements on z/VSE 4.3Overview of cryptography and enhancements on z/VSE 4.3
Overview of cryptography and enhancements on z/VSE 4.3IBM India Smarter Computing
 
Обновление линеек оборудования CiscoSB
Обновление линеек оборудования CiscoSBОбновление линеек оборудования CiscoSB
Обновление линеек оборудования CiscoSBMUK
 
VMWorld 2009 Presentation
VMWorld 2009 PresentationVMWorld 2009 Presentation
VMWorld 2009 PresentationAhmed Sallam
 
Cloudstack collab talk
Cloudstack collab talkCloudstack collab talk
Cloudstack collab talkMidokura
 
Nic teaming and converged fabric
Nic teaming and converged fabricNic teaming and converged fabric
Nic teaming and converged fabrichypervnu
 
Architecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloudArchitecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloudbradhedlund
 
Presentation from physical to virtual to cloud emc
Presentation   from physical to virtual to cloud emcPresentation   from physical to virtual to cloud emc
Presentation from physical to virtual to cloud emcxKinAnx
 
SR-IOV ixgbe Driver Limitations and Improvement
SR-IOV ixgbe Driver Limitations and ImprovementSR-IOV ixgbe Driver Limitations and Improvement
SR-IOV ixgbe Driver Limitations and ImprovementLF Events
 
Dc tco in_a_nutshell
Dc tco in_a_nutshellDc tco in_a_nutshell
Dc tco in_a_nutshellerjosito
 
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
20141102 VyOS 1.1.0 and NIFTY Cloud New Features20141102 VyOS 1.1.0 and NIFTY Cloud New Features
20141102 VyOS 1.1.0 and NIFTY Cloud New Features雄也 日下部
 

Similar to Williams xen summit 2010 (20)

Windows Server 2012 Hyper-V Networking Evolved
Windows Server 2012 Hyper-V Networking Evolved Windows Server 2012 Hyper-V Networking Evolved
Windows Server 2012 Hyper-V Networking Evolved
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)
 
Link Virtualization based on Xen
Link Virtualization based on XenLink Virtualization based on Xen
Link Virtualization based on Xen
 
Hardware assisted Virtualization in Embedded
Hardware assisted Virtualization in EmbeddedHardware assisted Virtualization in Embedded
Hardware assisted Virtualization in Embedded
 
Windows Server 8 Hyper V Networking
Windows Server 8 Hyper V NetworkingWindows Server 8 Hyper V Networking
Windows Server 8 Hyper V Networking
 
mumbai network diagram
mumbai  network diagrammumbai  network diagram
mumbai network diagram
 
Network policies
Network policiesNetwork policies
Network policies
 
12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced
 
Overview of cryptography and enhancements on z/VSE 4.3
Overview of cryptography and enhancements on z/VSE 4.3Overview of cryptography and enhancements on z/VSE 4.3
Overview of cryptography and enhancements on z/VSE 4.3
 
Обновление линеек оборудования CiscoSB
Обновление линеек оборудования CiscoSBОбновление линеек оборудования CiscoSB
Обновление линеек оборудования CiscoSB
 
VMWorld 2009 Presentation
VMWorld 2009 PresentationVMWorld 2009 Presentation
VMWorld 2009 Presentation
 
Cloudstack collab talk
Cloudstack collab talkCloudstack collab talk
Cloudstack collab talk
 
Making case up
Making case upMaking case up
Making case up
 
Nic teaming and converged fabric
Nic teaming and converged fabricNic teaming and converged fabric
Nic teaming and converged fabric
 
Architecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloudArchitecting data center networks in the era of big data and cloud
Architecting data center networks in the era of big data and cloud
 
Icnd210 s08l03
Icnd210 s08l03Icnd210 s08l03
Icnd210 s08l03
 
Presentation from physical to virtual to cloud emc
Presentation   from physical to virtual to cloud emcPresentation   from physical to virtual to cloud emc
Presentation from physical to virtual to cloud emc
 
SR-IOV ixgbe Driver Limitations and Improvement
SR-IOV ixgbe Driver Limitations and ImprovementSR-IOV ixgbe Driver Limitations and Improvement
SR-IOV ixgbe Driver Limitations and Improvement
 
Dc tco in_a_nutshell
Dc tco in_a_nutshellDc tco in_a_nutshell
Dc tco in_a_nutshell
 
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
20141102 VyOS 1.1.0 and NIFTY Cloud New Features20141102 VyOS 1.1.0 and NIFTY Cloud New Features
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
 

More from The Linux Foundation

ELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleThe Linux Foundation
 
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...The Linux Foundation
 
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...The Linux Foundation
 
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...The Linux Foundation
 
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather ReportThe Linux Foundation
 
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...The Linux Foundation
 
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxThe Linux Foundation
 
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...The Linux Foundation
 
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderThe Linux Foundation
 
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...The Linux Foundation
 
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...The Linux Foundation
 
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixThe Linux Foundation
 
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdThe Linux Foundation
 
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...The Linux Foundation
 
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DThe Linux Foundation
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsThe Linux Foundation
 
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...The Linux Foundation
 
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...The Linux Foundation
 
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...The Linux Foundation
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEThe Linux Foundation
 

More from The Linux Foundation (20)

ELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made Simple
 
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
 
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
 
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
 
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather Report
 
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
 
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
 
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
 
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
 
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
 
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
 
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
 
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
 
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
 
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
 
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
 
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
 

Williams xen summit 2010

  • 1. Evolving New SR-IOV Configuration Tools Mitch Williams Intel LAN Access Division Intel® Ethernet
  • 2. SR-IOV in One Minute VM1 VM2 VMn PV DD PV DD PV DD VMM Virtual Switch NIC HW Network Emulated NICs Intel® Ethernet *Other names and brands may be claimed as the property of others 2 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 3. SR-IOV in One Minute VM1 VM2 VMn VM1 VM2 VMn PV DD PV DD PV DD PV DD PV DD NIC DD VMM VMM Virtual Switch Virtual Switch NIC HW NIC HW VT-D NIC Network Network Emulated NICs Direct Assigned NIC Intel® Ethernet *Other names and brands may be claimed as the property of others 3 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 4. SR-IOV in One Minute VM1 VM2 VMn VM1 VM2 VMn VM1 VM2 VMn PV DD PV DD PV DD PV DD PV DD NIC DD VF DD VF DD VF DD VMM VMM VMM Virtual Switch Virtual Switch VF1 VF2 VFn SR NIC HW NIC HW VT-D IOV NIC NIC Switch NIC (PF) Network Network Network Emulated NICs Direct Assigned NIC SR-IOV Intel® Ethernet *Other names and brands may be claimed as the property of others 4 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 5. Intel SR-IOV NICs • Intel® 82576 Gigabit Ethernet Controller – Up to 8 VFs per port – Dual Port / Quad Port – Copper / Fiber / Backplane – igb / igbvf driver – Upstream kernel / RHEL 5.4 / XCP 0.1.1 • Intel® 82599 10 Gigabit Ethernet Controller – Up to 64 VFs per port – Single Port / Dual Port – Copper / Fiber / DA / Backplane – ixgbe / ixgbevf – Upstream kernel Intel® Ethernet *Other names and brands may be claimed as the property of others 5 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 6. Mitch’s SR-IOV Pain • MAC addresses assigned randomly – Reassigned each time host reboots – Causes net device proliferation in VMs – Annoying for DHCP users – FATAL for fixed IP addresses Intel® Ethernet *Other names and brands may be claimed as the property of others 6 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 7. Mitch’s SR-IOV Pain • MAC addresses assigned randomly – Reassigned each time host reboots – Causes net device proliferation in VMs – Annoying for DHCP users – FATAL for fixed IP addresses Intel Test Subject #796: Seen here using fixed IP addresses with SR-IOV. Results Inconclusive. Intel® Ethernet *Other names and brands may be claimed as the property of others 7 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 8. Mitch’s SR-IOV Pain Reliever • Step 1: Have a meeting • Step 2: Send a flurry of email • Step 3: Fix it! – Kernel PCI subsystem – Kernel netdevice layer – Kernel RT-netlink interface – igb driver – iproute2 package (AKA the “ip” command) Intel® Ethernet *Other names and brands may be claimed as the property of others 8 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 9. How It Works root@avec:~# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:30:48:cc:6d:ee brd ff:ff:ff:ff:ff:ff vf 0: MAC ee:d4:38:30:91:14 vf 1: MAC 2a:da:93:d7:7d:ec vf 2: MAC aa:c6:38:a5:8b:a5 vf 3: MAC 4a:d2:64:7c:a8:17 root@avec:~# ip link set dev eth0 vf 0 mac 00:11:22:33:44:55 root@avec:~# ip link set dev eth0 vf 0 vlan 10 root@avec:~# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:30:48:cc:6d:ee brd ff:ff:ff:ff:ff:ff vf 0: MAC 00:11:22:33:44:55, vlan 10 vf 1: MAC 2a:da:93:d7:7d:ec vf 2: MAC aa:c6:38:a5:8b:a5 vf 3: MAC 4a:d2:64:7c:a8:17 root@avec:~# Intel® Ethernet *Other names and brands may be claimed as the property of others 9 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 10. Other Pain-Reducing Features • VF VLAN setting – Put a VF on VLAN, without the VM noticing • TX Rate Limiting – Set max transmit rate in MBps – Coming soon… Intel® Ethernet *Other names and brands may be claimed as the property of others 10 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 11. Near Term Needs Part 1 • 10 Gig Support – Done, in validation – Plan for submittal to 2.6.35 • Update Distros – Backport patches to XCP and RHEL 6 – Add support to VM management tools • Add Migration Support – Use channel bonding + hotplug in guests – Add (more) support to VM management tools Intel® Ethernet *Other names and brands may be claimed as the property of others 11 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 12. Near-Term Needs Part 2 • VMs with emulated NICs can’t talk to VMs with VF VMA VMB VM1 VM2 VMn NICs. VNIC VNIC VF DD VF DD VF DD • Need to add MAC VMM Virtual Switch addresses of emulated NICs to PF NIC switch. SR VF1 VF2 VFn • No mechanism in place for IOV NIC Switch this. NIC (PF) Network Intel® Ethernet *Other names and brands may be claimed as the property of others 12 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.
  • 13. Call For Comments • Please help us! • What do you need to make SR-IOV work for you? • What do you want to make SR-IOV easy for you? • mitch.a.williams@intel.com • gregory.v.rose@intel.com Intel® Ethernet *Other names and brands may be claimed as the property of others 13 Copyright © 2010 Intel Corporation. All products, dates and figures are preliminary, for planning purposes only and are subject to change without notice.