Performance Tuning Xen

The Linux Foundation
The Linux FoundationDirector, Open Source Solutions at Citrix
Performance tuning Xen

     Roger Pau Monn´
                   e
    roger.pau@citrix.com



Antwerp – 8th of April, 2013
Xen Architecture    Xen virtualization modes     Support in OSes      Dom0 tunning     Specific VM options   Conclusions



Xen Architecture

                    Control Domain
                    NetBSD or Linux

                                 device model
                                 (qemu)

                                 toolstack              Paravirtualized
                                                             (PV)                 Fully
                                                           Domain:             Virtualized
                                                        NetBSD or Linux          (HVM)
                                                                                Domain:
                      Hardware          netback            netfront            Windows,
                      Drivers           blkback            blkfront            FreeBSD...



                                                                       Xen Hypervisor

                       I/O Devices             CPU             Memory           Hardware


  Antwerp – 8th of April, 2013                                Performance tuning Xen                            2 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Paravirtualization

              Virtualization technique developed in the late 90s
              Designed by:
                      XenoServer research project at Cambridge University
                      Intel
                      Microsoft labs
              x86 instructions behave differently in kernel or user mode,
              options for virtualization were full software emulation or
              binary translation.
                      Design a new interface for virtualization
                      Allow guests to collaborate in virtualization
                      Provide new interfaces for virtualized guests that allow to
                      reduce the overhead of virtualization
              The result of this work is what we know today as
              paravirtualiztion

  Antwerp – 8th of April, 2013                              Performance tuning Xen                            3 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Paravirtualization



              All this changes lead to the following interfaces being
              paravirtualized:
                      Disk and network interfaces
                      Interrupts and timers
                      Boot directly in the mode the kernel wishes to run (32 or
                      64bits)
                      Page tables
                      Privileged instructions




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            4 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Full virtualization




              With the introduction of hardware virtualization extensions
              Xen is able to run unmodified guests
              This requires emulated devices, which are handled by Qemu
              Makes use of nested page tables when available.
              Allows to use PV interfaces if guest has support for them.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            5 / 27
Xen Architecture    Xen virtualization modes   Support in OSes     Dom0 tunning           Specific VM options      Conclusions



The full virtualization spectrum

              VS      Software virtualization                                 Poor performance
              VH      Hardware virtualization                                 Room for improvement
              PV      Paravirtualized                                         Optimal performance




                                                                                                        es ns
                                                                                                 ge str rd
                                                                                                      bl tio
                                                                                                              s

                                                                                                             a
                                                                                                           er

                                                                                                          bo

                                                                                                         uc
                                                                                     tim
                                                                           k




                                                                                        an ge her
                                                                         or
                                                                       tw




                                                                                                   ot
                                                                                   d




                                                                                                   ta
                                                                                               pa in
                                                                                an

                                                                                           m
                                                                      ne




                                                                                           d d
                                                                              ts

                                                                                       ed
                                                                   d

                                                                           up




                                                                                             ile
                                                                 an




                                                                                     at
                                                                         rr




                                                                                          iv
                                                                                   ul
                                                             isk

                                                                       te




                                                                                          Pr
                                                                               Em
                                                                      In
                                 HVM                        D
                                                            VS        VS        VS        VH
                                 HVM with PV drivers        PV        VS        VS        VH
                                 PVHVM                      PV        PV        VS        VH
                                 PV                         PV        PV       PV         PV



  Antwerp – 8th of April, 2013                              Performance tuning Xen                                    6 / 27
Xen Architecture     Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Guest support


              List of OSes and virtualization support:

                                           PV     PVHVM           HVM with PV drivers          HVM
                   Linux (PVOPS)          YES        YES                   YES                  YES
                   Windows                 NO        NO                    YES                  YES
                   NetBSD                 YES        NO                    NO                   YES
                   FreeBSD                 NO        NO                    YES                  YES
                   OpenBSD                 NO        NO                    NO                   YES
                   DragonflyBSD             NO        NO                    NO                   YES




  Antwerp – 8th of April, 2013                               Performance tuning Xen                            7 / 27
Xen Architecture    Xen virtualization modes               Support in OSes          Dom0 tunning         Specific VM options   Conclusions



Kernbench

                                                          Kernbench
                          Results: percentage of native, the lower the better
                    140

                    135

                    130

                    125

                    120

                    115

                    110

                    105

                    100

                     95

                     90
                                             PV on HVM 32 bit                   HVM 32 bit                   PV 32 bit
                          PV on HVM 64 bit                      HVM 64 bit                   PV 64 bit




  Antwerp – 8th of April, 2013                                               Performance tuning Xen                               8 / 27
