SlideShare uma empresa Scribd logo
1 de 33
Storage Virtualization
        and
    VDI Storage
      Sisimon Soman
Agenda
•   Datacenter Storage in General
•   DAS, NAS and SAN
•   Storage Virtualization
•   VDI Storage
    – Issues with VDI Storage
    – Solutions for Performance issues
Study by IDC
• In 2011 roughly 1.8 trillion GBs of data
  created.
• Total data doubled in last two years.
• The prediction is total data will grow by
  50x in next decade.
• Too much of unstructured data.
• Disks are still in stone-age with motor,
  spindle and head.

                     Numbers collected from EMC.com which is available for public
Types of Storage
• Classify into three according to the access
  mechanism between server and storage.
  – Direct Attached Storage (DAS)
  – Network Attached Storage (NAS)
  – Storage Area Network (SAN)
Direct Attached Storage (DAS)



                          SCSI




•   Disk(s) directly connected to the machine.
•   Most simple/common storage.
•   Example: Our Laptops, Desk tops etc
Network Attached Storage

Servers

                             LAN
                              LAN


                                                  NAS box




    • Uses CIFS/NFS protocol to access files.
    • Similar to a remote shared folder.
    • Client side redirector forward the file requests to
      NAS box.
    • Example: EMC Celerra, NetApp FAS
NAS - Module diagram
             Server
         Application                      NAS Box
User Space
Kernel Space

       File System Redirector
                                  CIFS Protocol Layer   File System

       CIFS Protocol Layer
                                  TCP/IP Stack          Volume Manager

       TCP/IP Stack
                                  NIC Driver            Disk Driver

       NIC Driver




                                LAN
                                 LAN
What is a SAN




                               EMC Symmetrix DMX 2000
EMC Symmetrix DMX 1000
SAN Continued..
                     Servers




                    Fibre Channel Switch




                     SAN



• Example : EMC Symmetrix, CLARiiON
SAN Architecture



                                 Disks




GBs of memory in
each controller




                              Controllers/Storage Processors (It can be
                              ACTIVE-ACTIVE or ACTIVE-PASSIVE)




                          Fibre Channel Switch
Difference between SAN and NAS
• In NAS ‘file streams’ are transferred thru
  wire.
• In SAN ‘disk blocks’ are read from
  storage.
• In SAN Fibre Channel is the common
  communication mechanism. (SAN support
  SCSI over TCP/IP also, which is called
  iSCSI)
• In NAS file streams transfer over TCP/IP
  stack.
Common features of SAN
•   Backup
•   Replication
•   Snapshot
•   Features specific to SAN like SRDF for
    Symmetrix




                              SAN Specific data collected from wikipedia
Storage Virtualization - Advantages
• Hide the internal complexity of storage
  system.
• Better Disk block usage – Study shows
  only 30-40% of disk space is used
  effectively.
• Better Performance.
• Scalability.
Taxonomy of Storage Virtualization

• Virtualization at Host Operating system
  storage stack.
• Switch/Appliance based Virtualization.
• Virtualization at external storage array
  (SAN).
Storage Stack
                                               Application
                        User Space

                      Kernel Space
                                          File System
                                          Volume Manager
Host Operating system Storage stack
                                          Disk Class Driver
                                          Hardware Driver

                             Fibre channel adapter

                                                 Fibre Channel cable

                          Fibre channel Switch




                                         SAN
Virtualization at Operating Storage
                Stack
• A typical Windows Storage stack


    IO Request flow thru
    each layer
                           File System

                           Volume Manager

                           Disk Class Driver

                           Hardware Driver
Virtualization at File System Layer
                                                         File1.doc
                    Virtual Cluster Number (VCN)




File System

Volume Manager

Disk Class Driver         Logical Cluster Number (LCN)
                                                   Disk blocks

Hardware Driver



• NTFS expose IOCTL FSCTL_GET_RETRIEVAL_POINTERS, so
  that any app can query VCN-LCN mapping. Usually the disk
  defragment app uses this IOCTL.
