SlideShare a Scribd company logo
1 of 24
Download to read offline
IBM Research




Paravirtualized File Systems



         Eric Van Hensbergen
         IBM Austin Research Lab
         (bergevan@us.ibm.com)




         KVM Forum 2008            © 2008 IBM Corporation
IBM Research




Agenda

     Motivation: Why File Systems?
     Overview of Approach (9P over Virtio)
     9P Basics
     Using 9P/virtio with KVM
     Preliminary Performance
     Future Work



2        Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




Traditional Storage Options
       Virtual Block Devices
        – Generally best performance
        – Built-in mechanisms for copy-on-write, snapshots, etc.
        – Generally exclusive to a guest
           – No easy way to maintain consistency between two guests
             sharing a block device read/write
        – Can be somewhat cumbersome to manage content out of guest
       Network File System
        – Provide mechanisms for consistency (mostly) so enable sharing
        – Can be used with special servers or stackable file systems (ie.
          Unionfs) to provide copy-on-write, snapshots, etc.
        – Incurs extra management and performance overhead
        – NFS (and many others) are quite latency sensitive and don't seem
          to do well over virtualized networks
3       Paravirtualized File Systems – KVM Forum 2008                © 2008 IBM Corporation
IBM Research




Goal

       Provide a direct file system proxy mechanism built
       on top of the native host<->guest I/O transport
       – Avoid unnecessary network and device overhead
       – Opportunity to optimize sharing and management
       Use cases
       – Access to host provided file hierarchy for consistent sharing with
         host and/or other guests
       – Access to transitive mount on host to traditional distributed or
         parallel file system
       – Use as an alternative to virtual disk for root file system so that
         content can be managed more effectively on the host
       – Use as a front-end to a file-system based content addressable
         storage system (such as Venti)

4       Paravirtualized File Systems – KVM Forum 2008                   © 2008 IBM Corporation
IBM Research




9P Basics: Overview

      Pure request/response RPC model
      Transport Independent
      – only requires reliable, in order delivery mechanism
      – can be secured with authentication, encryption, &
        digesting
      By default, requests are synchronous in nature
      avoiding coherence problems and race conditions
      Design stresses keeping things simple resulting in
      small and efficient client and servers

5       Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




9P in the Linux Kernel

       Since 2.6.14
       Small Client Code Base
        – fs/9p: VFS Interface ~1500 lines of code
        – net/9p
           – Core: Protocol Handling ~2500 lines of code
           – FD Transport (sockets, etc.): ~1100 lines of code
           – Virtio Transport: ~300 lines of code
       Small Server Code Base
        – Spfs (standard userspace server): ~7500 lines of code
        – Current KVM-qemu patch: ~1500 lines




6       Paravirtualized File Systems – KVM Forum 2008             © 2008 IBM Corporation
IBM Research




9P Basics: Protocol Overview


    size       op         tag          ...            Numeric pointer to a path element or open file



    size    Twrite tag                fid         offset      count               data



    size    Rwrite tag                 count




             Protocol Specification Available: http://v9fs.sf.net/rfc



7          Paravirtualized File Systems – KVM Forum 2008                                 © 2008 IBM Corporation
IBM Research



                                                           Session Management
9P Basics: Operations
                                                           – Version: protocol version and
    Metadata Management
                                                             capabilities negotiation
    – Stat: retrieve file metadata
                                                           – Attach: user identification and session
    – Wstat: write file metadata                             option negotiation

    File I/O                                               – Auth: user authentication enablement

    – Create: atomic create/open                           – Walk: hierarchy traversal and
                                                             transaction management
    – Open, Read, Write, Close

                                                           Error Management
    – Directory read packaged w/read
      operation (Reads stat information                    – Error: a pending request triggered an
      with file list)                                        error

    – Remove                                               – Flush: cancel a pending request
8          Paravirtualized File Systems – KVM Forum 2008                                  © 2008 IBM Corporation
IBM Research




9P Basics: Unix Extensions

       Existing Support:
       – UID/GID support
       – Error ID support
       – Stat mapping
       – Permissions mapping
       – Symbolic and Hard Links
       – Device Files
       Limitations which need to be overcome
       – File locking
       – Extended Attributes
       – Writable mmap
       – ioctl(?)

9       Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




9P/Virtio: Overview

       New transport module built for 9P which uses virtio
       9P packet buffers are marshaled into 4k chunks and
       shoved into ring buffers
       Client can handle multiple outstanding transactions,
       but server is currently single threaded
       Server is implemented within kvm-qemu (thanks to
       Anthony) and handles service of requests.
       Multiple channels supported, but currently no way of
       specifying which channel you want
       Lguest virtio also supported, but lguest server
       gateways packets from virtio to tcp/ip connection to
       server
10      Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




9P/Virtio: Basic Usage

       Make sure your guest kernel has:
        –9p, 9pnet and 9pnet_virtio kernel modules
       Patch kvm-qemu w/Anthony's patch
       Use -share argument to specify directory hierarchy
       to export when starting kvm-qemu
       Once guest is started:
        –mount -t 9p nodev /mnt -o trans=virtio
       Another Option:
        –Use 9P/virtio to provide root file system



11      Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




Preliminary Performance

       Running on my Thinkpad T60p
        – 2.16 GHz Core Duo
       Host Kernel: Ubuntu 2.6.24-18-generic
       KVM Userspace: kvm-69
       Guest Kernel: Ubuntu 2.6.24-18-generic w/patched
       virtio drivers
       KVM Initialized w/1 CPU and 128MB Memory
     qemu-system-x86_64 -share / -drive "file=/images/kvm-
       8.04.img,if=virtio,boot=on" -append "console=ttyS0" -serial stdio -
       nographic -net nic,module=virtio -net tap,script=/etc/kvm/qemu-ifup




12       Paravirtualized File Systems – KVM Forum 2008              © 2008 IBM Corporation
IBM Research




Preliminary Performance: Dbench

      1000




       100



                                                                                As y nc
                                                                                Sy nc



       10




         1
                        Virtio Dis k                   NFS   9P/v irtio




13           Paravirtualized File Systems – KVM Forum 2008                © 2008 IBM Corporation
IBM Research




Preliminary Performance: Postmark

      1000




       100



                                                                                                   Disk
                                                                                                   NFS
                                                                                                   9P


       10




         1
                  Create         Create/Mix        Read      Append   Delete   Delete/Mix




14           Paravirtualized File Systems – KVM Forum 2008                                  © 2008 IBM Corporation
IBM Research




Preliminary Performance: Bonnie (256MB)

      1000000




       100000




       10000


                                                                            Virtio Dis k
        1000                                                                NFS
                                                                            9P


         100




          10




           1
                     Output               Rewrite         Input   Seek




15        Paravirtualized File Systems – KVM Forum 2008                  © 2008 IBM Corporation
IBM Research




Future Work: Optimization

       Existing KVM server solution is synchronous
       – Use thread pools
       – Use async i/o
       – Use some combination of both
       More aggressive zero-copy support (2.6.27 merge
       window)
       – Current zero-copy only when cache is enabled
       – No write-cache support, so writes aren't zero-copy
       In-kernel server (2.6.28 merge window)
       – Should allow more aggressive zero-copy on the server side
       – Opens up potential for tricks such as guests sharing the server's
         page cache

16      Paravirtualized File Systems – KVM Forum 2008               © 2008 IBM Corporation
IBM Research




Future Work: Cache Mechanisms

      Linux/9P currently supports a loose read cache
       –No read-based coherence, any write-through
        invalidates the entire file's cache
      Write-cache alternatives (2.6.27 merge window)
       –Support write-back as well as write-through
        caching
      Lease based coherent caching part of a parallel
      project road map




17     Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




Future Work: .L extension series

       The 9P protocol is a network mapping of the Plan 9
       file system API
       Many mismatches with Linux/POSIX
       Existing .U extension model is clunky
       Developing a more direct mapping to Linux VFS
        – New opcodes which match VFS API
        – Linux native data formats (stat, permissions, etc.)
        – Direct support of extended attributes, locking, etc.
       Should be able to co-exist with legacy 9P and
       9P2000.u protocols and servers.


18      Paravirtualized File Systems – KVM Forum 2008            © 2008 IBM Corporation
IBM Research




Future Work

      Support multiple 9P connections with string-identifier
      based lookup
      Support guest to guest direct networking
      Use 9P as transport for other devices (block,
      network, audio, graphics)
      Native UID/GID mapping mechanisms
      Better packaging for server and utilities
      Kernel based built-in extensions
       – Composable exportable name space
       – Copy-on-write support & snapshot support
      Bridge based server support
       – Allow gateway of 9P from virtio to network based server