Xen Architecture    Xen virtualization modes        Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Specjbb2005
                                           SPECjbb2005
                   Results: percentage of native, the higher the better
                     100

                      90

                      80

                      70

                      60

                      50

                      40

                      30

                      20

                      10

                       0
                                        PV 64 bit                            PV on HVM 64 bit




  Antwerp – 8th of April, 2013                                   Performance tuning Xen                            9 / 27
Xen Architecture    Xen virtualization modes          Support in OSes           Dom0 tunning          Specific VM options   Conclusions



Iperf

                                                         Iperf tcp
                        Results: gbit/sec, the higher the better
                    8

                    7

                    6

                    5

                    4

                    3

                    2

                    1

                    0
                          PV 64 bit   PV on HVM 64 bit PV on HVM 32 bit     PV 32 bit    HVM 64 bit      HVM 32 bit




  Antwerp – 8th of April, 2013                                            Performance tuning Xen                               10 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



What virtualization mode should I choose?



              Linux supports several virtualization modes, which one is
              better?
                      Depends on the workload.
              Generally PV mode will provide better performance for IO,
              but when using 64bit guests PV can be slower.
              There isn’t a fixed rule here, the best way to find out is to
              evaluate the workload on the different kind of guests.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            11 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Dom0




              Dom0 is the most important guest in the Xen infraestructure.
              It can become a bottleneck easily if not configured correctly.
              Dom0 is in charge of creating the guests, but usually also
              provides the backends and device models for guests.
              Xen provides some options to tune performance of Dom0




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            12 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



dom0 mem boot option


              dom0 mem tell Xen how much memory can be used by the
              Dom0.
              If not set all memory will be assigned to the Dom0, and
              ballooning will be used when launching new guests, reducing
              the memory used by the Dom0.
              The value should be set depending on the usage, HVM guests
              consume more memory in the Dom0 because they need a
              Qemu instance.
              If dom0 mem is set make sure to disable ballooning in the
              toolstack by setting autoballoon=0 in /etc/xen/xl.conf.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            13 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



dom0 max vcpus and dom0 vcpus pin


              dom0 max vcpus: maximum number of CPUs the Dom0 will
              see, also depends on the utilization of the Dom0 and the type
              of guests.
              dom0 vcpus pin: pinning Dom0 vcpus to physical CPUs is a
              good idea for systems running IO intensive guests.
              Setting up the serial cable: although not important for
              performance, setting up a serial cable is really important when
              debugging. For more info:
              http://wiki.xen.org/wiki/Xen_Serial_Console




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            14 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Dom0 Boot tunning options



              For example if I had to set up a Dom0 on a machine with 8
              CPUs and 8GB of RAM I would use the following boot line:
              com1=115200,8n1 console=com1 dom0 mem=1024M
              dom0 max vcpus=2 dom0 vcpus pin.
              More info about boot parameters can be found at:
              http://xenbits.xen.org/docs/unstable/misc/
              xen-command-line.html.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            15 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



General performance notes



              Always try to use physical disks as backends. Xen has mainly
              two ways of connecting disks to the guest depending on the
              format of the image, if it’s a block device it will be attached
              using blkback, which is inside the Linux kernel and it’s faster.
              Take into account the number of CPUs your physical box has
              and avoid using more VCPUS than PCPUS if running
              performance intensive applications.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            16 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Pinning CPUs

              You can pin VCPUs to PCPUs in order to obtain better
              performance or to distribute the workload across your CPUs
              to suit your needs. For example low latency VMs can be
              exclusively pinned to different PCPUs.
              cpus: allows to select in which CPUs the guest can run. The
              list can also contain specific CPUs where the guest is not
              allowed to run. Specifying ”0-3,5,ˆ1” allows the guest to run
              on CPUs 0,2,3,5.
              If Dom0 is pinned to certain PCPUs avoid running guests on
              those PCPUs to obtain better performance. If Dom0 is pinned
              to CPU 0, use the following CPU mask in order to prevent
              other guests from running on CPU 0: ”ˆ0”.


  Antwerp – 8th of April, 2013                              Performance tuning Xen                            17 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Scheduler options

              The Xen scheduler has several options that can also be
              tunned from the guest configuration file, in order to give a
              certain guest more share from the processor or to schedule it
              more frequently.
              cpu weight: weight of the domain in terms of CPU utilization.
              For example a domain with a weight of 512 will get twice as
              much CPU than a domain with a weight of 256. Values range
              from 1 to 65535.
              cap: fixes the maximum amount of CPU a domain is able to
              consume. Expressed in percentage of one physical CPU. 100
              is one CPU, 50 half a CPU, 400 four CPUs.
              More info can be found at http:
              //xenbits.xen.org/docs/unstable/man/xl.cfg.5.html

  Antwerp – 8th of April, 2013                              Performance tuning Xen                            18 / 27