HSM File System (Tiered Storage)

                    Only 20-30% of
                    actively used data

        RAM
      ($50/MB)


    SAN ($.5/MB)


   TAPE($.05/MB)




• Ex: EMC DiskXtender
Virtualization at Volume Manager -
                 RAID




                                                   RAID

• RAID 5 - Also know as Striped Volume with parity.
• Fault tolerance is achieved by reserving an equivalent of
  one disk for keeping parity information.
• Rotate the parity stripe to all disks - Avoid the possibility
  of parity disk become busy all time.
Virtualization at Disk Controller

                                                          LBA 1

                                                          LBA 2

                                                          LBA 3

                                                          LBA 4

                                                          LBA 5

                                                          LBA n




•   Disk Controller convert Logical Block Address to Cylinder Head
    Sector address.
•   Disk controller take care of damaged sectors also.
Putting it all together




Windows Storage Stack
Switch based Virtualization
• Combine LUNs from one or more Arrays to a
  single virtual LUN and pass to host OS.
• Take one big LUN from one Array, divide it and
  give to different host OS.
• Security – One host can see certain LUNs only.
• Vendors are adding more intelligence in switch
  level like advanced volume management,
  caching, QoS functions…
• EMC Invista, IBM SAN Volume Controller
Switch level Virtualization




                          Intelligent switch – Virtualize LUNs from
                          different array




         IBM EMC HP HDX
Virtualization at SAN



Virtual Disk




               Disk in the
               storage array
VDI Storage
Problems with VDI Storage
• Boot/Login Storm
• App Storm
• Virus scanning.
• Many PoC fails or end up with more cost
  because of storage array cost.
• Some queries in XD/VDI-in-a box forum
    – Bootup time of approx ~170 min.
    – Slow logon.
    – Do I need to put dedicated LUN to each
      server.
Windows partition alignment
            issue
• Data stored in disk as blocks. Block size
  vary, usually 64K (multiple of OS page
  size).
• Windows XP/2003 write signature starting
  of partition and actual partition start at 63
  sectors to make it aligned with disk
  cylinder boundaries.
• This can result in extra IOs.
• The partition should aligned with SSD
  cache/storage block.
Windows 2003 partition

       Partition starting at less SSD friendly location




Signature                           NTFS Volume 1


 Block 1       Block 2         Block 3        Block 4     Block 5   Block 6
IO Blender problem
• Sequential and Random IO.
• OS try to make the IO sequential –
  Windows Cache Mgr and SCSI/Storport
  driver, Linux Buffer cache and IO
  Scheduler.
• Hypervisor screw-up this optimization.
• OS think data from block storage,
  hypervisor convert it to VHD file (.vmdk)
Read/Write IOPs
• Write IOPs are costly – Cache flushing,
  RAID cost..
• Windows Paging IO – Paging IOs are
  sensitive and slowing down it reduce
  system performance.
• Memory intensive App may increase
  Paging IO. Number of Paging writes may
  go higher than write IOs from App.
What is new in VDI Storage
• More than a dozen Storage Startups
• Driver at guest OS stack to profile IOs.
• Module at Hypervisor storage stack which
  do actual IO scheduling.
• Merge random IOs, Dedupe and
  compression(make ssd cache effective).
• SSD cache
• Algorithm to analyze App IOPs(profiling)
  and scheduling is proprietary to vendors.
What is new in VDI Storage

    OS 1              OS 2            OS 3

   IO Profiler       IO Profiler     IO Profiler


                 Hypervisor
                    IO Scheduler


                   Hardware
                 SSD Cache/Storage
Questions ?

Mais conteúdo relacionado

Mais procurados

Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualizationrjain51
 
Emc san-overview-presentation
Emc san-overview-presentationEmc san-overview-presentation
Emc san-overview-presentationjabramo
 
Storage Area Networks Unit 2 Notes
Storage Area Networks Unit 2 NotesStorage Area Networks Unit 2 Notes
Storage Area Networks Unit 2 NotesSudarshan Dhondaley
 
SAN and NAS Concepts - Eric Vanderburg - JurInnov
SAN and NAS Concepts - Eric Vanderburg - JurInnovSAN and NAS Concepts - Eric Vanderburg - JurInnov
SAN and NAS Concepts - Eric Vanderburg - JurInnovEric Vanderburg
 
Storage Area Networks Unit 1 Notes
Storage Area Networks Unit 1 NotesStorage Area Networks Unit 1 Notes
Storage Area Networks Unit 1 NotesSudarshan Dhondaley
 
Network Attached Storage (NAS) Initiative
Network Attached Storage (NAS) Initiative Network Attached Storage (NAS) Initiative
Network Attached Storage (NAS) Initiative Gary Wilhelm
 
Network attached storage different from traditional file servers & implemen
Network attached storage different from traditional file servers & implemenNetwork attached storage different from traditional file servers & implemen
Network attached storage different from traditional file servers & implemenIAEME Publication
 
Storage Technology Overview
Storage Technology OverviewStorage Technology Overview
Storage Technology Overviewnomathjobs
 
Storage Primer
Storage PrimerStorage Primer
Storage Primersriramr
 
Understanding nas (network attached storage)
Understanding nas (network attached storage)Understanding nas (network attached storage)
Understanding nas (network attached storage)sagaroceanic11
 
Understanding das-nas-san
Understanding das-nas-sanUnderstanding das-nas-san
Understanding das-nas-sanAshwin Pawar
 
Storage Area Networks Unit 3 Notes
Storage Area Networks Unit 3 NotesStorage Area Networks Unit 3 Notes
Storage Area Networks Unit 3 NotesSudarshan Dhondaley
 
Storage Area Networks Unit 4 Notes
Storage Area Networks Unit 4 NotesStorage Area Networks Unit 4 Notes
Storage Area Networks Unit 4 NotesSudarshan Dhondaley
 
Network attached storage (nas)
Network attached storage (nas)Network attached storage (nas)
Network attached storage (nas)Vîvék Thørät
 

Mais procurados (20)

Storage Virtualization
Storage VirtualizationStorage Virtualization
Storage Virtualization
 
network storage
network storagenetwork storage
network storage
 
NAS Concepts
NAS ConceptsNAS Concepts
NAS Concepts
 
Emc san-overview-presentation
Emc san-overview-presentationEmc san-overview-presentation
Emc san-overview-presentation
 
Storage Managment
Storage ManagmentStorage Managment
Storage Managment
 
Storage Area Networks Unit 2 Notes
Storage Area Networks Unit 2 NotesStorage Area Networks Unit 2 Notes
Storage Area Networks Unit 2 Notes
 
SAN and NAS Concepts - Eric Vanderburg - JurInnov
SAN and NAS Concepts - Eric Vanderburg - JurInnovSAN and NAS Concepts - Eric Vanderburg - JurInnov
SAN and NAS Concepts - Eric Vanderburg - JurInnov
 
Storage Area Networks Unit 1 Notes
Storage Area Networks Unit 1 NotesStorage Area Networks Unit 1 Notes
Storage Area Networks Unit 1 Notes
 
Network Attached Storage (NAS) Initiative
Network Attached Storage (NAS) Initiative Network Attached Storage (NAS) Initiative
Network Attached Storage (NAS) Initiative
 
Major project report
Major project reportMajor project report
Major project report
 
Network attached storage different from traditional file servers & implemen
Network attached storage different from traditional file servers & implemenNetwork attached storage different from traditional file servers & implemen
Network attached storage different from traditional file servers & implemen
 
Storage Technology Overview
Storage Technology OverviewStorage Technology Overview
Storage Technology Overview
 
Storage Primer
Storage PrimerStorage Primer
Storage Primer
 
Understanding nas (network attached storage)
Understanding nas (network attached storage)Understanding nas (network attached storage)
Understanding nas (network attached storage)
 
Understanding das-nas-san
Understanding das-nas-sanUnderstanding das-nas-san
Understanding das-nas-san
 
Storage Area Network interview Questions
Storage Area Network interview QuestionsStorage Area Network interview Questions
Storage Area Network interview Questions
 
Storage Area Networks Unit 3 Notes
Storage Area Networks Unit 3 NotesStorage Area Networks Unit 3 Notes
Storage Area Networks Unit 3 Notes
 
Storage Area Networks Unit 4 Notes
Storage Area Networks Unit 4 NotesStorage Area Networks Unit 4 Notes
Storage Area Networks Unit 4 Notes
 
Storage Networks
Storage NetworksStorage Networks
Storage Networks
 
Network attached storage (nas)
Network attached storage (nas)Network attached storage (nas)
Network attached storage (nas)
 

Destaque

Vdi And Storage Deep Impact V1 0
Vdi And Storage   Deep Impact V1 0Vdi And Storage   Deep Impact V1 0
Vdi And Storage Deep Impact V1 0Zernike College
 
IBM Storage Virtualization
IBM Storage VirtualizationIBM Storage Virtualization
IBM Storage VirtualizationIBM Danmark
 
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
XenServer, Hyper-V, and ESXi -  Architecture, API, and CodingXenServer, Hyper-V, and ESXi -  Architecture, API, and Coding
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding_Humair_Ahmed_
 
HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009Louis Göhl
 
VSAN – Architettura e Design
VSAN – Architettura e DesignVSAN – Architettura e Design
VSAN – Architettura e DesignVMUG IT
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentationvirtualsouthwest
 
Virtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareVirtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareDuncan Epping
 
VMware VSAN Technical Deep Dive - March 2014
VMware VSAN Technical Deep Dive - March 2014VMware VSAN Technical Deep Dive - March 2014
VMware VSAN Technical Deep Dive - March 2014David Davis
 

Destaque (9)

Vdi And Storage Deep Impact V1 0
Vdi And Storage   Deep Impact V1 0Vdi And Storage   Deep Impact V1 0
Vdi And Storage Deep Impact V1 0
 
IBM Storage Virtualization
IBM Storage VirtualizationIBM Storage Virtualization
IBM Storage Virtualization
 
Storage for VDI
Storage for VDIStorage for VDI
Storage for VDI
 
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
XenServer, Hyper-V, and ESXi -  Architecture, API, and CodingXenServer, Hyper-V, and ESXi -  Architecture, API, and Coding
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
 
HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009HP Bladesystem Overview September 2009
HP Bladesystem Overview September 2009
 
VSAN – Architettura e Design
VSAN – Architettura e DesignVSAN – Architettura e Design
VSAN – Architettura e Design
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentation
 
Virtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure softwareVirtual SAN 6.2, hyper-converged infrastructure software
Virtual SAN 6.2, hyper-converged infrastructure software
 
VMware VSAN Technical Deep Dive - March 2014
VMware VSAN Technical Deep Dive - March 2014VMware VSAN Technical Deep Dive - March 2014
VMware VSAN Technical Deep Dive - March 2014
 

Semelhante a VDI storage and storage virtualization

Storage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talkStorage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talkSisimon Soman
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloadspittmantony
 
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...DoKC
 
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...DoKC
 
The Pendulum Swings Back: Converged and Hyperconverged Environments
The Pendulum Swings Back: Converged and Hyperconverged EnvironmentsThe Pendulum Swings Back: Converged and Hyperconverged Environments
The Pendulum Swings Back: Converged and Hyperconverged EnvironmentsTony Pearson
 
Storage in windows server 2012
Storage in windows server 2012Storage in windows server 2012
Storage in windows server 2012David De Vos
 
Private cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicomPrivate cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicomMicrosoft Singapore
 
Design decision nfs-versus_fc_storage v_0.3
Design decision nfs-versus_fc_storage v_0.3Design decision nfs-versus_fc_storage v_0.3
Design decision nfs-versus_fc_storage v_0.3David Pasek
 
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
 
End of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph ReplicationEnd of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph ReplicationCeph Community
 
OSS Presentation by Kevin Halgren
OSS Presentation by Kevin HalgrenOSS Presentation by Kevin Halgren
OSS Presentation by Kevin HalgrenOpenStorageSummit
 
VMworld Europe 2014: Virtual SAN Architecture Deep Dive
VMworld Europe 2014: Virtual SAN Architecture Deep DiveVMworld Europe 2014: Virtual SAN Architecture Deep Dive
VMworld Europe 2014: Virtual SAN Architecture Deep DiveVMworld
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCPThe Linux Foundation
 
It's the End of Data Storage As We Know It (And I Feel Fine)
It's the End of Data Storage As We Know It (And I Feel Fine)It's the End of Data Storage As We Know It (And I Feel Fine)
It's the End of Data Storage As We Know It (And I Feel Fine)Stephen Foskett
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Lindsey Aitchison
 
VMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes EverythingVMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes EverythingVMUG IT
 

Semelhante a VDI storage and storage virtualization (20)

Storage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talkStorage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talk
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloads
 
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
 
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
Disaggregated Container Attached Storage - Yet Another Topology with What Pur...
 
Inexpensive storage
Inexpensive storageInexpensive storage
Inexpensive storage
 
The Pendulum Swings Back: Converged and Hyperconverged Environments
The Pendulum Swings Back: Converged and Hyperconverged EnvironmentsThe Pendulum Swings Back: Converged and Hyperconverged Environments
The Pendulum Swings Back: Converged and Hyperconverged Environments
 
Storage in windows server 2012
Storage in windows server 2012Storage in windows server 2012
Storage in windows server 2012
 
Private cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicomPrivate cloud virtual reality to reality a partner story daniel mar_technicom
Private cloud virtual reality to reality a partner story daniel mar_technicom
 
DAS RAID NAS SAN
DAS RAID NAS SANDAS RAID NAS SAN
DAS RAID NAS SAN
 
Design decision nfs-versus_fc_storage v_0.3
Design decision nfs-versus_fc_storage v_0.3Design decision nfs-versus_fc_storage v_0.3
Design decision nfs-versus_fc_storage v_0.3
 
CLFS 2010
CLFS 2010CLFS 2010
CLFS 2010
 
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
 
End of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph ReplicationEnd of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph Replication
 
OSS Presentation by Kevin Halgren
OSS Presentation by Kevin HalgrenOSS Presentation by Kevin Halgren
OSS Presentation by Kevin Halgren
 
VMworld Europe 2014: Virtual SAN Architecture Deep Dive
VMworld Europe 2014: Virtual SAN Architecture Deep DiveVMworld Europe 2014: Virtual SAN Architecture Deep Dive
VMworld Europe 2014: Virtual SAN Architecture Deep Dive
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
It's the End of Data Storage As We Know It (And I Feel Fine)
It's the End of Data Storage As We Know It (And I Feel Fine)It's the End of Data Storage As We Know It (And I Feel Fine)
It's the End of Data Storage As We Know It (And I Feel Fine)
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
 
VMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes EverythingVMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes Everything
 

Mais de Sisimon Soman

Windows kernel debugging workshop in florida
Windows kernel debugging   workshop in floridaWindows kernel debugging   workshop in florida
Windows kernel debugging workshop in floridaSisimon Soman
 
Windows memory manager internals
Windows memory manager internalsWindows memory manager internals
Windows memory manager internalsSisimon Soman
 
Windows kernel debugging session 2
Windows kernel debugging session 2Windows kernel debugging session 2
Windows kernel debugging session 2Sisimon Soman
 
Windows debugging sisimon
Windows debugging   sisimonWindows debugging   sisimon
Windows debugging sisimonSisimon Soman
 
Introduction to windows kernel
Introduction to windows kernelIntroduction to windows kernel
Introduction to windows kernelSisimon Soman
 
Windows kernel and memory io subsystem
Windows kernel and memory io subsystemWindows kernel and memory io subsystem
Windows kernel and memory io subsystemSisimon Soman
 
Introduction to windows kernel
Introduction to windows kernelIntroduction to windows kernel
Introduction to windows kernelSisimon Soman
 
Design Patterns By Sisimon Soman
Design Patterns By Sisimon SomanDesign Patterns By Sisimon Soman
Design Patterns By Sisimon SomanSisimon Soman
 