19     Paravirtualized File Systems – KVM Forum 2008               © 2008 IBM Corporation
IBM Research




Related Work

      Power Virtualization 9P Support
      Xen 9P support (currently orphaned)
      Lguest 9P support (virtio gateway to spfs)
      Envoy: Hierarchical Cache for Xen (Cambridge)
      Kvmfs: synthetic file system to control kvm (LANL)
      Plan 9 Kernel KVM and Lguest Support (Sandia)
      Foundation: Venti for storage content-addressable
      backend for vmware (MIT)




20     Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




Thanks

         Virtio development now part of mainline v9fs
         development repository
          –kernel.org:
           /pub/scm/linux/kernel/git/ericvh/v9fs.git#v9fs-devel
         Lguest and KVM server patches have been posted
         to mailing list
          – http://www.kernel.org/~ericvh/virtio
         Thanks to Anthony Ligouri for providing KVM server
         Thanks to Lucho Ionkov (LANL) for contributions to
         9P Linux client, providing the server infrastructure,
         and early work on PCI-based 9P client for KVM

21        Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




                                Backup Slides




22   Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




9P Client/Server Support

       Comprehensive list: http://9p.cat-
       v.org/implementations

       C, C#, Python, Ruby, Java, Python, TCL, Limbo,
       Lisp, OCAML, Scheme, PHP and Javascript

       FUSE Clients (for Linux, BSD, and Mac)

       Native Kernel Support for OpenBSD

       Windows support via Rangboom proprietary client
23      Paravirtualized File Systems – KVM Forum 2008   © 2008 IBM Corporation
IBM Research




9P Packet Trace
     <<< (0x8055650) Tattach tag 0 fid 2 afid -1 uname aname nuname 266594
     >>> (0x8055650) Rattach tag 0 qid (0000000000000002 48513969 'd')
     <<< (0x8055650) Twalk tag 0 fid 1 newfid 3 nwname 1 'test'
     >>> (0x8055650) Rwalk tag 0 nwqid 1 (000000000000401a 48613b9d 'd')
     <<< (0x8055650) Tstat tag 0 fid 3
     >>> (0x8055650) Rstat tag 0 'test' 'ericvh' 'root' '' q (000000000000401a 48513b9d 'd') m d777 at 1213278479 mt 1213283229 l 0 t
        0 d 0 ext ''
     <<< (0x8055650) Twalk tag 0 fid 3 newfid 4 nwname 1 'hello.txt'
     >>> (0x8055650) Rwalk tag 0 nwqid 1 (000000000000401b 4851379d '')
     <<< (0x8055650) Tstat tag 0 fid 4
     >>> (0x8055650) Rstat tag 0 'hello.txt' 'ericvh' 'ericvh' '' q (000000000000401b 4851379d '') m 644 at 1213283229 mt 1213283229 l
        12 t 0 d 0 ext ''
     <<< (0x8055650) Twalk tag 0 fid 4 newfid 5 nwname 0
     >>> (0x8055650) Rwalk tag 0 nwqid 0
     <<< (0x8055650) Topen tag 0 fid 5 mode 0
     >>> (0x8055650) Ropen tag 0 (000000000000401b 4851379d '') iounit 0
     <<< (0x8055650) Tstat tag 0 fid 4
     >>> (0x8055650) Rstat tag 0 'hello.txt' 'ericvh' 'ericvh' '' q (000000000000401b 4851379d '') m 644 at 1213283229 mt 1213283229 l
        12 t 0 d 0 ext ''
     <<< (0x8055650) Tread tag 0 fid 5 offset 0 count 8192
     >>> (0x8055650) Rread tag 0 count 12 data 68656c6c 6f20776f 726c640a

     <<< (0x8055650) Tread tag 0 fid 5 offset 12 count 8192
     >>> (0x8055650) Rread tag 0 count 0 data

     <<< (0x8055650) Tclunk tag 0 fid 5
     >>> (0x8055650) Rclunk tag 0
     <<< (0x8055650) Tclunk tag 0 fid 4
     >>> (0x8055650) Rclunk tag 0
     <<< (0x8055650) Tclunk tag 0 fid 3
     >>> (0x8055650) Rclunk tag 0


24          Paravirtualized File Systems – KVM Forum 2008                                                             © 2008 IBM Corporation

More Related Content

What's hot

bfarm-v2
bfarm-v2bfarm-v2
bfarm-v2Zeus G
 
#IBMEdge: "Not all Networks are Equal"
#IBMEdge: "Not all Networks are Equal" #IBMEdge: "Not all Networks are Equal"
#IBMEdge: "Not all Networks are Equal" Brocade
 
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...The Linux Foundation
 
What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...
What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...
What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...Novell
 
Towards Software Defined Persistent Memory
Towards Software Defined Persistent MemoryTowards Software Defined Persistent Memory
Towards Software Defined Persistent MemorySwaminathan Sundararaman
 
Securing Your Linux System
Securing Your Linux SystemSecuring Your Linux System
Securing Your Linux SystemNovell
 
Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...Francesco Taurino
 
High-Performance Big Data Analytics with RDMA over NVM and NVMe-SSD
High-Performance Big Data Analytics with RDMA over NVM and NVMe-SSDHigh-Performance Big Data Analytics with RDMA over NVM and NVMe-SSD
High-Performance Big Data Analytics with RDMA over NVM and NVMe-SSDinside-BigData.com
 
NVMe Takes It All, SCSI Has To Fall
NVMe Takes It All, SCSI Has To FallNVMe Takes It All, SCSI Has To Fall
NVMe Takes It All, SCSI Has To Fallinside-BigData.com
 
Advanced Components on Top of L4Re
Advanced Components on Top of L4ReAdvanced Components on Top of L4Re
Advanced Components on Top of L4ReVasily Sartakov
 
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsF9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsNational Cheng Kung University
 
4 implementation
4 implementation4 implementation
4 implementationhanmya
 
Embedded Linux/ Debian with ARM64 Platform
Embedded Linux/ Debian with ARM64 PlatformEmbedded Linux/ Debian with ARM64 Platform
Embedded Linux/ Debian with ARM64 PlatformSZ Lin
 
Introduction to Microkernels
Introduction to MicrokernelsIntroduction to Microkernels
Introduction to MicrokernelsVasily Sartakov
 

What's hot (19)

bfarm-v2
bfarm-v2bfarm-v2
bfarm-v2
 
#IBMEdge: "Not all Networks are Equal"
#IBMEdge: "Not all Networks are Equal" #IBMEdge: "Not all Networks are Equal"
#IBMEdge: "Not all Networks are Equal"
 
Syllable OS
Syllable OSSyllable OS
Syllable OS
 
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
 
What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...
What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...
What's LUM Got To Do with It: Deployment Considerations for Linux User Manage...
 
Towards Software Defined Persistent Memory
Towards Software Defined Persistent MemoryTowards Software Defined Persistent Memory
Towards Software Defined Persistent Memory
 
Securing Your Linux System
Securing Your Linux SystemSecuring Your Linux System
Securing Your Linux System
 
Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...Design and implementation of a reliable and cost-effective cloud computing in...
Design and implementation of a reliable and cost-effective cloud computing in...
 
High-Performance Big Data Analytics with RDMA over NVM and NVMe-SSD
High-Performance Big Data Analytics with RDMA over NVM and NVMe-SSDHigh-Performance Big Data Analytics with RDMA over NVM and NVMe-SSD
High-Performance Big Data Analytics with RDMA over NVM and NVMe-SSD
 
NVMe Takes It All, SCSI Has To Fall
NVMe Takes It All, SCSI Has To FallNVMe Takes It All, SCSI Has To Fall
NVMe Takes It All, SCSI Has To Fall
 
Advanced Components on Top of L4Re
Advanced Components on Top of L4ReAdvanced Components on Top of L4Re
Advanced Components on Top of L4Re
 
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded SystemsF9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
F9: A Secure and Efficient Microkernel Built for Deeply Embedded Systems
 
4 implementation
4 implementation4 implementation
4 implementation
 
Memory, IPC and L4Re
Memory, IPC and L4ReMemory, IPC and L4Re
Memory, IPC and L4Re
 
Embedded Linux/ Debian with ARM64 Platform
Embedded Linux/ Debian with ARM64 PlatformEmbedded Linux/ Debian with ARM64 Platform
Embedded Linux/ Debian with ARM64 Platform
 
Introduction to Microkernels
Introduction to MicrokernelsIntroduction to Microkernels
Introduction to Microkernels
 
NAS Concepts
NAS ConceptsNAS Concepts
NAS Concepts
 
Handout2o
Handout2oHandout2o
Handout2o
 
XS Boston 2008 ARM
XS Boston 2008 ARMXS Boston 2008 ARM
XS Boston 2008 ARM
 

Similar to Paravirtualized File Systems

pnfs status
pnfs statuspnfs status
pnfs statusbergwolf
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
File Access in Novell Open Enterprise Server 2 SP2
File Access in Novell Open Enterprise Server 2 SP2File Access in Novell Open Enterprise Server 2 SP2
File Access in Novell Open Enterprise Server 2 SP2Novell
 
Network Attached Storage Details enivorments.ppt
Network Attached Storage Details enivorments.pptNetwork Attached Storage Details enivorments.ppt
Network Attached Storage Details enivorments.pptLakshmi101519
 
Malware analysis
Malware analysisMalware analysis
Malware analysisxabean
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefsbergwolf
 
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyLinux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyBoden Russell
 
KVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStackKVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStackBoden Russell
 
An Introduce of OPNFV (Open Platform for NFV)
An Introduce of OPNFV (Open Platform for NFV)An Introduce of OPNFV (Open Platform for NFV)
An Introduce of OPNFV (Open Platform for NFV)Mario Cho
 
Symantec Cloud Storage Offering: FileStore
Symantec Cloud Storage Offering: FileStoreSymantec Cloud Storage Offering: FileStore
Symantec Cloud Storage Offering: FileStoreSymantec
 
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
 
Virtualization Changes Storage
Virtualization Changes StorageVirtualization Changes Storage
Virtualization Changes StorageStephen Foskett
 
SecureZIP @ HSBC
SecureZIP @ HSBCSecureZIP @ HSBC
SecureZIP @ HSBCddelockery
 

Similar to Paravirtualized File Systems (20)

pnfs status
pnfs statuspnfs status
pnfs status
 
Pnfs
PnfsPnfs
Pnfs
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
File Access in Novell Open Enterprise Server 2 SP2
File Access in Novell Open Enterprise Server 2 SP2File Access in Novell Open Enterprise Server 2 SP2
File Access in Novell Open Enterprise Server 2 SP2
 
Network Attached Storage Details enivorments.ppt
Network Attached Storage Details enivorments.pptNetwork Attached Storage Details enivorments.ppt
Network Attached Storage Details enivorments.ppt
 
Libra Library OS
Libra Library OSLibra Library OS
Libra Library OS
 
Malware analysis
Malware analysisMalware analysis
Malware analysis
 
Nas fundamentals
Nas fundamentalsNas fundamentals
Nas fundamentals
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefs
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Cl116
Cl116Cl116
Cl116
 
BSDCan2006.pdf
BSDCan2006.pdfBSDCan2006.pdf
BSDCan2006.pdf
 
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyLinux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
 
KVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStackKVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStack
 
An Introduce of OPNFV (Open Platform for NFV)
An Introduce of OPNFV (Open Platform for NFV)An Introduce of OPNFV (Open Platform for NFV)
An Introduce of OPNFV (Open Platform for NFV)
 
Symantec Cloud Storage Offering: FileStore
Symantec Cloud Storage Offering: FileStoreSymantec Cloud Storage Offering: FileStore
Symantec Cloud Storage Offering: FileStore
 
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...
 
Virtualization Changes Storage
Virtualization Changes StorageVirtualization Changes Storage
Virtualization Changes Storage
 
CLFS 2010
CLFS 2010CLFS 2010
CLFS 2010
 
SecureZIP @ HSBC
SecureZIP @ HSBCSecureZIP @ HSBC
SecureZIP @ HSBC
 

More from Eric Van Hensbergen

More from Eric Van Hensbergen (17)

Scaling Arm from One to One Trillion
Scaling Arm from One to One TrillionScaling Arm from One to One Trillion
Scaling Arm from One to One Trillion
 
ISC14 Embedded HPC BoF Panel Presentation
ISC14 Embedded HPC BoF Panel PresentationISC14 Embedded HPC BoF Panel Presentation
ISC14 Embedded HPC BoF Panel Presentation
 
Simulation Directed Co-Design from Smartphones to Supercomputers
Simulation Directed Co-Design from Smartphones to SupercomputersSimulation Directed Co-Design from Smartphones to Supercomputers
Simulation Directed Co-Design from Smartphones to Supercomputers
 
Brasil Ross 2011
Brasil Ross 2011Brasil Ross 2011
Brasil Ross 2011
 
Scalable Elastic Systems Architecture (SESA)
Scalable Elastic Systems Architecture (SESA)Scalable Elastic Systems Architecture (SESA)
Scalable Elastic Systems Architecture (SESA)
 
Multipipes
MultipipesMultipipes
Multipipes
 
Multi-pipes
Multi-pipesMulti-pipes
Multi-pipes
 
HARE 2010 Review
HARE 2010 ReviewHARE 2010 Review
HARE 2010 Review
 
PUSH-- a Dataflow Shell
PUSH-- a Dataflow ShellPUSH-- a Dataflow Shell
PUSH-- a Dataflow Shell
 
XCPU3: Workload Distribution and Aggregation
XCPU3: Workload Distribution and AggregationXCPU3: Workload Distribution and Aggregation
XCPU3: Workload Distribution and Aggregation
 
9P Code Walkthrough
9P Code Walkthrough9P Code Walkthrough
9P Code Walkthrough
 
Push Podc09
Push Podc09Push Podc09
Push Podc09
 
Libra: a Library OS for a JVM
Libra: a Library OS for a JVMLibra: a Library OS for a JVM
Libra: a Library OS for a JVM
 
Effect of Virtualization on OS Interference
Effect of Virtualization on OS InterferenceEffect of Virtualization on OS Interference
Effect of Virtualization on OS Interference
 
PROSE
PROSEPROSE
PROSE
 
Systems Support for Many Task Computing
Systems Support for Many Task ComputingSystems Support for Many Task Computing
Systems Support for Many Task Computing
 
Holistic Aggregate Resource Environment
Holistic Aggregate Resource EnvironmentHolistic Aggregate Resource Environment
Holistic Aggregate Resource Environment
 

Recently uploaded

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

