SlideShare a Scribd company logo
1 of 26
Download to read offline
<Insert Picture Here>




                        Memory Overcommit…
                        without the Commitment
                              Speaker: Dan Magenheimer
    2008                             Oracle Corporation
Overview

         • What is overcommitment?
               • aka oversubscription or overbooking
         • Why (and why not) overcommit memory?
         • Known techniques for memory overcommit
         • Feedback-directed ballooning




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
CPU overcommitment
        Four underutilized 2-cpu virtual servers


                                                                                   One 4-CPU physical
                                                                                         server




                                                                               Xen supports CPU
                                                                                overcommitment
                                                                                (aka “consolidation”)


Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
I/O overcommitment
        Four underutilized 2-cpu virtual servers
                                              each with a 1Gb NIC
                                                                                  One 4-CPU physical
                                                                                 server with a 1Gb NIC




                                                                               Xen supports I/O
                                                                               overcommitment


Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Memory overcommitment???
           Four underutilized 2-cpu virtual servers
                                                  each with 1GB RAM
                                                                               One 4-CPU physical
                                                                               server w/4GB RAM




                                                                X
                                                                                        X
                                                      SORRY! Xen doesn’t support
                                                        memory overcommitment!

Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Why doesn’t Xen overcommit
             memory?
         • Memory is cheap – buy more
         • “When you overbook memory excessively, performance takes a hit”
         • Most consolidated workloads don’t benefit much
         • Overcommit requires swapping – and Xen doesn’t do I/O in the
           hypervisor
         • Overcommit adds lots of complexity and latency to important
           features like save/restore/migration
         • Operating systems know what they are doing and can use all the
           memory they can get




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Why doesn’t Xen overcommit
            memory?
         • Memory is cheap – buy more… except when you’re out of slots or need BIG dimms.
         • “When you overbook memory excessively, performance takes a
           hit”… yes, but true of overbooking CPU and I/O too. Sometimes tradeoffs have to be made.
         • Most consolidated workloads don’t benefit much…but some workloads do!
         • Overcommit requires swapping – and Xen doesn’t do I/O in the
           hypervisor…only if black-box swapping is required
         • Overcommit adds lots of complexity and latency to important
           features like save/restore/migration… some techniques maybe… we’ll see…
         • Operating systems know what they are doing and can use all the
           memory they can get…but an idle or lightly-loaded OS may not!




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Why should Xen support memory
            overcommitment?
         • Competitive reasons
             “VMware Infrastructure’s exclusive ability to overcommit memory gives it an
             advantage in cost per VM that others can’t match” *
         • High(er) density consolidation can save money
         • Sum of guest working sets is often smaller than
           available physical memory
         • Inefficient guest OS utilization of physical memory
           (cacheing vs “hoarding”)


         * E. Horschman, Cheap Hypervisors: A Fine Idea -- If you can afford them, blog posting,
         http://blogs.vmware.com/virtualreality/2008/03/cheap-hyperviso.html




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Problem statement

       Oracle OnDemand businesses
         (both internal/external):
       • would like to use Oracle VM (Xen-based)
       • but uses memory overcommit extensively

       The Oracle VM team was asked… can we:
       • implement memory overcommit on Xen?
       • get it accepted upstream?




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Memory Overcommit Investigation
         • Technology survey
               • understand known techniques and implementations
               • understand what Xen has today and its limitations
         • Propose a solution
               • OK to place requirements on guest
                  • e.g. black-box solution unnecessary
               • soon and good is better than late and great
                  • phased delivery OK if necessary
                     • e.g. Oracle Enterprise Linux now, Windows later
               • preferably high bang for the buck
                  • e.g. 80% of value with 20% of cost




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Techniques for memory overcommit

         •   Ballooning
         •   Content-based page sharing
         •   VMM-driven demand paging
         •   Hot-plug memory add/delete
         •   Ticketed ballooning
         •   Swapping entire guests

         Black-box or gray-box*… or white-box?

         * T. Wood, et al. Black-box and Gray-box Strategies for Virtual Machine Migration, In Proceedings NSDI ’07.
         http://www.cs.umass.edu/~twood/pubs/NSDI07.pdf




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
WHAT IF…..?
             Operating systems were able to:
             • recognize when physical memory is not being used
               efficiently and communicate relevant statistics
             • surrender memory when it is underutilized
             • reclaim memory when it is needed
             And Xen/domain0 could balance the allocation of
               physical memory, just as it does for CPU/devices?



             …. Maybe this is already possible?!?



Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Ballooning (gray-box)                                                                                            Currently implemented by:


       • In-guest device driver
             • “steals” / reclaims memory via guest in-kernel APIs
                • e.g. get_free_page() and MmAllocatPagesforMdl()
                                                                                                                                                  KVM
       • Balloon inflation increases guest memory pressure
             • leverages guest native memory management algorithms
       • Xen has ballooning today
             • mostly used for domain0 autoballooning
             • has problems, but recent patch avoids worst*
       • Vmware and KVM have it today too

       Issues:
       • driver must be installed
       • not available during boot
       • reclaim may not be fast enough; potential out-of-memory conditions

       * J. Beulich, [PATCH] linux/balloon: don’t allow ballooning down a domain below a reasonable limit,, Xen developers
       archive, http://lists.xensource.com/archives/html/xen-devel/2008-04/msg00143.html




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
(black-box)
            Content-based page sharing
           • One physical page frame used for multiple identical pages
                 • sharing works both intra-guest and inter-guest
                 • hypervisor periodically scans for copies and “merges”
                 • copy-on-write breaks share                                                                                    Currently implemented by:
           • Investigated on Xen, but never in-tree* **
                 • measured savings of 4-12%
                                                                                                                                                 KVM
           • Vmware*** has had for a long time, KVM soon ****

           Issues:
           • Performance cost of discovery scans, frequent share set-up/tear-down
           • High complexity for relatively low gain

           * J. Kloster et al, On the feasibility of memory sharing: content based page sharing in the xen virtual machine monitor,
           Technical Report, 2006. http://www.cs.aau.dk/library/files/rapbibfiles1/1150283144.pdf
           ** G. Milos, Memory COW in Xen, Presentation at Xen Summit, Nov 2007.
           http://www.xen.org/files/xensummit_fall2007/18_GregorMilos.pdf
           *** C. Waldspurger. Memory Resource Management in Vmware ESX Server, In Proceedings OSDI’02,
           http://www.usenix.org/events/osdi02/tech/walspurger/waldspurger.pdf
           **** A. Kivity, Memory overcommit with kvm, http://avikivity.blogspot.com/2008/04/memory-overcommit-with-kvm.html




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Demand paging (black-box)                                                                                    Currently implemented by:




                                                                                                                                                  KVM
         • VMM reclaims memory and swaps to disk
         • VMware has today
               • used as last resort
               • randomized page selection
         • Could potentially be done on Xen via
           domain0

         Issues:
               • “Hypervisor” must have disk/net drivers
               • “Semantic gap”*    Double paging
               * P. Chen et al. When Virtual is Better than Real. In Proceedings HOTOS ’01. http://www.eecs.umich.edu/~pmchen/papers/chen01.pdf




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Hotplug memory add/delete (white-box)
                                                                                                  Currently implemented by:
       • Essentially just ballooning with:
             •   larger granularity
             •   less fragmentation
             •   potentially unlimited maximum memory
             •   no kernel data overhead for unused pages

       Issues:
       • Not widely available yet (for x86)
       • Larger granularity
       • Hotplug delete requires defragmentation


       J. Schopp et al, Resizing Memory with Balloons and Hotplug, Ottawa Linux Symposium 2006,
       https://ols2006.108.redhat.com/reprints/schopp-reprint.pdf




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
“Ticketed” ballooning (white-box)

         • Proposed by Ian Pratt*
         • A ticket is obtained when a page is surrendered to
           the balloon driver
         • Original page can be retrieved if Xen hasn’t given
           the page to another domain
         • Similar to a system-wide second-chance buffer
           cache or unreliable swap device
         • Never implemented (afaik)



         * http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00321.html




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Whole-guest swapping (black?-box)

         •   Proposed by Keir Fraser*
         •   Forced save/restore of idle/low-priority guests
         •   Wake-on-LAN-like mechanism causes restore
         •   Never implemented (afaik)



         Issues:
         • Very long latency for guest resume
         • Very high system I/O overhead when densely overcommitted

         * http://lists.xensource.com/archives/html/xen-devel/2005-12/msg00409.html




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Observations
         • Xen balloon driver works well
               • recent patch avoids O-O-M problems
               • works on hvm if pv-on-hvm drivers present
               • ballooning up from “memory=xxx” to “maxmem=yyy” works (on
                 pvm domains)
               • ballooned-down domain doesn’t restrict creation of new domains
         • Linux provides lots of memory-status information
               • /proc/meminfo and /proc/vmstat
               • Committed_AS is a decent estimator of current memory need
         • Linux does OK when put under memory pressure
               • rapid/frequent balloon inflation/deflation just works… as long as
                 remaining available Linux memory is not too small
               • properly configured Linux swap disk works when necessary;
                 obviates need for “system-wide” demand paging
         • Xenstore tools work for two-way communication even in hvm



Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Proposed Solution:
            Feedback-directed ballooning (gray-box)
    Use relevant Linux memory statistics to control balloon size
    • Selfballooning:
          • Local feedback loop; immediate balloon changes
          • Eagerly inflates balloon to create memory pressure
          • No management or domain0 involvement
    • Directed ballooning:
          • Memory stats fed from each domainU to domain0
          • Policy module in domain0 determines balloon size, controls
            memory pressure for each domain (not yet implemented)




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Implementation:
            Feedback-directed ballooning
  • No changes to Xen or domain0 kernel or drivers!
  • Entirely implemented with user-land bash scripts
        • Self-ballooning and stat reporting/monitoring only (for now)
  • Committed_AS used (for now) as memory estimator
  • Hysteresis parameters -- settable to rate-limit balloon changes
  • Minimum memory floor enforced to avoid O-O-M conditions
        • same maxmem-dependent algorithm as recent balloon driver bugfix
  • Other guest requirements:
        • Properly sized and configured swap (virtual) disk for each guest
        • HVM: pv-on-hvm drivers present
        • Xenstore tools present (but not for selfballooning)



Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Feedback-directed Ballooning
            Results
         • Overcommit ratio
               • 7:4 w/default configuration (7 512MB loaded guests, 2GB phys memory)
               • 15:4 w/aggressive config (15 512MB idle guests, 2GB phys memory)
               • for pvm guests, arbitrarily higher due to “maxmem=”
         • Preliminary performance (Linux kernel make after make clean, 5 runs, mean of middle 3)
                    ballooning     Memory        Min         User      Sys     Elapsed   Major page   Down
                                                                                                                   27%
                                   (MB)                                (sec)   (sec)     faults
                                                 (MB)        (sec)                                    Hysteresis
                                                                                                                   slower
                        Off                                   785       121      954         0
                                     2048
                        Self                      368         778       104     1209        8940          10

                        Off                                   775        95     1120        4650
                                     1024
                        Self                      238         775        93     1201        9490          10
                        Off                                   775        79     1167        8520
                                      512
                                                                                                                    3%
                        self                      172         775        80     1202        9650          10
                                                                                                                   slower
                        Off                                   773        79     1186        9150
                                      256
                        Self                      106         775        80     1202        9650          10

                      Selfballooning costly for large-memory domains but
                     barely noticeable for smaller-memory domains

Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Domain0 screenshot with monitoring tool and xentop showing
            memory overcommitment




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Future Work

         • Domain0 policy module for directed ballooning
               • some combination of directed and self-ballooning??
         • Improved feedback / heuristics
               • Combine multiple memory statistics, check idle time
               • Prototype kernel changes (“white-box” feedback)
                  • Better “idle memory” metrics
         • Benchmarking in real world
         • More aggressive minimum memory experiments
         • Windows support




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
Conclusions


         • Xen does do memory overcommit today!
         • Memory overcommit has some performance impact
               • but still useful in environments where high VM density is more
                 important than max performance
         • Lots of cool research directions possible for
           “virtualization-aware” OS memory management




Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
<Insert Picture Here>




                        Memory Overcommit…
                        without the Commitment
                              Speaker: Dan Magenheimer
    2008                             Oracle Corporation