Mais de Sisimon Soman (11)

Windows kernel debugging workshop in florida
Windows kernel debugging   workshop in floridaWindows kernel debugging   workshop in florida
Windows kernel debugging workshop in florida
 
Windows memory manager internals
Windows memory manager internalsWindows memory manager internals
Windows memory manager internals
 
Windows kernel
Windows kernelWindows kernel
Windows kernel
 
Windows kernel debugging session 2
Windows kernel debugging session 2Windows kernel debugging session 2
Windows kernel debugging session 2
 
Windows io manager
Windows io managerWindows io manager
Windows io manager
 
Windows debugging sisimon
Windows debugging   sisimonWindows debugging   sisimon
Windows debugging sisimon
 
Introduction to windows kernel
Introduction to windows kernelIntroduction to windows kernel
Introduction to windows kernel
 
Windows kernel and memory io subsystem
Windows kernel and memory io subsystemWindows kernel and memory io subsystem
Windows kernel and memory io subsystem
 
Introduction to windows kernel
Introduction to windows kernelIntroduction to windows kernel
Introduction to windows kernel
 
COM and DCOM
COM and DCOMCOM and DCOM
COM and DCOM
 
Design Patterns By Sisimon Soman
Design Patterns By Sisimon SomanDesign Patterns By Sisimon Soman
Design Patterns By Sisimon Soman
 

