1 / 23

Virtual Machine Disk Images Introspection

Virtual Machine Disk Images Introspection. and a bit more. Vasily Tarasov (SBU) Dean Hildebrand (IBM Almaden) Renu Tewari (IBM Almaden) Erez Zadok (SBU). File system and Storage Lab ( F S L ). Outline. How all that started The idea of introspection

Download Presentation

Virtual Machine Disk Images Introspection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Virtual Machine Disk Images Introspection and a bit more... Vasily Tarasov(SBU) Dean Hildebrand (IBM Almaden) Renu Tewari (IBM Almaden) Erez Zadok (SBU) File system and Storage Lab (FSL)

  2. Outline • How all that started • The idea of introspection • A couple of results from a 1st prototype • Future work • Benchmarking, Filebench

  3. Two important technologies • Virtual Machines (VMs) - Computational resources consolidation - Flexible, efficient and scalable - Hardware support - Multiple solutions: VMWare, KVM, Xen, ... - Cloud-way of delivering services • Network Attached Storage (NAS) - Storage consolidation - Scalable, manageable and efficient - NFS/CIFS available on majority of Operating Systems - NAS sales jumped from $540M in 1998 to $5.1B in 2003 - IBM SONAS

  4. Two technologies… Dean VM NAS

  5. …and they grow Dean VM NAS

  6. How do VM & NAS work together? Can we make them work better? IBM VM SO NAS

  7. Typical Setup VM 1-1 Storage 1-1 Virtual Machines Host 1 Storage 1-2 VM 1-2 VM 2-1 NFS CLIENT Virtual Machines Host 2 VM 2-2 GPFSNode 1 GPFSNode 3 Storage 3-1 Storage 3-2 VM 3-1 NFS CLIENT GPFSNode 1 GPFSNode 4 Storage 4-1 Virtual Machines Host 3 Storage 4-2 VM 3-2 VMWare, KVM, XEN, ... NFS CLIENT GPFSNode 1 Storage 2-1 NFS SERVER1 GPFSNode 2 Storage 2-2 NFS SERVER2

  8. – CAching CA – Read-Ahead RA – Request Mangling and Scheduling RM Datapath Decomposed Applications VM Guest Virtual File System CA RA On-Disk File System RA RM CA RA RM Block Layer RM Controller Driver Host CA RA Controller Emulator RM NFS Client NETWORK RM NFS Server CA RA Virtual File System NAS RA RM On-Disk File System CA RA RM Block Layer RM Controller Driver

  9. Collecting traces: setup • Rand/Seq Read • Rand/Seq Write • Various I/O sizes • Multi-file workloads • Multi-process workloads • Meta-data intensive NFS Server VMWare ESX4 Within VM trace 1Gbps VSCSI LayerTrace Block LayerTrace Network Trace

  10. VM Guest Applications Virtual File System On-Disk File System Block Layer Controller Driver Host Controller Emulator NFS Client NETWORK NFS Server NAS Virtual File System On-Disk File System Block Layer Controller Driver Collecting traces: setup User-Space Workload • Rand/Seq Read • Rand/Seq Write • Various I/O sizes • Multi-file workloads • Multi-process workloads • Meta-data intensive VSCSI LayerTrace Network Trace Block LayerTrace

  11. VM Guest Applications Virtual File System On-Disk File System Block Layer Controller Driver Host Controller Emulator NFS Client NETWORK NFS Server NAS Virtual File System On-Disk File System Block Layer Controller Driver Some interesting results 4MB • I/O sizes change 4KB 1MB WIOV’11 - Revisiting the Storage Stack in Virtualized NAS Environments 128KB 32KB 256KB

  12. Meta-data Ops Data Ops Non-VM case VM case • Update attributes • List directories • Creation/deletion • Lookup • Access permissions • Link/Symlink operations # stat /foo/bar # stat /foo/bar sys_stat(/foo/bar) sys_stat(/foo/bar) NFS_GETATTR(foobar_fh) NFS_READ(dskimg_fh) NFS_WRITE(dskimg_fh)

  13. Come up with an idea Disk Image File Ext, NTFS,UFS, ... What is located inthis region? READ(dskfh, offset, len) Offset Size NFS Server • READ from: • Inode • Directory entry • Data of specific file • ... Do intelligent things!

  14. Prototype Results: Find 80% improvement find

  15. Prototype Results: Startup 2.6x times faster 130 sec 50 sec

  16. Future work • Solid implementation • More efficient cache policies • Optimizations on the write path • Analysis of more complex workloads

  17. Virtual Machine Disk Images Introspection a bit more...

  18. A Recent Study Concluded that… • Much of what researchers conclude in their studies is misleading, exaggerated,or flat-out wrong • A new claim about a research findings is more likely to be false than true • Researchers tend to publish positive results more often than negative findings • Chances to be accepted to a conference are higher if the results are “more exciting” HotOS’11: Benchmarking FS Benchmarking: It is Rocket Science 2005-2008 study by J. Ioannidis Sociology Medicine Computer Science A B C Biology D Physics E

  19. Filebench • Originally created by SUN Microsystem(RIP ) • Maintained by FSL • Used in many papers • Flexible: Workload Model Language – WML • Portable: Linux, FreeBSD, Solaris, MacOS, Windows *

  20. Filebench WML define fileset name=myfileset,size=16kb,entries=1000 define processname=reader,instances=1 { thread name=readerthread,memsize=10m,instances=10 { flowop read name=myread,filesetname=myfileset,iosize=2kb } }

  21. Filebench for Cloud Services flowops: • Reads • Writes • Creates • Deletes • +20 moresophisticated POSIX NFS RPC AFS RPC Cloud

  22. Filebench for Virtualized Environments define hypervisorname=hpv,type=esx3.1,instances=1{ define processname=reader,instances=1 { thread name=readerthread,memsize=10m,instances=10 { flowop read name=myread1,filesetname=myfileset,… } } define vmname=hpv,type=windows,instances=5{ } }

  23. Virtual Machine Disk Images Introspection and a bit more... VasilyTarasov(SBU) Dean Hildebrand (IBM Almaden) RenuTewari(IBM Almaden) ErezZadok(SBU) Thank you! File system and Storage Lab (FSL)

More Related