Xen Architecture    Xen virtualization modes     Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Driver Domains I

                    Control Domain
                    NetBSD or Linux

                                 device model
                                 (qemu)

                                 toolstack                                     Paravirtualized
                                                                                    (PV)
                                                                                  Domain:
                                                                               NetBSD or Linux
                      Hardware          netback                                    netfront
                      Drivers           blkback                                    blkfront




                                                                      Xen Hypervisor

                       I/O Devices             CPU             Memory           Hardware


  Antwerp – 8th of April, 2013                                Performance tuning Xen                            19 / 27
Xen Architecture    Xen virtualization modes     Support in OSes      Dom0 tunning     Specific VM options   Conclusions



Driver Domains II

                    Control Domain
                    NetBSD or Linux

                                 device model
                                 (qemu)

                                 toolstack                                      Paravirtualized
                                                          Driver Domain
                                                                                     (PV)
                                                                                   Domain:
                                                                                NetBSD or Linux
                      Hardware          netback                    netback           netfront
                      Drivers           blkback                    blkback           blkfront




                                                                       Xen Hypervisor

                       I/O Devices             CPU             Memory           Hardware


  Antwerp – 8th of April, 2013                                Performance tuning Xen                            20 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Driver Domains III




              Driver domains allow to offload work normally done in Dom0
              to other domains.
              It also provides better security, less surface for exploits in
              Dom0.
              This is a current work-in-process.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            21 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



HVM specific I



              HVM guest require the usage of assisted paging, in order for
              the guest to see the memory area as contiguous when it’s not.

                      HAP: (Hardware Assisted Paging) is used by default since it
                      tends to perform better under most workloads
                      shadow: was introduced before HAP, and can provide better
                      performance under certain workloads that have low TLB
                      locality (for example databases or java applications).
              Again, the best way to know is to try the workload by yourself.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            22 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



HVM specific II



              HVM domains require a Qemu instance in Dom0 to perform
              the necessary device emulation.
              This might be a bottleneck if running a lot of HVM domains
              in the same node, since each one requires a Qemu instance
              running in Dom0 that uses both Dom0 CPU and Memory.
              To avoid this, we can launch the Qemu process in a different
              domain called ”Stubdomain”.
              This allows to offload work from Dom0.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            23 / 27
Xen Architecture    Xen virtualization modes     Support in OSes    Dom0 tunning        Specific VM options   Conclusions



HVM specific III

                    Control Domain
                    NetBSD or Linux

                                 device model
                                 (qemu)
                                                                                          Fully
                                 toolstack                                             Virtualized
                                                                                         (HVM)
                                                                                        Domain:
                                                                                       Windows,
                                                                                       FreeBSD...
                      Hardware          netback
                      Drivers           blkback




                                                                      Xen Hypervisor

                       I/O Devices             CPU             Memory           Hardware


  Antwerp – 8th of April, 2013                                Performance tuning Xen                             24 / 27
Xen Architecture    Xen virtualization modes     Support in OSes      Dom0 tunning      Specific VM options   Conclusions



HVM specific IV

                    Control Domain
                    NetBSD or Linux

                                 device model
                                 (qemu)
                                                                                          Fully
                                 toolstack                   stubdomain                Virtualized
                                                                                         (HVM)
                                                                   MiniOS               Domain:
                                                                   Qemu                Windows,
                                                                                       FreeBSD...
                      Hardware          netback
                      Drivers           blkback




                                                                       Xen Hypervisor

                       I/O Devices             CPU             Memory           Hardware


  Antwerp – 8th of April, 2013                                Performance tuning Xen                             25 / 27
Xen Architecture    Xen virtualization modes   Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Conclusions



              Xen offers a wide variety of virtualization modes.
              The best way to know which mode will bring better
              performance is to try it, although there are several tips that
              apply to all guests.
              We are constantly working on performance improvements, so
              keep updated in order to get the best performance.




  Antwerp – 8th of April, 2013                              Performance tuning Xen                            26 / 27
Xen Architecture     Xen virtualization modes    Support in OSes    Dom0 tunning       Specific VM options   Conclusions



Q&A




                                                  Thanks
                                                Questions?
                   http://wiki.xen.org/wiki/Xen_Best_Practices
                   http://wiki.xen.org/wiki/Xen_Common_Problems




  Antwerp – 8th of April, 2013                                Performance tuning Xen                            27 / 27
1 de 27

Recomendados

LFCOLLAB15: Xen 4.5 and Beyond por
LFCOLLAB15: Xen 4.5 and BeyondLFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and BeyondThe Linux Foundation
43.2K vistas51 diapositivas
LF Collaboration Summit: Xen Project 4 4 Features and Futures por
LF Collaboration Summit: Xen Project 4 4 Features and FuturesLF Collaboration Summit: Xen Project 4 4 Features and Futures
LF Collaboration Summit: Xen Project 4 4 Features and FuturesThe Linux Foundation
323.4K vistas39 diapositivas
OWF: Xen - Open Source Hypervisor Designed for Clouds por
OWF: Xen - Open Source Hypervisor Designed for CloudsOWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for CloudsThe Linux Foundation
67.8K vistas45 diapositivas
Using and Understanding Xen4Centos por
Using and Understanding Xen4CentosUsing and Understanding Xen4Centos
Using and Understanding Xen4CentosThe Linux Foundation
4K vistas17 diapositivas
BSDcon Asia 2015: Xen on FreeBSD por
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDThe Linux Foundation
5K vistas33 diapositivas
S4 xen hypervisor_20080622 por
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
7.5K vistas111 diapositivas

Más contenido relacionado

La actualidad más candente

Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP por
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPThe Linux Foundation
3.9K vistas35 diapositivas
LinuxCon Japan 13 : 10 years of Xen and Beyond por
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondThe Linux Foundation
451.5K vistas54 diapositivas
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek por
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekXen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekThe Linux Foundation
101.3K vistas36 diapositivas
XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ... por
XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ...XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ...
XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ...The Linux Foundation
3.3K vistas57 diapositivas
Securing your cloud with Xen's advanced security features por
Securing your cloud with Xen's advanced security featuresSecuring your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security featuresThe Linux Foundation
106.4K vistas28 diapositivas
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek por
Securing Your Cloud With the Xen Hypervisor by Russell PavlicekSecuring Your Cloud With the Xen Hypervisor by Russell Pavlicek
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicekbuildacloud
1.3K vistas65 diapositivas

La actualidad más candente(20)

Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP por The Linux Foundation
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
The Linux Foundation3.9K vistas
LinuxCon Japan 13 : 10 years of Xen and Beyond por The Linux Foundation
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and Beyond
The Linux Foundation451.5K vistas
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek por The Linux Foundation
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekXen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
The Linux Foundation101.3K vistas
XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ... por The Linux Foundation
XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ...XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ...
XPDS14: Xen and the Art of Certification - Nathan Studer & Robert VonVossen, ...
The Linux Foundation3.3K vistas
Securing your cloud with Xen's advanced security features por The Linux Foundation
Securing your cloud with Xen's advanced security featuresSecuring your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security features
The Linux Foundation106.4K vistas
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek por buildacloud
Securing Your Cloud With the Xen Hypervisor by Russell PavlicekSecuring Your Cloud With the Xen Hypervisor by Russell Pavlicek
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
buildacloud1.3K vistas
LCEU13: Securing your cloud with Xen's advanced security features - George Du... por The Linux Foundation
LCEU13: Securing your cloud with Xen's advanced security features - George Du...LCEU13: Securing your cloud with Xen's advanced security features - George Du...
LCEU13: Securing your cloud with Xen's advanced security features - George Du...
The Linux Foundation195.3K vistas
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel por The Linux Foundation
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, IntelXPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
The Linux Foundation3.6K vistas
Bare-Metal Hypervisor as a Platform for Innovation por The Linux Foundation
Bare-Metal Hypervisor as a Platform for InnovationBare-Metal Hypervisor as a Platform for Innovation
Bare-Metal Hypervisor as a Platform for Innovation
The Linux Foundation3.7K vistas
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session por The Linux Foundation
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary sessionLinaro Connect Asia 13 : Citrix - Xen on ARM plenary session
Linaro Connect Asia 13 : Citrix - Xen on ARM plenary session
The Linux Foundation2.3K vistas
Windsor: Domain 0 Disaggregation for XenServer and XCP por The Linux Foundation
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
The Linux Foundation6.4K vistas

Destacado

OSCON14: Mirage 2.0 por
OSCON14: Mirage 2.0 OSCON14: Mirage 2.0
OSCON14: Mirage 2.0 The Linux Foundation
44.5K vistas29 diapositivas
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14 por
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14The Linux Foundation
10.4K vistas63 diapositivas
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &... por
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...The Linux Foundation
25.9K vistas28 diapositivas
Xen and the art of embedded virtualization (ELC 2017) por
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Stefano Stabellini
25.9K vistas33 diapositivas
Virtualization Architecture & KVM por
Virtualization Architecture & KVMVirtualization Architecture & KVM
Virtualization Architecture & KVMPradeep Kumar
33.4K vistas57 diapositivas
OSCON16: Analysis of the Xen code review process: An example of software deve... por
OSCON16: Analysis of the Xen code review process: An example of software deve...OSCON16: Analysis of the Xen code review process: An example of software deve...
OSCON16: Analysis of the Xen code review process: An example of software deve...The Linux Foundation
31.5K vistas52 diapositivas

Destacado(9)

Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14 por The Linux Foundation
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
Xen: Hypervisor for the Cloud from Frontier Meetup Mountain View CA 2013-10-14
The Linux Foundation10.4K vistas
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &... por The Linux Foundation
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...
The Linux Foundation25.9K vistas
Xen and the art of embedded virtualization (ELC 2017) por Stefano Stabellini
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)
Stefano Stabellini25.9K vistas
Virtualization Architecture & KVM por Pradeep Kumar
Virtualization Architecture & KVMVirtualization Architecture & KVM
Virtualization Architecture & KVM
Pradeep Kumar33.4K vistas
OSCON16: Analysis of the Xen code review process: An example of software deve... por The Linux Foundation
OSCON16: Analysis of the Xen code review process: An example of software deve...OSCON16: Analysis of the Xen code review process: An example of software deve...
OSCON16: Analysis of the Xen code review process: An example of software deve...
The Linux Foundation31.5K vistas
Xen Project Release and Roadmap Process (4.7+) por The Linux Foundation
Xen Project Release and Roadmap Process (4.7+)Xen Project Release and Roadmap Process (4.7+)
Xen Project Release and Roadmap Process (4.7+)
The Linux Foundation38.4K vistas
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM por vwchu
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMHypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
vwchu45.8K vistas
virtualization and hypervisors por Gaurav Suri
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisors
Gaurav Suri42.3K vistas

Similar a Performance Tuning Xen

4 implementation por
4 implementation4 implementation
4 implementationhanmya
404 vistas11 diapositivas
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments por
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud DeploymentsPuppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud DeploymentsPuppet
901 vistas18 diapositivas
Windows 2008 R2 Virtualization por
Windows 2008  R2  VirtualizationWindows 2008  R2  Virtualization
Windows 2008 R2 VirtualizationEduardo Castro
1.4K vistas47 diapositivas
OSSNA18: Xen Beginners Training por
OSSNA18: Xen Beginners Training OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training The Linux Foundation
95.6K vistas61 diapositivas
Virtual Infrastructure por
Virtual InfrastructureVirtual Infrastructure
Virtual InfrastructureBryan McLellan
922 vistas17 diapositivas
Ha & drs gotcha's por
Ha & drs gotcha'sHa & drs gotcha's
Ha & drs gotcha'sConcentrated Technology
958 vistas49 diapositivas

Similar a Performance Tuning Xen(20)

4 implementation por hanmya
4 implementation4 implementation
4 implementation
hanmya404 vistas
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments por Puppet
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud DeploymentsPuppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet901 vistas
Windows 2008 R2 Virtualization por Eduardo Castro
Windows 2008  R2  VirtualizationWindows 2008  R2  Virtualization
Windows 2008 R2 Virtualization
Eduardo Castro1.4K vistas
VXLAN Integration with CloudStack Advanced Zone por Yoshikazu Nojima
VXLAN Integration with CloudStack Advanced ZoneVXLAN Integration with CloudStack Advanced Zone
VXLAN Integration with CloudStack Advanced Zone
Yoshikazu Nojima6.4K vistas
持续交付 - 使用云计算和虚拟化技术 por foxgem
持续交付 - 使用云计算和虚拟化技术持续交付 - 使用云计算和虚拟化技术
持续交付 - 使用云计算和虚拟化技术
foxgem880 vistas
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router por Takeshi Nakajima
12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
Takeshi Nakajima1.2K vistas
12th Japan CloudStack User Group Meetup por Midokura
12th Japan CloudStack User Group Meetup12th Japan CloudStack User Group Meetup
12th Japan CloudStack User Group Meetup
Midokura513 vistas
White Paper: Deploying and Implementing RecoverPoint in a Virtual Machine for... por EMC
White Paper: Deploying and Implementing RecoverPoint in a Virtual Machine for...White Paper: Deploying and Implementing RecoverPoint in a Virtual Machine for...
White Paper: Deploying and Implementing RecoverPoint in a Virtual Machine for...
EMC19.4K vistas
Hands on Virtualization with Ganeti por OSCON Byrum
Hands on Virtualization with GanetiHands on Virtualization with Ganeti
Hands on Virtualization with Ganeti
OSCON Byrum4.2K vistas
Virtualization por satchipatra
VirtualizationVirtualization
Virtualization
satchipatra1.3K vistas
OpenStack and OpenFlow Demos por Brent Salisbury
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
Brent Salisbury1.8K vistas
Vagrant - Version control your dev environment por bocribbz
Vagrant - Version control your dev environmentVagrant - Version control your dev environment
Vagrant - Version control your dev environment
bocribbz3.7K vistas
Comparison of Open Source Virtualization Technology por Benoit des Ligneris
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization Technology
Benoit des Ligneris4.5K vistas
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ... por The Linux Foundation
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
The Linux Foundation2.1K vistas