More Related Content

What's hot

Xen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesXen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesThe Linux Foundation
 
kexec / kdump implementation in Linux Kernel and Xen hypervisor
kexec / kdump implementation in Linux Kernel and Xen hypervisorkexec / kdump implementation in Linux Kernel and Xen hypervisor
kexec / kdump implementation in Linux Kernel and Xen hypervisorThe Linux Foundation
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform The Linux Foundation
 
Tailoring NAS Proxies for Virtual Machines
Tailoring NAS Proxies for Virtual MachinesTailoring NAS Proxies for Virtual Machines
Tailoring NAS Proxies for Virtual MachinesThe Linux Foundation
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAlan Renouf
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
 
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Todd Deshane
 
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
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
 
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...The Linux Foundation
 
Application Live Migration in LAN/WAN Environment
Application Live Migration in LAN/WAN EnvironmentApplication Live Migration in LAN/WAN Environment
Application Live Migration in LAN/WAN EnvironmentMahendra Kutare
 
Securing your cloud with Xen's advanced security features
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
 
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x The Linux Foundation
 

What's hot (20)

Xen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesXen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization Opportunities
 
Xen io
Xen ioXen io
Xen io
 
kexec / kdump implementation in Linux Kernel and Xen hypervisor
kexec / kdump implementation in Linux Kernel and Xen hypervisorkexec / kdump implementation in Linux Kernel and Xen hypervisor
kexec / kdump implementation in Linux Kernel and Xen hypervisor
 
BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform BACD July 2012 : The Xen Cloud Platform
BACD July 2012 : The Xen Cloud Platform
 
Tailoring NAS Proxies for Virtual Machines
Tailoring NAS Proxies for Virtual MachinesTailoring NAS Proxies for Virtual Machines
Tailoring NAS Proxies for Virtual Machines
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtop
 
LFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and BeyondLFCOLLAB15: Xen 4.5 and Beyond
LFCOLLAB15: Xen 4.5 and Beyond
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
 
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
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
 
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
XPDS13: Enabling Fast, Dynamic Network Processing with ClickOS - Joao Martins...
 
XS Japan 2008 Xen Mgmt English
XS Japan 2008 Xen Mgmt EnglishXS Japan 2008 Xen Mgmt English
XS Japan 2008 Xen Mgmt English
 
Xen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10xXen in the Cloud at SCALE 10x
Xen in the Cloud at SCALE 10x
 
Xen Memory Management
Xen Memory ManagementXen Memory Management
Xen Memory Management
 
Application Live Migration in LAN/WAN Environment
Application Live Migration in LAN/WAN EnvironmentApplication Live Migration in LAN/WAN Environment
Application Live Migration in LAN/WAN Environment
 
XS Japan 2008 Services English
XS Japan 2008 Services EnglishXS Japan 2008 Services English
XS Japan 2008 Services English
 
Securing your cloud with Xen's advanced security features
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
 
BSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSD
 
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
 
XS Oracle 2009 Just Run It
XS Oracle 2009 Just Run ItXS Oracle 2009 Just Run It
XS Oracle 2009 Just Run It
 

Viewers also liked

XCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the CloudXCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the CloudThe Linux Foundation
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilThe Linux Foundation
 
XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...
XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...
XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...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 &...
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...The Linux Foundation
 
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMXPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMThe Linux Foundation
 

Viewers also liked (6)

Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
 
XCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the CloudXCP: The Art of Open Virtualization for the Enterprise and the Cloud
XCP: The Art of Open Virtualization for the Enterprise and the Cloud
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
 
XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...
XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...
XPDS13: Performance Evaluation of Live Migration based on Xen ARM PVH - Jaeyo...
 
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 &...
XPDS16: High-Performance Virtualization for HPC Cloud on Xen - Jun Nakajima &...
 
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMXPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
 

Similar to XS Boston 2008 Memory Overcommit

XS Oracle 2009 Transcendent Memory
XS Oracle 2009 Transcendent MemoryXS Oracle 2009 Transcendent Memory
XS Oracle 2009 Transcendent MemoryThe Linux Foundation
 
Transcendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-finalTranscendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-finalThe Linux Foundation
 
Transcendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-finalTranscendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-finalThe Linux Foundation
 
Dynamic Memory Management Hyperv 2008 R2 S
Dynamic Memory Management Hyperv 2008 R2 SDynamic Memory Management Hyperv 2008 R2 S
Dynamic Memory Management Hyperv 2008 R2 SEduardo Castro
 
Dynamic Memory Management HyperV R2 SP1
Dynamic Memory Management HyperV R2 SP1Dynamic Memory Management HyperV R2 SP1
Dynamic Memory Management HyperV R2 SP1Eduardo Castro
 
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1The Linux Foundation
 
VMware vSphere 5.1 Overview
VMware vSphere 5.1 OverviewVMware vSphere 5.1 Overview
VMware vSphere 5.1 OverviewESXLab
 
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)Suresh Kumar
 
Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02Suresh Kumar
 
Xen and the Art of Virtualization
Xen and the Art of VirtualizationXen and the Art of Virtualization
Xen and the Art of VirtualizationSusheel Thakur
 
SAP Virtualization Week 2012 - The Lego Cloud
SAP Virtualization Week 2012 - The Lego CloudSAP Virtualization Week 2012 - The Lego Cloud
SAP Virtualization Week 2012 - The Lego Cloudaidanshribman
 
Re-Think Storage – PernixData. Meet & greet with Frank Denneman
Re-Think Storage – PernixData. Meet & greet with Frank DennemanRe-Think Storage – PernixData. Meet & greet with Frank Denneman
Re-Think Storage – PernixData. Meet & greet with Frank DennemanDigicomp Academy AG
 
Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...
Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...
Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...peknap
 
XPDDS18: Memory Overcommitment in XEN - Huang Zhichao, Huawei
XPDDS18: Memory Overcommitment in XEN - Huang Zhichao, HuaweiXPDDS18: Memory Overcommitment in XEN - Huang Zhichao, Huawei
XPDDS18: Memory Overcommitment in XEN - Huang Zhichao, HuaweiThe Linux Foundation
 
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...Concentrated Technology
 

Similar to XS Boston 2008 Memory Overcommit (20)

XS Oracle 2009 Transcendent Memory
XS Oracle 2009 Transcendent MemoryXS Oracle 2009 Transcendent Memory
XS Oracle 2009 Transcendent Memory
 
Transcendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-finalTranscendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-final
 
Transcendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-finalTranscendent memoryupdate xensummit2010-final
Transcendent memoryupdate xensummit2010-final
 
Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008
 
Xen Summit 2009 Shanghai Ras
Xen Summit 2009 Shanghai RasXen Summit 2009 Shanghai Ras
Xen Summit 2009 Shanghai Ras
 
Dynamic Memory Management Hyperv 2008 R2 S
Dynamic Memory Management Hyperv 2008 R2 SDynamic Memory Management Hyperv 2008 R2 S
Dynamic Memory Management Hyperv 2008 R2 S
 
Dynamic Memory Management HyperV R2 SP1
Dynamic Memory Management HyperV R2 SP1Dynamic Memory Management HyperV R2 SP1
Dynamic Memory Management HyperV R2 SP1
 
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
Evaluation and Enhancement to Memory Sharing and Swapping in Xen 4.1
 
Chen Haibo
Chen HaiboChen Haibo
Chen Haibo
 
VMware vSphere 5.1 Overview
VMware vSphere 5.1 OverviewVMware vSphere 5.1 Overview
VMware vSphere 5.1 Overview
 
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
Vmwareperformancetroubleshooting 100224104321-phpapp02 (1)
 
Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02Vmwareperformancetroubleshooting 100224104321-phpapp02
Vmwareperformancetroubleshooting 100224104321-phpapp02
 
Xen and the Art of Virtualization
Xen and the Art of VirtualizationXen and the Art of Virtualization
Xen and the Art of Virtualization
 