VDI storage and storage virtualization

  • 1. Storage Virtualization and VDI Storage Sisimon Soman
  • 2. Agenda • Datacenter Storage in General • DAS, NAS and SAN • Storage Virtualization • VDI Storage – Issues with VDI Storage – Solutions for Performance issues
  • 3. Study by IDC • In 2011 roughly 1.8 trillion GBs of data created. • Total data doubled in last two years. • The prediction is total data will grow by 50x in next decade. • Too much of unstructured data. • Disks are still in stone-age with motor, spindle and head. Numbers collected from EMC.com which is available for public
  • 4. Types of Storage • Classify into three according to the access mechanism between server and storage. – Direct Attached Storage (DAS) – Network Attached Storage (NAS) – Storage Area Network (SAN)
  • 5. Direct Attached Storage (DAS) SCSI • Disk(s) directly connected to the machine. • Most simple/common storage. • Example: Our Laptops, Desk tops etc
  • 6. Network Attached Storage Servers LAN LAN NAS box • Uses CIFS/NFS protocol to access files. • Similar to a remote shared folder. • Client side redirector forward the file requests to NAS box. • Example: EMC Celerra, NetApp FAS
  • 7. NAS - Module diagram Server Application NAS Box User Space Kernel Space File System Redirector CIFS Protocol Layer File System CIFS Protocol Layer TCP/IP Stack Volume Manager TCP/IP Stack NIC Driver Disk Driver NIC Driver LAN LAN
  • 8. What is a SAN EMC Symmetrix DMX 2000 EMC Symmetrix DMX 1000
  • 9. SAN Continued.. Servers Fibre Channel Switch SAN • Example : EMC Symmetrix, CLARiiON
  • 10. SAN Architecture Disks GBs of memory in each controller Controllers/Storage Processors (It can be ACTIVE-ACTIVE or ACTIVE-PASSIVE) Fibre Channel Switch
  • 11. Difference between SAN and NAS • In NAS ‘file streams’ are transferred thru wire. • In SAN ‘disk blocks’ are read from storage. • In SAN Fibre Channel is the common communication mechanism. (SAN support SCSI over TCP/IP also, which is called iSCSI) • In NAS file streams transfer over TCP/IP stack.
  • 12. Common features of SAN • Backup • Replication • Snapshot • Features specific to SAN like SRDF for Symmetrix SAN Specific data collected from wikipedia
  • 13. Storage Virtualization - Advantages • Hide the internal complexity of storage system. • Better Disk block usage – Study shows only 30-40% of disk space is used effectively. • Better Performance. • Scalability.
  • 14. Taxonomy of Storage Virtualization • Virtualization at Host Operating system storage stack. • Switch/Appliance based Virtualization. • Virtualization at external storage array (SAN).
  • 15. Storage Stack Application User Space Kernel Space File System Volume Manager Host Operating system Storage stack Disk Class Driver Hardware Driver Fibre channel adapter Fibre Channel cable Fibre channel Switch SAN
  • 16. Virtualization at Operating Storage Stack • A typical Windows Storage stack IO Request flow thru each layer File System Volume Manager Disk Class Driver Hardware Driver
  • 17. Virtualization at File System Layer File1.doc Virtual Cluster Number (VCN) File System Volume Manager Disk Class Driver Logical Cluster Number (LCN) Disk blocks Hardware Driver • NTFS expose IOCTL FSCTL_GET_RETRIEVAL_POINTERS, so that any app can query VCN-LCN mapping. Usually the disk defragment app uses this IOCTL.
  • 18. HSM File System (Tiered Storage) Only 20-30% of actively used data RAM ($50/MB) SAN ($.5/MB) TAPE($.05/MB) • Ex: EMC DiskXtender
  • 19. Virtualization at Volume Manager - RAID RAID • RAID 5 - Also know as Striped Volume with parity. • Fault tolerance is achieved by reserving an equivalent of one disk for keeping parity information. • Rotate the parity stripe to all disks - Avoid the possibility of parity disk become busy all time.
  • 20. Virtualization at Disk Controller LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA n • Disk Controller convert Logical Block Address to Cylinder Head Sector address. • Disk controller take care of damaged sectors also.
  • 21. Putting it all together Windows Storage Stack
  • 22. Switch based Virtualization • Combine LUNs from one or more Arrays to a single virtual LUN and pass to host OS. • Take one big LUN from one Array, divide it and give to different host OS. • Security – One host can see certain LUNs only. • Vendors are adding more intelligence in switch level like advanced volume management, caching, QoS functions… • EMC Invista, IBM SAN Volume Controller
  • 23. Switch level Virtualization Intelligent switch – Virtualize LUNs from different array IBM EMC HP HDX
  • 24. Virtualization at SAN Virtual Disk Disk in the storage array
  • 26. Problems with VDI Storage • Boot/Login Storm • App Storm • Virus scanning. • Many PoC fails or end up with more cost because of storage array cost. • Some queries in XD/VDI-in-a box forum – Bootup time of approx ~170 min. – Slow logon. – Do I need to put dedicated LUN to each server.
  • 27. Windows partition alignment issue • Data stored in disk as blocks. Block size vary, usually 64K (multiple of OS page size). • Windows XP/2003 write signature starting of partition and actual partition start at 63 sectors to make it aligned with disk cylinder boundaries. • This can result in extra IOs. • The partition should aligned with SSD cache/storage block.
  • 28. Windows 2003 partition Partition starting at less SSD friendly location Signature NTFS Volume 1 Block 1 Block 2 Block 3 Block 4 Block 5 Block 6
  • 29. IO Blender problem • Sequential and Random IO. • OS try to make the IO sequential – Windows Cache Mgr and SCSI/Storport driver, Linux Buffer cache and IO Scheduler. • Hypervisor screw-up this optimization. • OS think data from block storage, hypervisor convert it to VHD file (.vmdk)
  • 30. Read/Write IOPs • Write IOPs are costly – Cache flushing, RAID cost.. • Windows Paging IO – Paging IOs are sensitive and slowing down it reduce system performance. • Memory intensive App may increase Paging IO. Number of Paging writes may go higher than write IOs from App.
  • 31. What is new in VDI Storage • More than a dozen Storage Startups • Driver at guest OS stack to profile IOs. • Module at Hypervisor storage stack which do actual IO scheduling. • Merge random IOs, Dedupe and compression(make ssd cache effective). • SSD cache • Algorithm to analyze App IOPs(profiling) and scheduling is proprietary to vendors.
  • 32. What is new in VDI Storage OS 1 OS 2 OS 3 IO Profiler IO Profiler IO Profiler Hypervisor IO Scheduler Hardware SSD Cache/Storage