virtualization to improve
play

Virtualization to Improve Compute Node Performance Brian Kocoloski - PowerPoint PPT Presentation

Department of Computer Science Better than Native: Using Virtualization to Improve Compute Node Performance Brian Kocoloski Jack Lange Department of Computer Science University of Pittsburgh 6/29/2012 1 Department of Computer Science


  1. Department of Computer Science Better than Native: Using Virtualization to Improve Compute Node Performance Brian Kocoloski Jack Lange Department of Computer Science University of Pittsburgh 6/29/2012 1

  2. Department of Computer Science Linux is becoming the dominant supercomputing OS … Source: http://en.wikipedia.org/wiki/File:Operating_systems_used_on_top_500_supercomputers.svg 2

  3. Department of Computer Science … but some applications need less overhead • Lightweight Kernels (LWKs) provide low overhead access to hardware • Q: How do we provide LWKs to applications that need them, but not to those that don’t? • A: Virtualization • Applications running in a virtual environment can outperform the same applications running natively 3

  4. Department of Computer Science Drawbacks of Linux • Memory Management – Biggest problem – Widely recognized as a source of overhead • OS Noise – HPC apps are tightly synchronized – Timing is a big deal • Non-technical 4

  5. Department of Computer Science Disadvantages of Current Schemes • ZeptoOS – “Big Memory” – Memory is statically sized, allocated at boot time – Compatibility • Cray’s CNL – HugeTLBfs – Maximum of 2MB-sized memory regions available 5

  6. Department of Computer Science Our Approach Linux Compute Node OS Hardware No Linux HPC Application Compute Node OS Yes Lightweight Application Needs LWK? Kernel Completes Hardware VMM layer Linux Compute Node OS Hardware 6

  7. Department of Computer Science Palacios • OS-independent embeddable virtual machine monitor • Strip resources away from host OS • Low noise, low overhead memory management • Developed at Northwestern University, University of New Mexico, and University of Pittsburgh • Open source and freely available http://www.v3vee.org/palacios 7

  8. Department of Computer Science Kitten • Lightweight Kernel from Sandia National Labs • Moves resource management as close to application as possible • Mostly Linux-compatible user environment • Modern code-base with Linux-like organization • Open source and freely available http://software.sandia.gov/trac/kitten 8

  9. Department of Computer Science System Architecture 9

  10. Department of Computer Science System Architecture 10

  11. Department of Computer Science System Architecture 11

  12. Department of Computer Science Palacios’ Approach • Memory Management Linux Linux Management Offlined Palacios Linux Management Management Management – Bypass the Linux memory management strategies completely, at run time • OS Noise – Control when the Linux scheduler is able to run – Take advantage of tickless host kernel 12

  13. Department of Computer Science Evaluation • Two part evaluation: 1. Microbenchmarks – Stream, Selfish 2. Miniapplications – HPCCG, pHPCCG • Evaluation is preliminary 1. Currently limited to a single node running a commodity Fedora 15 kernel 2. Environments are not fully optimized 13

  14. Department of Computer Science Environment • Two 6-core processors and 16 GB memory – NUMA design • Kitten VM was configured with 1 GB of memory • Stream, HPCCG used OpenMP for shared memory and ran 10 times 14

  15. Department of Computer Science Stream - Palacios provides ~400 MB/s better memory performance on average than Linux (4.74%) - 0.34 GB/s lower standard deviation on average 15

  16. Department of Computer Science Selfish Detour Linux Kitten 16

  17. Department of Computer Science Selfish Detour Linux Virtualized Kitten 17

  18. Department of Computer Science HPCCG • Performs the conjugate gradient method to solve a system of linear equations represented by a sparse matrix • Workload similar to that of many HPC applications • Separate experiments to represent both CPU and memory intensive workloads 18

  19. Department of Computer Science HPCCG – CPU intensive 19

  20. Department of Computer Science HPCCG – memory intensive 20

  21. Department of Computer Science Future Work • Extend to actual Cray hardware with a CNL host – Show definitively if this approach can work • Explore the possibility that this approach can be deployed in a cloud setting to provide virtual HPC environments on commodity clouds – Previously infeasible, due to the contention, noise, etc. – Problems we think can be solved by the same techniques used in this work 21

  22. Department of Computer Science Conclusions • Palacios is capable of providing superior performance to native Linux • Palacios can provide a low noise environment, even when running on a noisy Linux host • While results are preliminary, they show that this approach is feasible at small scales 22

  23. Department of Computer Science Acknowledgments • Palacios : http://www.v3vee.org/palacios • Kitten : https://software.sandia.gov/trac/kitten • Email : briankoco@cs.pitt.edu jacklange@cs.pitt.edu 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend