SlideShare a Scribd company logo
Simple layouts for ECKD and zfcp disk configurations
on Linux on System z

Thorsten Diehl
Linux on System z System Evaluation
thorsten.diehl@de.ibm.com




1                                                      © 2011 IBM Corporation
Linux on System z Performance Evaluation




FICON/ECKD dasd I/O to a single disk

                                                          Assume that subchannel a corresponds to disk 2 in rank 1
    Application program                                   The full choice of host adapters can be used
                                                          Only one I/O can be issued at a time through subchannel a
                 VFS                                      All other I/Os need to be queued in the dasd driver and in the block device layer
                                                           until the subchannel is no longer busy with the preceding I/O


                                                                                                                     DA   ranks
    Block device layer                                      Channel                                                                           1
                                                           subsystem




                                                                                                          Server 0
           Page cache
          I/O scheduler                                     a          chpid 1              HBA 1
                                                                                                                                              3
                                                                       chpid 2              HBA 2
            dasd driver                                                            Switch
                                                                       chpid 3              HBA 3                                             5




                                                                                                          Server 1
                                                                       chpid 4              HBA 4
                                                                                                                                              7

2                     Introduction to Linux features for disk I/O                                                          © 2011 IBM Corporation
Linux on System z Performance Evaluation




FICON/ECKD dasd I/O to a single disk with HyperPAV

                                                        VFS sees one device
    Application program                                 The dasd driver sees the real device and all alias devices
                                                        Load balancing with HyperPAV is done in the dasd driver. The aliases need only
                 VFS                                     to be added to Linux.
                                                        The next slowdown is the fact that only one disk is used in the storage server.
                                                         This implies the use of only one rank, one device adapter, one server

                                                                                                                 DA   ranks
    Block device layer                                   Channel                                                                          1
                                                        subsystem




                                                                                                      Server 0
           Page cache
          I/O scheduler                                    a        chpid 1              HBA 1
                                                                                                                                          3
                                                           b        chpid 2              HBA 2
            dasd driver                                                         Switch
                                                            c       chpid 3              HBA 3                                            5




                                                                                                      Server 1
                                                           d        chpid 4              HBA 4
                                                                                                                                          7

3                     Introduction to Linux features for disk I/O                                                      © 2011 IBM Corporation
Linux on System z Performance Evaluation




FICON/ECKD dasd I/O to a linear or striped logical volume

                                                        VFS sees one device (logical volume)
                                                        The device mapper sees the logical volume and the physical volumes
    Application program                                 With a striped logical volume the I/Os can be well balanced over the entire storage
                                                         server and overcome limitations from a single rank, a single device adapter or a
                 VFS                                     single server
                                                        To ensure that I/O to one physical disk is not limited by one subchannel,
                                                         PAV or HyperPAV should be used in combination with logical volumes
                LVM
                                                                                                                    DA   ranks
                  dm
    Block device layer                                    Channel                                                                            1
                                                         subsystem




                                                                                                         Server 0
           Page cache
          I/O scheduler                                     a        chpid 1               HBA 1
                                                                                                                                             3
                                                            b        chpid 2               HBA 2
            dasd driver                                                           Switch
                                                             c       chpid 3               HBA 3                                             5




                                                                                                         Server 1
                                                            d        chpid 4               HBA 4
                                                                                                                                             7

4                      Introduction to Linux features for disk I/O                                                        © 2011 IBM Corporation
Linux on System z Performance Evaluation




FCP/SCSI LUN I/O to a single disk

                                                        Assume that disk 3 in rank 8 is reachable via channel 6 and host bus adapter 6
    Application program                                 Up to 32 (default value) I/O requests can be sent out to disk 3 before the first
                                                         completion is required
                                                        The throughput will be limited by the rank and/or the device adapter
                 VFS
                                                        There is no high availability provided for the connection between the host and the
                                                         storage server


                                                                                                                      DA   ranks
    Block device layer




                                                                                                           Server 0
           Page cache
                                                                                                                                                2
          I/O scheduler                                              chpid 5                HBA 5

                                                                     chpid 6                HBA 6                                               4
             SCSI driver                                                           Switch
             zFCP driver
                                                                     chpid 7                HBA 7
              qdio driver




                                                                                                           Server 1
                                                                                                                                                6
                                                                     chpid 8                HBA 8


                                                                                                                                                8
5                     Introduction to Linux features for disk I/O                                                            © 2011 IBM Corporation
Linux on System z Performance Evaluation