Más de The Linux Foundation

ELC2019: Static Partitioning Made Simple por
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleThe Linux Foundation
4.1K vistas33 diapositivas
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ... por
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
1K vistas17 diapositivas
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu... por
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
1K vistas19 diapositivas
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op... por
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
819 vistas24 diapositivas
XPDDS19 Keynote: Unikraft Weather Report por
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather ReportThe Linux Foundation
923 vistas58 diapositivas
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E... por
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
941 vistas17 diapositivas

Más de The Linux Foundation(20)

XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ... por The 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 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu... por 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 Project Weather Report 2019 - Lars Kurth, Director of Op... por 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: Secret-free Hypervisor: Now and Future - Wei Liu, Software E... por The 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: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx por The Linux Foundation
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
The Linux Foundation5.7K vistas
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys... por The 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: Memories of a VM Funk - Mihai Donțu, Bitdefender por The Linux Foundation
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... por The 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...
The Linux Foundation5.2K vistas
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... por 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...
The Linux Foundation5.2K vistas
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix por The Linux Foundation
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 por The Linux Foundation
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... por The 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: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D por The Linux Foundation
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 por The Linux Foundation
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... por The 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: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib... por 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: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr... por 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: Core Scheduling in Xen - Jürgen Groß, SUSE por The Linux Foundation
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
The Linux Foundation1.5K vistas

Último

TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... por
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc
77 vistas29 diapositivas
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... por
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...ShapeBlue
65 vistas28 diapositivas
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue por
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueShapeBlue
131 vistas23 diapositivas
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue por
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
96 vistas20 diapositivas
Business Analyst Series 2023 - Week 4 Session 7 por
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7DianaGray10
80 vistas31 diapositivas
HTTP headers that make your website go faster - devs.gent November 2023 por
HTTP headers that make your website go faster - devs.gent November 2023HTTP headers that make your website go faster - devs.gent November 2023
HTTP headers that make your website go faster - devs.gent November 2023Thijs Feryn
28 vistas151 diapositivas

Último(20)

TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... por TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc77 vistas
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... por ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue65 vistas
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue por ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlueWhat’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue131 vistas
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue por ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue96 vistas
Business Analyst Series 2023 - Week 4 Session 7 por DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray1080 vistas
HTTP headers that make your website go faster - devs.gent November 2023 por Thijs Feryn
HTTP headers that make your website go faster - devs.gent November 2023HTTP headers that make your website go faster - devs.gent November 2023
HTTP headers that make your website go faster - devs.gent November 2023
Thijs Feryn28 vistas
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online por ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue102 vistas
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive por Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
"Surviving highload with Node.js", Andrii Shumada por Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays40 vistas
Data Integrity for Banking and Financial Services por Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely56 vistas
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... por ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue83 vistas
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... por ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue74 vistas
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT por ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue91 vistas
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue por ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue96 vistas
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... por ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue48 vistas
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue por ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue46 vistas
Why and How CloudStack at weSystems - Stephan Bienek - weSystems por ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue111 vistas
Ransomware is Knocking your Door_Final.pdf por Security Bootcamp
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdf
Security Bootcamp76 vistas
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue por ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue50 vistas