Hyper-V Dynamic Memory in Depth
Hyper-V Dynamic Memory in Depth Hyper-V Dynamic Memory in Depth
Hyper-V Dynamic Memory in Depth
 
SAP Virtualization Week 2012 - The Lego Cloud
SAP Virtualization Week 2012 - The Lego CloudSAP Virtualization Week 2012 - The Lego Cloud
SAP Virtualization Week 2012 - The Lego Cloud
 
Re-Think Storage – PernixData. Meet & greet with Frank Denneman
Re-Think Storage – PernixData. Meet & greet with Frank DennemanRe-Think Storage – PernixData. Meet & greet with Frank Denneman
Re-Think Storage – PernixData. Meet & greet with Frank Denneman
 
Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...
Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...
Controlling Memory Footprint at All Layers: Linux Kernel, Applications, Libra...
 
XPDDS18: Memory Overcommitment in XEN - Huang Zhichao, Huawei
XPDDS18: Memory Overcommitment in XEN - Huang Zhichao, HuaweiXPDDS18: Memory Overcommitment in XEN - Huang Zhichao, Huawei
XPDDS18: Memory Overcommitment in XEN - Huang Zhichao, Huawei
 
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
 
Good virtual machines
Good virtual machinesGood virtual machines
Good virtual machines
 

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
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