FCP/SCSI LUN I/O to a single disk with multipathing

                                                          VFS sees one device
    Application program                                   The device mapper sees the multibus or failover alternatives to the same disk
                                                          Administrational effort is required to define all paths to one disk
                 VFS                                      Additional processor cycles are spent to do the mapping to the desired path for the
                                                           disk in the device mapper


             Multipath                                                                                                 DA   ranks
               dm
    Block device layer




                                                                                                            Server 0
           Page cache
                                                                                                                                                 2
          I/O scheduler                                                chpid 5                HBA 5

                                                                       chpid 6                HBA 6                                              4
             SCSI driver                                                             Switch
             zFCP driver
                                                                       chpid 7                HBA 7
              qdio driver




                                                                                                            Server 1
                                                                                                                                                 6
                                                                       chpid 8                HBA 8


                                                                                                                                                 8
6                     Introduction to Linux features for disk I/O                                                             © 2011 IBM Corporation
Linux on System z Performance Evaluation




FCP/SCSI LUN I/O to a linear or striped logical volume

                                                         VFS sees one device (logical volume)
    Application program                                  The device mapper sees the logical volume and the physical volumes
                                                         With a striped logical volume the I/Os can be well balanced over the entire storage
                                                          server and overcome limitations from a single rank, a single device adapter or a
                 VFS                                      single server
                                                         To ensure high availability the logical volume should be used in combination
                LVM                                       with multipathing
                                                                                                                    DA   ranks
                  dm
    Block device layer




                                                                                                         Server 0
           Page cache
                                                                                                                                              2
          I/O scheduler                                              chpid 5                HBA 5

                                                                     chpid 6                HBA 6                                             4
             SCSI driver                                                           Switch
             zFCP driver
                                                                     chpid 7                HBA 7
              qdio driver




                                                                                                         Server 1
                                                                                                                                              6
                                                                     chpid 8                HBA 8


                                                                                                                                              8
7                      Introduction to Linux features for disk I/O                                                         © 2011 IBM Corporation

More Related Content

PDF
Red Hat Enterprise Linux on IBM System z Performance Evaluation
PDF
Linux on System z – disk I/O performance
PDF
SLES 11 SP2 PerformanceEvaluation for Linux on System z
PDF
Panasas pNFS Status (September 2010)
PDF
DFX Architecture for High-performance Multi-core Microprocessors
PDF
Rhozet™ Carbon Coder/Server/Admin v3.11 User Guide
PDF
Facebook's HBase Backups - StampedeCon 2012
Red Hat Enterprise Linux on IBM System z Performance Evaluation
Linux on System z – disk I/O performance
SLES 11 SP2 PerformanceEvaluation for Linux on System z
Panasas pNFS Status (September 2010)
DFX Architecture for High-performance Multi-core Microprocessors
Rhozet™ Carbon Coder/Server/Admin v3.11 User Guide
Facebook's HBase Backups - StampedeCon 2012

What's hot (18)

PPTX
D02 Evolution of the HADR tool
PDF
Windows offloaded data_transfer_steve_olsson
PDF
ECE 24 Final Report 052609
PPTX
Mpls Presentation Ine
PDF
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
PDF
Introduction to SCSI over FCP for Linux on System z
PDF
SCSI over FCP for Linux on System z
PDF
IETF80 - IDR/GROW BGP Error Handling Requirements
PPTX
22 configuration
PPT
Considerations when implementing_ha_in_dmf
PPTX
Strata + Hadoop World 2012: HDFS: Now and Future
PPS
Multicast for ipv6
PPTX
Microsoft Exchange Server 2007 High Availability And Disaster Recovery Deep Dive
PDF
Jaguar x86 Core Functional Verification
PPTX
CMAF Live Ingest Uplink Protocol
PDF
CSL_Cochin_c
D02 Evolution of the HADR tool
Windows offloaded data_transfer_steve_olsson
ECE 24 Final Report 052609
Mpls Presentation Ine
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Introduction to SCSI over FCP for Linux on System z
SCSI over FCP for Linux on System z
IETF80 - IDR/GROW BGP Error Handling Requirements
22 configuration
Considerations when implementing_ha_in_dmf
Strata + Hadoop World 2012: HDFS: Now and Future
Multicast for ipv6
Microsoft Exchange Server 2007 High Availability And Disaster Recovery Deep Dive
Jaguar x86 Core Functional Verification
CMAF Live Ingest Uplink Protocol
CSL_Cochin_c
Ad

Similar to Simple layouts for ECKD and zfcp disk configurations on Linux on System z (20)

PDF
Local file systems update
PDF
OpenDBCamp Virtualization
PDF
Planning and Designing Virtual UC Solutions on UCS Platform- Joseph Bassaly
PDF
Rhino labs Prese4th ntation At FPGA Camp, Santa Clara, CA
PDF
Ps3q06 20060189-michael
PDF
PRIMERGY Bladeframe: Caratteristiche e benefici
PPTX
San & Virutualisation
PDF
User Group Bi
PDF
Dean keynote-ladis2009-jeff-dean
PDF
Designs, Lessons and Advice from Building Large Distributed Systems
PDF
Dean Keynote Ladis2009
PDF
Google - Designs, Lessons and Advice from Building Large Distributed Systems
PDF
Dean keynote-ladis2009
PDF
Dean Keynote Ladis2009 Google
PDF
Dean Keynote Ladis2009
PPTX
Intelligent Storage
PDF
Linux on System z disk I/O performance
PDF
Windows server 8 hyper v & storage (hans vredevoort)
PDF
Advanced format for hard disk drives
PDF
Linux Performance Analysis and Tools
Local file systems update
OpenDBCamp Virtualization
Planning and Designing Virtual UC Solutions on UCS Platform- Joseph Bassaly
Rhino labs Prese4th ntation At FPGA Camp, Santa Clara, CA
Ps3q06 20060189-michael
PRIMERGY Bladeframe: Caratteristiche e benefici
San & Virutualisation
User Group Bi
Dean keynote-ladis2009-jeff-dean
Designs, Lessons and Advice from Building Large Distributed Systems
Dean Keynote Ladis2009
Google - Designs, Lessons and Advice from Building Large Distributed Systems
Dean keynote-ladis2009
Dean Keynote Ladis2009 Google
Dean Keynote Ladis2009
Intelligent Storage
Linux on System z disk I/O performance
Windows server 8 hyper v & storage (hans vredevoort)
Advanced format for hard disk drives
Linux Performance Analysis and Tools
Ad

More from IBM India Smarter Computing (20)

PDF
Using the IBM XIV Storage System in OpenStack Cloud Environments
PDF
All-flash Needs End to End Storage Efficiency
PDF
TSL03104USEN Exploring VMware vSphere Storage API for Array Integration on th...
PDF
IBM FlashSystem 840 Product Guide
PDF
IBM System x3250 M5
PDF
IBM NeXtScale nx360 M4
PDF
IBM System x3650 M4 HD
PDF
IBM System x3300 M4
PDF
IBM System x iDataPlex dx360 M4
PDF
IBM System x3500 M4
PDF
IBM System x3550 M4
PDF
IBM System x3650 M4
PDF
IBM System x3500 M3
PDF
IBM System x3400 M3
PDF
IBM System x3250 M3
PDF
IBM System x3200 M3
PDF
IBM PowerVC Introduction and Configuration
PDF
A Comparison of PowerVM and Vmware Virtualization Performance
PDF
IBM pureflex system and vmware vcloud enterprise suite reference architecture
PDF
X6: The sixth generation of EXA Technology
Using the IBM XIV Storage System in OpenStack Cloud Environments
All-flash Needs End to End Storage Efficiency
TSL03104USEN Exploring VMware vSphere Storage API for Array Integration on th...
IBM FlashSystem 840 Product Guide
IBM System x3250 M5
IBM NeXtScale nx360 M4
IBM System x3650 M4 HD
IBM System x3300 M4
IBM System x iDataPlex dx360 M4
IBM System x3500 M4
IBM System x3550 M4
IBM System x3650 M4
IBM System x3500 M3
IBM System x3400 M3
IBM System x3250 M3
IBM System x3200 M3
IBM PowerVC Introduction and Configuration
A Comparison of PowerVM and Vmware Virtualization Performance
IBM pureflex system and vmware vcloud enterprise suite reference architecture
X6: The sixth generation of EXA Technology

Simple layouts for ECKD and zfcp disk configurations on Linux on System z

  • 1. Simple layouts for ECKD and zfcp disk configurations on Linux on System z Thorsten Diehl Linux on System z System Evaluation thorsten.diehl@de.ibm.com 1 © 2011 IBM Corporation
  • 2. Linux on System z Performance Evaluation FICON/ECKD dasd I/O to a single disk  Assume that subchannel a corresponds to disk 2 in rank 1 Application program  The full choice of host adapters can be used  Only one I/O can be issued at a time through subchannel a VFS  All other I/Os need to be queued in the dasd driver and in the block device layer until the subchannel is no longer busy with the preceding I/O DA ranks Block device layer Channel 1 subsystem Server 0 Page cache I/O scheduler a chpid 1 HBA 1 3 chpid 2 HBA 2 dasd driver Switch chpid 3 HBA 3 5 Server 1 chpid 4 HBA 4 7 2 Introduction to Linux features for disk I/O © 2011 IBM Corporation
  • 3. Linux on System z Performance Evaluation FICON/ECKD dasd I/O to a single disk with HyperPAV  VFS sees one device Application program  The dasd driver sees the real device and all alias devices  Load balancing with HyperPAV is done in the dasd driver. The aliases need only VFS to be added to Linux.  The next slowdown is the fact that only one disk is used in the storage server. This implies the use of only one rank, one device adapter, one server DA ranks Block device layer Channel 1 subsystem Server 0 Page cache I/O scheduler a chpid 1 HBA 1 3 b chpid 2 HBA 2 dasd driver Switch c chpid 3 HBA 3 5 Server 1 d chpid 4 HBA 4 7 3 Introduction to Linux features for disk I/O © 2011 IBM Corporation
  • 4. Linux on System z Performance Evaluation FICON/ECKD dasd I/O to a linear or striped logical volume  VFS sees one device (logical volume)  The device mapper sees the logical volume and the physical volumes Application program  With a striped logical volume the I/Os can be well balanced over the entire storage server and overcome limitations from a single rank, a single device adapter or a VFS single server  To ensure that I/O to one physical disk is not limited by one subchannel, PAV or HyperPAV should be used in combination with logical volumes LVM DA ranks dm Block device layer Channel 1 subsystem Server 0 Page cache I/O scheduler a chpid 1 HBA 1 3 b chpid 2 HBA 2 dasd driver Switch c chpid 3 HBA 3 5 Server 1 d chpid 4 HBA 4 7 4 Introduction to Linux features for disk I/O © 2011 IBM Corporation
  • 5. Linux on System z Performance Evaluation FCP/SCSI LUN I/O to a single disk  Assume that disk 3 in rank 8 is reachable via channel 6 and host bus adapter 6 Application program  Up to 32 (default value) I/O requests can be sent out to disk 3 before the first completion is required  The throughput will be limited by the rank and/or the device adapter VFS  There is no high availability provided for the connection between the host and the storage server DA ranks Block device layer Server 0 Page cache 2 I/O scheduler chpid 5 HBA 5 chpid 6 HBA 6 4 SCSI driver Switch zFCP driver chpid 7 HBA 7 qdio driver Server 1 6 chpid 8 HBA 8 8 5 Introduction to Linux features for disk I/O © 2011 IBM Corporation
  • 6. Linux on System z Performance Evaluation FCP/SCSI LUN I/O to a single disk with multipathing  VFS sees one device Application program  The device mapper sees the multibus or failover alternatives to the same disk  Administrational effort is required to define all paths to one disk VFS  Additional processor cycles are spent to do the mapping to the desired path for the disk in the device mapper Multipath DA ranks dm Block device layer Server 0 Page cache 2 I/O scheduler chpid 5 HBA 5 chpid 6 HBA 6 4 SCSI driver Switch zFCP driver chpid 7 HBA 7 qdio driver Server 1 6 chpid 8 HBA 8 8 6 Introduction to Linux features for disk I/O © 2011 IBM Corporation
  • 7. Linux on System z Performance Evaluation FCP/SCSI LUN I/O to a linear or striped logical volume  VFS sees one device (logical volume) Application program  The device mapper sees the logical volume and the physical volumes  With a striped logical volume the I/Os can be well balanced over the entire storage server and overcome limitations from a single rank, a single device adapter or a VFS single server  To ensure high availability the logical volume should be used in combination LVM with multipathing DA ranks dm Block device layer Server 0 Page cache 2 I/O scheduler chpid 5 HBA 5 chpid 6 HBA 6 4 SCSI driver Switch zFCP driver chpid 7 HBA 7 qdio driver Server 1 6 chpid 8 HBA 8 8 7 Introduction to Linux features for disk I/O © 2011 IBM Corporation