Performance Tuning Xen

  • 1. Performance tuning Xen Roger Pau Monn´ e roger.pau@citrix.com Antwerp – 8th of April, 2013
  • 2. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Xen Architecture Control Domain NetBSD or Linux device model (qemu) toolstack Paravirtualized (PV) Fully Domain: Virtualized NetBSD or Linux (HVM) Domain: Hardware netback netfront Windows, Drivers blkback blkfront FreeBSD... Xen Hypervisor I/O Devices CPU Memory Hardware Antwerp – 8th of April, 2013 Performance tuning Xen 2 / 27
  • 3. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Paravirtualization Virtualization technique developed in the late 90s Designed by: XenoServer research project at Cambridge University Intel Microsoft labs x86 instructions behave differently in kernel or user mode, options for virtualization were full software emulation or binary translation. Design a new interface for virtualization Allow guests to collaborate in virtualization Provide new interfaces for virtualized guests that allow to reduce the overhead of virtualization The result of this work is what we know today as paravirtualiztion Antwerp – 8th of April, 2013 Performance tuning Xen 3 / 27
  • 4. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Paravirtualization All this changes lead to the following interfaces being paravirtualized: Disk and network interfaces Interrupts and timers Boot directly in the mode the kernel wishes to run (32 or 64bits) Page tables Privileged instructions Antwerp – 8th of April, 2013 Performance tuning Xen 4 / 27
  • 5. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Full virtualization With the introduction of hardware virtualization extensions Xen is able to run unmodified guests This requires emulated devices, which are handled by Qemu Makes use of nested page tables when available. Allows to use PV interfaces if guest has support for them. Antwerp – 8th of April, 2013 Performance tuning Xen 5 / 27
  • 6. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions The full virtualization spectrum VS Software virtualization Poor performance VH Hardware virtualization Room for improvement PV Paravirtualized Optimal performance es ns ge str rd bl tio s a er bo uc tim k an ge her or tw ot d ta pa in an m ne d d ts ed d up ile an at rr iv ul isk te Pr Em In HVM D VS VS VS VH HVM with PV drivers PV VS VS VH PVHVM PV PV VS VH PV PV PV PV PV Antwerp – 8th of April, 2013 Performance tuning Xen 6 / 27
  • 7. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Guest support List of OSes and virtualization support: PV PVHVM HVM with PV drivers HVM Linux (PVOPS) YES YES YES YES Windows NO NO YES YES NetBSD YES NO NO YES FreeBSD NO NO YES YES OpenBSD NO NO NO YES DragonflyBSD NO NO NO YES Antwerp – 8th of April, 2013 Performance tuning Xen 7 / 27
  • 8. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Kernbench Kernbench Results: percentage of native, the lower the better 140 135 130 125 120 115 110 105 100 95 90 PV on HVM 32 bit HVM 32 bit PV 32 bit PV on HVM 64 bit HVM 64 bit PV 64 bit Antwerp – 8th of April, 2013 Performance tuning Xen 8 / 27
  • 9. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Specjbb2005 SPECjbb2005 Results: percentage of native, the higher the better 100 90 80 70 60 50 40 30 20 10 0 PV 64 bit PV on HVM 64 bit Antwerp – 8th of April, 2013 Performance tuning Xen 9 / 27
  • 10. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Iperf Iperf tcp Results: gbit/sec, the higher the better 8 7 6 5 4 3 2 1 0 PV 64 bit PV on HVM 64 bit PV on HVM 32 bit PV 32 bit HVM 64 bit HVM 32 bit Antwerp – 8th of April, 2013 Performance tuning Xen 10 / 27
  • 11. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions What virtualization mode should I choose? Linux supports several virtualization modes, which one is better? Depends on the workload. Generally PV mode will provide better performance for IO, but when using 64bit guests PV can be slower. There isn’t a fixed rule here, the best way to find out is to evaluate the workload on the different kind of guests. Antwerp – 8th of April, 2013 Performance tuning Xen 11 / 27
  • 12. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Dom0 Dom0 is the most important guest in the Xen infraestructure. It can become a bottleneck easily if not configured correctly. Dom0 is in charge of creating the guests, but usually also provides the backends and device models for guests. Xen provides some options to tune performance of Dom0 Antwerp – 8th of April, 2013 Performance tuning Xen 12 / 27
  • 13. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions dom0 mem boot option dom0 mem tell Xen how much memory can be used by the Dom0. If not set all memory will be assigned to the Dom0, and ballooning will be used when launching new guests, reducing the memory used by the Dom0. The value should be set depending on the usage, HVM guests consume more memory in the Dom0 because they need a Qemu instance. If dom0 mem is set make sure to disable ballooning in the toolstack by setting autoballoon=0 in /etc/xen/xl.conf. Antwerp – 8th of April, 2013 Performance tuning Xen 13 / 27
  • 14. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions dom0 max vcpus and dom0 vcpus pin dom0 max vcpus: maximum number of CPUs the Dom0 will see, also depends on the utilization of the Dom0 and the type of guests. dom0 vcpus pin: pinning Dom0 vcpus to physical CPUs is a good idea for systems running IO intensive guests. Setting up the serial cable: although not important for performance, setting up a serial cable is really important when debugging. For more info: http://wiki.xen.org/wiki/Xen_Serial_Console Antwerp – 8th of April, 2013 Performance tuning Xen 14 / 27
  • 15. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Dom0 Boot tunning options For example if I had to set up a Dom0 on a machine with 8 CPUs and 8GB of RAM I would use the following boot line: com1=115200,8n1 console=com1 dom0 mem=1024M dom0 max vcpus=2 dom0 vcpus pin. More info about boot parameters can be found at: http://xenbits.xen.org/docs/unstable/misc/ xen-command-line.html. Antwerp – 8th of April, 2013 Performance tuning Xen 15 / 27
  • 16. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions General performance notes Always try to use physical disks as backends. Xen has mainly two ways of connecting disks to the guest depending on the format of the image, if it’s a block device it will be attached using blkback, which is inside the Linux kernel and it’s faster. Take into account the number of CPUs your physical box has and avoid using more VCPUS than PCPUS if running performance intensive applications. Antwerp – 8th of April, 2013 Performance tuning Xen 16 / 27
  • 17. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Pinning CPUs You can pin VCPUs to PCPUs in order to obtain better performance or to distribute the workload across your CPUs to suit your needs. For example low latency VMs can be exclusively pinned to different PCPUs. cpus: allows to select in which CPUs the guest can run. The list can also contain specific CPUs where the guest is not allowed to run. Specifying ”0-3,5,ˆ1” allows the guest to run on CPUs 0,2,3,5. If Dom0 is pinned to certain PCPUs avoid running guests on those PCPUs to obtain better performance. If Dom0 is pinned to CPU 0, use the following CPU mask in order to prevent other guests from running on CPU 0: ”ˆ0”. Antwerp – 8th of April, 2013 Performance tuning Xen 17 / 27
  • 18. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Scheduler options The Xen scheduler has several options that can also be tunned from the guest configuration file, in order to give a certain guest more share from the processor or to schedule it more frequently. cpu weight: weight of the domain in terms of CPU utilization. For example a domain with a weight of 512 will get twice as much CPU than a domain with a weight of 256. Values range from 1 to 65535. cap: fixes the maximum amount of CPU a domain is able to consume. Expressed in percentage of one physical CPU. 100 is one CPU, 50 half a CPU, 400 four CPUs. More info can be found at http: //xenbits.xen.org/docs/unstable/man/xl.cfg.5.html Antwerp – 8th of April, 2013 Performance tuning Xen 18 / 27
  • 19. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Driver Domains I Control Domain NetBSD or Linux device model (qemu) toolstack Paravirtualized (PV) Domain: NetBSD or Linux Hardware netback netfront Drivers blkback blkfront Xen Hypervisor I/O Devices CPU Memory Hardware Antwerp – 8th of April, 2013 Performance tuning Xen 19 / 27
  • 20. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Driver Domains II Control Domain NetBSD or Linux device model (qemu) toolstack Paravirtualized Driver Domain (PV) Domain: NetBSD or Linux Hardware netback netback netfront Drivers blkback blkback blkfront Xen Hypervisor I/O Devices CPU Memory Hardware Antwerp – 8th of April, 2013 Performance tuning Xen 20 / 27
  • 21. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Driver Domains III Driver domains allow to offload work normally done in Dom0 to other domains. It also provides better security, less surface for exploits in Dom0. This is a current work-in-process. Antwerp – 8th of April, 2013 Performance tuning Xen 21 / 27
  • 22. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions HVM specific I HVM guest require the usage of assisted paging, in order for the guest to see the memory area as contiguous when it’s not. HAP: (Hardware Assisted Paging) is used by default since it tends to perform better under most workloads shadow: was introduced before HAP, and can provide better performance under certain workloads that have low TLB locality (for example databases or java applications). Again, the best way to know is to try the workload by yourself. Antwerp – 8th of April, 2013 Performance tuning Xen 22 / 27
  • 23. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions HVM specific II HVM domains require a Qemu instance in Dom0 to perform the necessary device emulation. This might be a bottleneck if running a lot of HVM domains in the same node, since each one requires a Qemu instance running in Dom0 that uses both Dom0 CPU and Memory. To avoid this, we can launch the Qemu process in a different domain called ”Stubdomain”. This allows to offload work from Dom0. Antwerp – 8th of April, 2013 Performance tuning Xen 23 / 27
  • 24. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions HVM specific III Control Domain NetBSD or Linux device model (qemu) Fully toolstack Virtualized (HVM) Domain: Windows, FreeBSD... Hardware netback Drivers blkback Xen Hypervisor I/O Devices CPU Memory Hardware Antwerp – 8th of April, 2013 Performance tuning Xen 24 / 27
  • 25. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions HVM specific IV Control Domain NetBSD or Linux device model (qemu) Fully toolstack stubdomain Virtualized (HVM) MiniOS Domain: Qemu Windows, FreeBSD... Hardware netback Drivers blkback Xen Hypervisor I/O Devices CPU Memory Hardware Antwerp – 8th of April, 2013 Performance tuning Xen 25 / 27
  • 26. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Conclusions Xen offers a wide variety of virtualization modes. The best way to know which mode will bring better performance is to try it, although there are several tips that apply to all guests. We are constantly working on performance improvements, so keep updated in order to get the best performance. Antwerp – 8th of April, 2013 Performance tuning Xen 26 / 27
  • 27. Xen Architecture Xen virtualization modes Support in OSes Dom0 tunning Specific VM options Conclusions Q&A Thanks Questions? http://wiki.xen.org/wiki/Xen_Best_Practices http://wiki.xen.org/wiki/Xen_Common_Problems Antwerp – 8th of April, 2013 Performance tuning Xen 27 / 27