Paravirtualized File Systems

  • 1. IBM Research Paravirtualized File Systems Eric Van Hensbergen IBM Austin Research Lab (bergevan@us.ibm.com) KVM Forum 2008 © 2008 IBM Corporation
  • 2. IBM Research Agenda Motivation: Why File Systems? Overview of Approach (9P over Virtio) 9P Basics Using 9P/virtio with KVM Preliminary Performance Future Work 2 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 3. IBM Research Traditional Storage Options Virtual Block Devices – Generally best performance – Built-in mechanisms for copy-on-write, snapshots, etc. – Generally exclusive to a guest – No easy way to maintain consistency between two guests sharing a block device read/write – Can be somewhat cumbersome to manage content out of guest Network File System – Provide mechanisms for consistency (mostly) so enable sharing – Can be used with special servers or stackable file systems (ie. Unionfs) to provide copy-on-write, snapshots, etc. – Incurs extra management and performance overhead – NFS (and many others) are quite latency sensitive and don't seem to do well over virtualized networks 3 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 4. IBM Research Goal Provide a direct file system proxy mechanism built on top of the native host<->guest I/O transport – Avoid unnecessary network and device overhead – Opportunity to optimize sharing and management Use cases – Access to host provided file hierarchy for consistent sharing with host and/or other guests – Access to transitive mount on host to traditional distributed or parallel file system – Use as an alternative to virtual disk for root file system so that content can be managed more effectively on the host – Use as a front-end to a file-system based content addressable storage system (such as Venti) 4 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 5. IBM Research 9P Basics: Overview Pure request/response RPC model Transport Independent – only requires reliable, in order delivery mechanism – can be secured with authentication, encryption, & digesting By default, requests are synchronous in nature avoiding coherence problems and race conditions Design stresses keeping things simple resulting in small and efficient client and servers 5 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 6. IBM Research 9P in the Linux Kernel Since 2.6.14 Small Client Code Base – fs/9p: VFS Interface ~1500 lines of code – net/9p – Core: Protocol Handling ~2500 lines of code – FD Transport (sockets, etc.): ~1100 lines of code – Virtio Transport: ~300 lines of code Small Server Code Base – Spfs (standard userspace server): ~7500 lines of code – Current KVM-qemu patch: ~1500 lines 6 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 7. IBM Research 9P Basics: Protocol Overview size op tag ... Numeric pointer to a path element or open file size Twrite tag fid offset count data size Rwrite tag count Protocol Specification Available: http://v9fs.sf.net/rfc 7 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 8. IBM Research Session Management 9P Basics: Operations – Version: protocol version and Metadata Management capabilities negotiation – Stat: retrieve file metadata – Attach: user identification and session – Wstat: write file metadata option negotiation File I/O – Auth: user authentication enablement – Create: atomic create/open – Walk: hierarchy traversal and transaction management – Open, Read, Write, Close Error Management – Directory read packaged w/read operation (Reads stat information – Error: a pending request triggered an with file list) error – Remove – Flush: cancel a pending request 8 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 9. IBM Research 9P Basics: Unix Extensions Existing Support: – UID/GID support – Error ID support – Stat mapping – Permissions mapping – Symbolic and Hard Links – Device Files Limitations which need to be overcome – File locking – Extended Attributes – Writable mmap – ioctl(?) 9 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 10. IBM Research 9P/Virtio: Overview New transport module built for 9P which uses virtio 9P packet buffers are marshaled into 4k chunks and shoved into ring buffers Client can handle multiple outstanding transactions, but server is currently single threaded Server is implemented within kvm-qemu (thanks to Anthony) and handles service of requests. Multiple channels supported, but currently no way of specifying which channel you want Lguest virtio also supported, but lguest server gateways packets from virtio to tcp/ip connection to server 10 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 11. IBM Research 9P/Virtio: Basic Usage Make sure your guest kernel has: –9p, 9pnet and 9pnet_virtio kernel modules Patch kvm-qemu w/Anthony's patch Use -share argument to specify directory hierarchy to export when starting kvm-qemu Once guest is started: –mount -t 9p nodev /mnt -o trans=virtio Another Option: –Use 9P/virtio to provide root file system 11 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 12. IBM Research Preliminary Performance Running on my Thinkpad T60p – 2.16 GHz Core Duo Host Kernel: Ubuntu 2.6.24-18-generic KVM Userspace: kvm-69 Guest Kernel: Ubuntu 2.6.24-18-generic w/patched virtio drivers KVM Initialized w/1 CPU and 128MB Memory qemu-system-x86_64 -share / -drive "file=/images/kvm- 8.04.img,if=virtio,boot=on" -append "console=ttyS0" -serial stdio - nographic -net nic,module=virtio -net tap,script=/etc/kvm/qemu-ifup 12 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 13. IBM Research Preliminary Performance: Dbench 1000 100 As y nc Sy nc 10 1 Virtio Dis k NFS 9P/v irtio 13 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 14. IBM Research Preliminary Performance: Postmark 1000 100 Disk NFS 9P 10 1 Create Create/Mix Read Append Delete Delete/Mix 14 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 15. IBM Research Preliminary Performance: Bonnie (256MB) 1000000 100000 10000 Virtio Dis k 1000 NFS 9P 100 10 1 Output Rewrite Input Seek 15 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 16. IBM Research Future Work: Optimization Existing KVM server solution is synchronous – Use thread pools – Use async i/o – Use some combination of both More aggressive zero-copy support (2.6.27 merge window) – Current zero-copy only when cache is enabled – No write-cache support, so writes aren't zero-copy In-kernel server (2.6.28 merge window) – Should allow more aggressive zero-copy on the server side – Opens up potential for tricks such as guests sharing the server's page cache 16 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 17. IBM Research Future Work: Cache Mechanisms Linux/9P currently supports a loose read cache –No read-based coherence, any write-through invalidates the entire file's cache Write-cache alternatives (2.6.27 merge window) –Support write-back as well as write-through caching Lease based coherent caching part of a parallel project road map 17 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 18. IBM Research Future Work: .L extension series The 9P protocol is a network mapping of the Plan 9 file system API Many mismatches with Linux/POSIX Existing .U extension model is clunky Developing a more direct mapping to Linux VFS – New opcodes which match VFS API – Linux native data formats (stat, permissions, etc.) – Direct support of extended attributes, locking, etc. Should be able to co-exist with legacy 9P and 9P2000.u protocols and servers. 18 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 19. IBM Research Future Work Support multiple 9P connections with string-identifier based lookup Support guest to guest direct networking Use 9P as transport for other devices (block, network, audio, graphics) Native UID/GID mapping mechanisms Better packaging for server and utilities Kernel based built-in extensions – Composable exportable name space – Copy-on-write support & snapshot support Bridge based server support – Allow gateway of 9P from virtio to network based server 19 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 20. IBM Research Related Work Power Virtualization 9P Support Xen 9P support (currently orphaned) Lguest 9P support (virtio gateway to spfs) Envoy: Hierarchical Cache for Xen (Cambridge) Kvmfs: synthetic file system to control kvm (LANL) Plan 9 Kernel KVM and Lguest Support (Sandia) Foundation: Venti for storage content-addressable backend for vmware (MIT) 20 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 21. IBM Research Thanks Virtio development now part of mainline v9fs development repository –kernel.org: /pub/scm/linux/kernel/git/ericvh/v9fs.git#v9fs-devel Lguest and KVM server patches have been posted to mailing list – http://www.kernel.org/~ericvh/virtio Thanks to Anthony Ligouri for providing KVM server Thanks to Lucho Ionkov (LANL) for contributions to 9P Linux client, providing the server infrastructure, and early work on PCI-based 9P client for KVM 21 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 22. IBM Research Backup Slides 22 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 23. IBM Research 9P Client/Server Support Comprehensive list: http://9p.cat- v.org/implementations C, C#, Python, Ruby, Java, Python, TCL, Limbo, Lisp, OCAML, Scheme, PHP and Javascript FUSE Clients (for Linux, BSD, and Mac) Native Kernel Support for OpenBSD Windows support via Rangboom proprietary client 23 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation
  • 24. IBM Research 9P Packet Trace <<< (0x8055650) Tattach tag 0 fid 2 afid -1 uname aname nuname 266594 >>> (0x8055650) Rattach tag 0 qid (0000000000000002 48513969 'd') <<< (0x8055650) Twalk tag 0 fid 1 newfid 3 nwname 1 'test' >>> (0x8055650) Rwalk tag 0 nwqid 1 (000000000000401a 48613b9d 'd') <<< (0x8055650) Tstat tag 0 fid 3 >>> (0x8055650) Rstat tag 0 'test' 'ericvh' 'root' '' q (000000000000401a 48513b9d 'd') m d777 at 1213278479 mt 1213283229 l 0 t 0 d 0 ext '' <<< (0x8055650) Twalk tag 0 fid 3 newfid 4 nwname 1 'hello.txt' >>> (0x8055650) Rwalk tag 0 nwqid 1 (000000000000401b 4851379d '') <<< (0x8055650) Tstat tag 0 fid 4 >>> (0x8055650) Rstat tag 0 'hello.txt' 'ericvh' 'ericvh' '' q (000000000000401b 4851379d '') m 644 at 1213283229 mt 1213283229 l 12 t 0 d 0 ext '' <<< (0x8055650) Twalk tag 0 fid 4 newfid 5 nwname 0 >>> (0x8055650) Rwalk tag 0 nwqid 0 <<< (0x8055650) Topen tag 0 fid 5 mode 0 >>> (0x8055650) Ropen tag 0 (000000000000401b 4851379d '') iounit 0 <<< (0x8055650) Tstat tag 0 fid 4 >>> (0x8055650) Rstat tag 0 'hello.txt' 'ericvh' 'ericvh' '' q (000000000000401b 4851379d '') m 644 at 1213283229 mt 1213283229 l 12 t 0 d 0 ext '' <<< (0x8055650) Tread tag 0 fid 5 offset 0 count 8192 >>> (0x8055650) Rread tag 0 count 12 data 68656c6c 6f20776f 726c640a <<< (0x8055650) Tread tag 0 fid 5 offset 12 count 8192 >>> (0x8055650) Rread tag 0 count 0 data <<< (0x8055650) Tclunk tag 0 fid 5 >>> (0x8055650) Rclunk tag 0 <<< (0x8055650) Tclunk tag 0 fid 4 >>> (0x8055650) Rclunk tag 0 <<< (0x8055650) Tclunk tag 0 fid 3 >>> (0x8055650) Rclunk tag 0 24 Paravirtualized File Systems – KVM Forum 2008 © 2008 IBM Corporation