XS Boston 2008 Memory Overcommit

  • 1. <Insert Picture Here> Memory Overcommit… without the Commitment Speaker: Dan Magenheimer 2008 Oracle Corporation
  • 2. Overview • What is overcommitment? • aka oversubscription or overbooking • Why (and why not) overcommit memory? • Known techniques for memory overcommit • Feedback-directed ballooning Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 3. CPU overcommitment Four underutilized 2-cpu virtual servers One 4-CPU physical server Xen supports CPU overcommitment (aka “consolidation”) Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 4. I/O overcommitment Four underutilized 2-cpu virtual servers each with a 1Gb NIC One 4-CPU physical server with a 1Gb NIC Xen supports I/O overcommitment Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 5. Memory overcommitment??? Four underutilized 2-cpu virtual servers each with 1GB RAM One 4-CPU physical server w/4GB RAM X X SORRY! Xen doesn’t support memory overcommitment! Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 6. Why doesn’t Xen overcommit memory? • Memory is cheap – buy more • “When you overbook memory excessively, performance takes a hit” • Most consolidated workloads don’t benefit much • Overcommit requires swapping – and Xen doesn’t do I/O in the hypervisor • Overcommit adds lots of complexity and latency to important features like save/restore/migration • Operating systems know what they are doing and can use all the memory they can get Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 7. Why doesn’t Xen overcommit memory? • Memory is cheap – buy more… except when you’re out of slots or need BIG dimms. • “When you overbook memory excessively, performance takes a hit”… yes, but true of overbooking CPU and I/O too. Sometimes tradeoffs have to be made. • Most consolidated workloads don’t benefit much…but some workloads do! • Overcommit requires swapping – and Xen doesn’t do I/O in the hypervisor…only if black-box swapping is required • Overcommit adds lots of complexity and latency to important features like save/restore/migration… some techniques maybe… we’ll see… • Operating systems know what they are doing and can use all the memory they can get…but an idle or lightly-loaded OS may not! Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 8. Why should Xen support memory overcommitment? • Competitive reasons “VMware Infrastructure’s exclusive ability to overcommit memory gives it an advantage in cost per VM that others can’t match” * • High(er) density consolidation can save money • Sum of guest working sets is often smaller than available physical memory • Inefficient guest OS utilization of physical memory (cacheing vs “hoarding”) * E. Horschman, Cheap Hypervisors: A Fine Idea -- If you can afford them, blog posting, http://blogs.vmware.com/virtualreality/2008/03/cheap-hyperviso.html Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 9. Problem statement Oracle OnDemand businesses (both internal/external): • would like to use Oracle VM (Xen-based) • but uses memory overcommit extensively The Oracle VM team was asked… can we: • implement memory overcommit on Xen? • get it accepted upstream? Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 10. Memory Overcommit Investigation • Technology survey • understand known techniques and implementations • understand what Xen has today and its limitations • Propose a solution • OK to place requirements on guest • e.g. black-box solution unnecessary • soon and good is better than late and great • phased delivery OK if necessary • e.g. Oracle Enterprise Linux now, Windows later • preferably high bang for the buck • e.g. 80% of value with 20% of cost Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 11. Techniques for memory overcommit • Ballooning • Content-based page sharing • VMM-driven demand paging • Hot-plug memory add/delete • Ticketed ballooning • Swapping entire guests Black-box or gray-box*… or white-box? * T. Wood, et al. Black-box and Gray-box Strategies for Virtual Machine Migration, In Proceedings NSDI ’07. http://www.cs.umass.edu/~twood/pubs/NSDI07.pdf Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 12. WHAT IF…..? Operating systems were able to: • recognize when physical memory is not being used efficiently and communicate relevant statistics • surrender memory when it is underutilized • reclaim memory when it is needed And Xen/domain0 could balance the allocation of physical memory, just as it does for CPU/devices? …. Maybe this is already possible?!? Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 13. Ballooning (gray-box) Currently implemented by: • In-guest device driver • “steals” / reclaims memory via guest in-kernel APIs • e.g. get_free_page() and MmAllocatPagesforMdl() KVM • Balloon inflation increases guest memory pressure • leverages guest native memory management algorithms • Xen has ballooning today • mostly used for domain0 autoballooning • has problems, but recent patch avoids worst* • Vmware and KVM have it today too Issues: • driver must be installed • not available during boot • reclaim may not be fast enough; potential out-of-memory conditions * J. Beulich, [PATCH] linux/balloon: don’t allow ballooning down a domain below a reasonable limit,, Xen developers archive, http://lists.xensource.com/archives/html/xen-devel/2008-04/msg00143.html Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 14. (black-box) Content-based page sharing • One physical page frame used for multiple identical pages • sharing works both intra-guest and inter-guest • hypervisor periodically scans for copies and “merges” • copy-on-write breaks share Currently implemented by: • Investigated on Xen, but never in-tree* ** • measured savings of 4-12% KVM • Vmware*** has had for a long time, KVM soon **** Issues: • Performance cost of discovery scans, frequent share set-up/tear-down • High complexity for relatively low gain * J. Kloster et al, On the feasibility of memory sharing: content based page sharing in the xen virtual machine monitor, Technical Report, 2006. http://www.cs.aau.dk/library/files/rapbibfiles1/1150283144.pdf ** G. Milos, Memory COW in Xen, Presentation at Xen Summit, Nov 2007. http://www.xen.org/files/xensummit_fall2007/18_GregorMilos.pdf *** C. Waldspurger. Memory Resource Management in Vmware ESX Server, In Proceedings OSDI’02, http://www.usenix.org/events/osdi02/tech/walspurger/waldspurger.pdf **** A. Kivity, Memory overcommit with kvm, http://avikivity.blogspot.com/2008/04/memory-overcommit-with-kvm.html Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 15. Demand paging (black-box) Currently implemented by: KVM • VMM reclaims memory and swaps to disk • VMware has today • used as last resort • randomized page selection • Could potentially be done on Xen via domain0 Issues: • “Hypervisor” must have disk/net drivers • “Semantic gap”* Double paging * P. Chen et al. When Virtual is Better than Real. In Proceedings HOTOS ’01. http://www.eecs.umich.edu/~pmchen/papers/chen01.pdf Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 16. Hotplug memory add/delete (white-box) Currently implemented by: • Essentially just ballooning with: • larger granularity • less fragmentation • potentially unlimited maximum memory • no kernel data overhead for unused pages Issues: • Not widely available yet (for x86) • Larger granularity • Hotplug delete requires defragmentation J. Schopp et al, Resizing Memory with Balloons and Hotplug, Ottawa Linux Symposium 2006, https://ols2006.108.redhat.com/reprints/schopp-reprint.pdf Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 17. “Ticketed” ballooning (white-box) • Proposed by Ian Pratt* • A ticket is obtained when a page is surrendered to the balloon driver • Original page can be retrieved if Xen hasn’t given the page to another domain • Similar to a system-wide second-chance buffer cache or unreliable swap device • Never implemented (afaik) * http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00321.html Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 18. Whole-guest swapping (black?-box) • Proposed by Keir Fraser* • Forced save/restore of idle/low-priority guests • Wake-on-LAN-like mechanism causes restore • Never implemented (afaik) Issues: • Very long latency for guest resume • Very high system I/O overhead when densely overcommitted * http://lists.xensource.com/archives/html/xen-devel/2005-12/msg00409.html Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 19. Observations • Xen balloon driver works well • recent patch avoids O-O-M problems • works on hvm if pv-on-hvm drivers present • ballooning up from “memory=xxx” to “maxmem=yyy” works (on pvm domains) • ballooned-down domain doesn’t restrict creation of new domains • Linux provides lots of memory-status information • /proc/meminfo and /proc/vmstat • Committed_AS is a decent estimator of current memory need • Linux does OK when put under memory pressure • rapid/frequent balloon inflation/deflation just works… as long as remaining available Linux memory is not too small • properly configured Linux swap disk works when necessary; obviates need for “system-wide” demand paging • Xenstore tools work for two-way communication even in hvm Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 20. Proposed Solution: Feedback-directed ballooning (gray-box) Use relevant Linux memory statistics to control balloon size • Selfballooning: • Local feedback loop; immediate balloon changes • Eagerly inflates balloon to create memory pressure • No management or domain0 involvement • Directed ballooning: • Memory stats fed from each domainU to domain0 • Policy module in domain0 determines balloon size, controls memory pressure for each domain (not yet implemented) Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 21. Implementation: Feedback-directed ballooning • No changes to Xen or domain0 kernel or drivers! • Entirely implemented with user-land bash scripts • Self-ballooning and stat reporting/monitoring only (for now) • Committed_AS used (for now) as memory estimator • Hysteresis parameters -- settable to rate-limit balloon changes • Minimum memory floor enforced to avoid O-O-M conditions • same maxmem-dependent algorithm as recent balloon driver bugfix • Other guest requirements: • Properly sized and configured swap (virtual) disk for each guest • HVM: pv-on-hvm drivers present • Xenstore tools present (but not for selfballooning) Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 22. Feedback-directed Ballooning Results • Overcommit ratio • 7:4 w/default configuration (7 512MB loaded guests, 2GB phys memory) • 15:4 w/aggressive config (15 512MB idle guests, 2GB phys memory) • for pvm guests, arbitrarily higher due to “maxmem=” • Preliminary performance (Linux kernel make after make clean, 5 runs, mean of middle 3) ballooning Memory Min User Sys Elapsed Major page Down 27% (MB) (sec) (sec) faults (MB) (sec) Hysteresis slower Off 785 121 954 0 2048 Self 368 778 104 1209 8940 10 Off 775 95 1120 4650 1024 Self 238 775 93 1201 9490 10 Off 775 79 1167 8520 512 3% self 172 775 80 1202 9650 10 slower Off 773 79 1186 9150 256 Self 106 775 80 1202 9650 10 Selfballooning costly for large-memory domains but barely noticeable for smaller-memory domains Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 23. Domain0 screenshot with monitoring tool and xentop showing memory overcommitment Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 24. Future Work • Domain0 policy module for directed ballooning • some combination of directed and self-ballooning?? • Improved feedback / heuristics • Combine multiple memory statistics, check idle time • Prototype kernel changes (“white-box” feedback) • Better “idle memory” metrics • Benchmarking in real world • More aggressive minimum memory experiments • Windows support Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 25. Conclusions • Xen does do memory overcommit today! • Memory overcommit has some performance impact • but still useful in environments where high VM density is more important than max performance • Lots of cool research directions possible for “virtualization-aware” OS memory management Memory Overcommit without the Commitment (Xen Summit 2008) - Dan Magenheimer
  • 26. <Insert Picture Here> Memory Overcommit… without the Commitment Speaker: Dan Magenheimer 2008 Oracle Corporation