© 2016 IBM Corporation
IBM z Systems z13™ and z13s™
SMC-D / ISM Introduction: z/OS Overview
Jerry Stevens (sjerry@us.ibm.com)
March 16, 2016
© 2016 IBM Corporation2
IBM z Systems™ z13 / z13s SMC-D and ISM Introduction: Topics
1. Brief review of SMC-R
2. Shared Memory Communications – Direct Memory Access (SMC-D):
– Introduction: SMC-D: Summary of SMC-D and ISM functions
– Objectives / Value of SMC-D and ISM (performance overview)
3. IBM z System z13 Internal Shared Memory (ISM) virtual PCI function
4. Getting started: Setup requirements for enabling SMC-D:
– z13™ / z13s™ system firmware and software requirements
– ISM System definitions (defining FIDs in HCD)
– z/OS Communications Server configuration requirements (enabling SMC-D)
– IP connectivity and VLANs
5. Testing / verification / feedback of SMC-D (scenarios)
6. SMC Applicability Tool (SMC-AT)
© 2016 IBM Corporation
Topic 1. Review of SMC-R
3
© 2016 IBM Corporation4
Review: RDMA (Remote Direct Memory Access) Technology Overview
Key attributes of RDMA
– Enables a host to read or write directly from/to a remote host’s memory without
involving the remote host’s CPU
– By registering specific memory for RDMA partner use
– Interrupts still required for notification (i.e. CPU cycles are not completely
eliminated)
– Reduced networking stack overhead by using streamlined, low level, RMDA
interfaces
• Low level APIs such as uDAPL, MPI or RDMA verbs allow optimized exploitation
> For applications/middleware willing to exploit these interfaces
– Key requirements:
• A reliable “lossless” network fabric (LAN for layer 2 data center network distance)
• An RDMA capable NIC (RNIC) and RDMA capable switched fabric (switches)1
Host A
Memory CPU
Host B
Memory CPU
RDMA enabled network
fabric
RNIC RNICRkey A Rkey B
A B
1. SMC-R requires a standard 10GbE switch
© 2016 IBM Corporation
Review: Shared Memory Communications over RDMA (SMC-R)
5
SMC-R enabled platform
OS image OS image
Virtual server instance
server client
RNIC
RDMA technology provides the capability to allow hosts to logically share
memory. The SMC-R protocol defines a means to exploit the shared memory
for communications - transparent to the applications!
Shared Memory Communications
via RDMA
SMCSMC
RDMA enabled (RoCE)
RNIC
Clustered Systems
SMC-R is an open sockets over RDMA protocol that provides transparent exploitation of RDMA (for TCP based
applications) while preserving key functions and qualities of service from the TCP/IP ecosystem that enterprise
level servers/network depend on! Draft IETF RFC for SMC-R:
http://www.rfc-editor.org/rfc/rfc7609.txt
SMC-R enabled platform
Virtual server instance
shared memory shared memory
Sockets Sockets
5
© 2016 IBM Corporation
OSA ROCE
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System B
SMC-R
OSAROCE
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System A
SMC-R
Review: Dynamic Transition from TCP to SMC-R
TCP connection establishment over IP
IP Network (Ethernet)
RDMA Network RoCE
TCP connection transitions to SMC-R allowing application data to be exchanged using RDMA
Dynamic (in-line) negotiation for SMC-R is initiated by presence of TCP Options
TCP syn flows (with TCP Options
indicating SMC-R capability)
data exchanged
using RDMA
data exchanged
using RDMA
© 2016 IBM Corporation7
Review: z/OS SMC-R Performance Relative to TCP (OSA Ex4 10Gb)
Request Response Workload with different payload. SMC-R provides significantly better
performance compared to TCP (OSA Exp4 10Gb).
-67.72
-74.41
-88
-87.59
-81.52
-69.55
-51.28
-3.32
-0.79
-8.51
-19.36
-29.54
-39.32
-53.62
-3.72
-1.82
-9.57
-20.97
-29.43
-41.93
-56.3
209.85
290.11
731.91 706.28
440.62
228.8
105.32
RR1(1/1) RR10(1k/1k) RR10(2k/2k) RR10(4k/4k) RR10(8k/8k) RR10(16k/16k) RR10(32k/32k)
Request Response Workload
-200
0
200
400
600
800
%(RelativetoTCPOSAExp410Gb)
Raw Tput
CPU-Server
CPU-Client
Resp Time
March 24, 2014
Client, Server : 2 CPs 2827-791
Interfaces: SMC-R and OSA Exp4 10Gb
zEC12- 2CPs V2R1 SMC-R vs. TCP Performance
Request Response Workload
SMC-R Relative to TCP (OSA E4 10Gb)
© 2016 IBM Corporation8 8
SMC-R Key Attributes - Summary
ü Optimized Network Performance (leveraging RDMA technology)
ü Transparent to (TCP socket based) application software
ü Leverages existing Ethernet infrastructure (RoCE)
ü Preserves existing network security model
ü Resiliency (dynamic failover to redundant hardware)
ü Transparent to Load Balancers
ü Preserves existing IP topology and network administrative and
operational model
© 2016 IBM Corporation
Topic 2. Shared Memory Communications – Direct Memory Access
(SMC-D Introduction)
9
© 2016 IBM Corporation
Shared Memory Communications-Direct Memory Access (SMC-D)
over Internal Shared Memory (ISM)
Operating System ‘X’
Virtual Server Image 1
(LPAR A)
Server
Application A
Shared Memory
“Shared Memory”
across unique OS
instances within the
same CPC
SMC-D (over ISM) extends the value of the Shared Memory Communications architecture by
enabling SMC for direct LPAR to LPAR communications. SMC-D is very similar to SMC-R (over
RoCE) extending the benefits of SMC-R to same CPC operating system instances without
requiring physical resources (RoCE adapters, PCI bandwidth, NIC ports, I/O slots, network
resources, 10GbE switches etc.).
Virtual Server Image 2
LPAR B
Operating System ‘Y’
Client
Application B
Shared Memory
ISMDMB 1 DMB 2
Same Platform (Internal) Distance
Note 1. The performance benefits of SMC-R (cross CPC) and HiperSockets(within CPC) are similar to each other.
SMC-D / ISM provides significantly improved performance benefits above both within the CPC.
Reference performance information: http://www-01.ibm.com/software/network/commserver/SMCR/
IBM z Systems: z13 and z13s
10
© 2016 IBM Corporation
SMC-D over ISM:
Internal Shared Memory vPCI Function with ISM VCHIDs
IBM z Systems: z13 and z13s
z/OS z/OSLP 1 LP 2
DB2
ISM
VCHID
The Shared Memory Communications-Direct Memory Access (SMC-D)
protocol can significantly optimize intra-CPC Operating Systems
communications – transparent to socket applications!
• Tightly couples socket API communications / memory within the CPC.
• Eliminates TCP/IP processing in the data path.
• ISM is a z System firmware solution (leveraging existing OS virtual memory
and does require additional hardware).
DRDA
System z vPCI Firmware
Shared Memory Communications
vPCI ISM Virtual FunctionvPCI ISM Virtual Function
Sockets SMC SMC Sockets WAS
Shared Mem Shared Mem
FID 1 FID 2
11
© 2016 IBM Corporation
Shared Memory Communications within the enterprise data center
(RoCE) and within System z (ISM)
SMC-R and SMC-D enabled z13 platform
z/OS image 1 (WAS) z/OS image 3 (WAS)
Shared Memory Communications
via DMA (SMC-D using vPCI ISM)
client
Both forms of SMC can be used concurrently combining to provide a highly optimized solution.
Shared Memory Communications: via System z PCI architecture:
1. RDMA (SMC-R for cross platforms via RoCE)
2. DMA (SMC-D for same CPC via ISM)
Shared Memory Communications
via RDMA (SMC-R using RoCE)
SMC
RDMA enabled (RoCE)
Clustered Systems: Example: Local and Remote access to DB2 from WAS (JDBC using DRDA)
SMC-R enabled platform
shared memory
Sockets
SMC
Server
shared memory
Sockets
z/OS image 2 (DB2)
shared memory
client
Sockets
SMC
RoCE RoCEISM ISMVCHID
12
Note.To better understand the IP connectivity
shown in this example see chart35.
© 2016 IBM Corporation
SMC-D Performance Benefits and Value (Performance Overview)
§ The value of the next generation of highly optimized internal CPC communications
is about providing significantly improved network performance1 using tightly
coupled socketAPI communications / memory within the CPC without additional
hardware
§ Network improvement attributes are typically described as latency, throughput,
CPU cost and scalability. Improvements in network performance can potentially
improve (increase) application workload transaction rates while reducing CPU
cost.
§ The network latency characteristics provided by SMC-D are compelling:
– network latency is typically expressed as “network round trip time.” This latency attribute
can translate to an improved overall application transaction rate for z/OS to z/OS
workloads.
– Workloads that are network intensive and transaction oriented (sometimes
described as “request/response” workloads) -- that require multiple and even hundreds
of network (“client/server”) flows to complete a single transaction will realize the most
benefit.
1. Refer to SMC-R website (URL in backup) for SMC-D detailed performance information (additional benchmarks to be added)
13
© 2016 IBM Corporation
HiperSockets Comparison
Up to 9x the throughput! See breakout summary on next chart.
14
© 2016 IBM Corporation
SMC-D / ISM to HiperSockets Summary Highlights
§ Request/Response Summary for Workloads with 1k/1k – 4k/4k Payloads:
– Latency: Up to 48% reduction in latency
– Throughput: Up to 91% increase in throughput
– CPU cost: Up to 47% reduction in network related CPU cost
§ Request/Response Summary for Workloads with 8k/8k – 32k/32k Payloads:
– Latency: Up to 82% reduction in latency
– Throughput: Up to 475% (~6x) increase in throughput
– CPU cost: Up to 82% reduction in network related CPU cost
§ Streaming Workload:
– Latency: Up to 89% reduction in latency
– Throughput: Up to 800% (~9x) increase in throughput
– CPU cost: Up to 89% reduction in network related CPU cost
15
© 2016 IBM Corporation
Up to 21x the throughput! See breakout summary on next chart.
16
OSA Comparison
© 2016 IBM Corporation
SMC-D / ISM to OSA Summary Highlights
§ Request/Response Summary for Workloads with 1k/1k – 4k/4k Payloads:
– Latency: Up to 94% reduction in latency
– Throughput: Up to 1601% (~17x) increase in throughput
– CPU cost: Up to 40% reduction in network related CPU cost
§ Request/Response Summary for Workloads with 8k/8k – 32k/32k Payloads:
– Latency: Up to 93% reduction in latency
– Throughput: Up to 1313% (~14x) increase in throughput
– CPU cost: Up to 67% reduction in network related CPU cost
§ Streaming Workload:
– Latency: Up to 95% reduction in latency
– Throughput: Up to 2001% (~21x) increase in throughput
– CPU cost: Up to 85% reduction in network related CPU cost
§ FTP:
– For Binary Get and Put:
• Up to 58% lower (receive side) CPU cost and
• Up to 26% lower (send side) CPU cost and equivalent throughput
17
© 2016 IBM Corporation
© 2015 IBM Corporation 18
• Shared Memory Communications – Direct Memory Access
(SMC-D) optimizes z/OS for improved performance in
‘within-the-box’ communications versus standard TCP/IP
over HiperSockets or Open System Adapter
Typical Client Use Cases:
• Valuable for multi-tiered work co-located onto a single z
Systems server without requiring extra hardware
• Any z/OS TCP sockets based workload can seamlessly
use SMC-D without requiring any application changes
Up to 61% CPU savings for
FTP file transfers across z/OS
systems versus HiperSockets*
Up to 9x improvement in
throughput with more than a
88% decrease in CPU
consumption and a 90%
decrease in response time for
streaming workloads versus
using HiperSockets*
Up to 91% improvement in
throughput and up to 48%
improvement in response time
for interactive workloads versus
using HiperSockets*
SMC Applicability Tool (SMCAT) is available to assist in gaining additional
insight into the applicability of SMC-D (and SMC-R) for your environment
Shared Memory Communications architecture
Faster communications that preserve TCP/IP qualities of service
* All performance information was determined in a controlled environment. Actual results may vary. Performance information is
provided “AS IS” and no warranties or guarantees areexpressed or implied by IBM.
© 2016 IBM Corporation
© 2015 IBM Corporation 19
* Based on internal IBM benchmarks in a controlled environment usingz/OS V2R1 Communications Server FTP client
and FTP server, transferringa 1.2GB binary file using SMC-R (10GbE RoCE Express feature) vs. standard TCP/IP
(10GbE OSA Express4feature). The actual CPU savings any user will experience may vary.
** All performance information was determined in a controlled environment. Actual results may vary. Performance
information is provided“AS IS” andno warranties or guarantees are expressed or implied by IBM.
Shared Memory Communications
Remote Direct Memory Access (SMC-R)
•Use the RoCE Express hardware feature to enable
shared memory communications between two servers
•Up to 50% CPU savings for FTP file transfers across
z/OS systems versus standard TCP/IP *
• z/OS V2.2 Communications Server now
automatically selects between TCP/IP and RoCE
Shared Memory Communications
Direct Memory Access (SMC-D)
• Use firmware-based Internal Shared Memory to
optimize inter-system operating system
communications LPAR to LPAR
•Valuable for multi-tiered work co-located onto a
single z Systems server without requiring
extra hardware
•Up to 61% CPU savings for FTP file transfers
across z/OS systems versus HiperSockets **
Any z/OS TCP sockets-based workload can seamlessly use SMC-R or SMC-D without application changes
SMC Applicability Tool (SMCAT) helps assess benefit of SMC-R and SMC-D for your environment
Connection level security is preserved with SMC-R and SMC-D
Shared Memory Communications architecture
Faster communications that preserve TCP/IP qualities of service
Memory-to-memory communications using high speed protocols and
direct memory placement of data for faster communications
© 2016 IBM Corporation
SMC-D and ISM (vPCI) Overall Value Points
Provides Highly optimized: improved throughput, reduced latency and
CPU cost for intra-CPC communications along with:
ü Provides the same list of key SMC-R value points:
ü Transparent to socket applications, no IP topology changes, preserves connection level
security, VLAN isolation, transparent with load balancers, etc.
ü …without requiring hardware (adapters, card slots, switches, PCI
infrastructure, fabric management, etc.)… cost savings
ü Provides superior resiliency / High Availability (no hardware failures)
ü Provides high scalability, bandwidth and virtualization (i.e. 8k virtual
functions)
ü Preserves security (connection level security + secure internal
communications)
ü Preserves value of z Systems co-location of workloads (e.g. highly
optimized internal communications)
ü Enabled in z/OS with a single TCP/IP profile keyword 1
Note 1. ISM VCHID and FIDs must be defined in HCD (or IOCDS)
20
© 2016 IBM Corporation
Topic 3. IBM System z13™ Internal Shared Memory (ISM)
(ISM Introduction)
21
© 2016 IBM Corporation22
IBM z Systems™ z13™ and z13s™ SMC-D with ISM Introduction
Description
§ The IBM z13 and z13s introduces Internal Shared Memory (ISM) virtual PCI
function. ISM is a virtual PCI network adapter that enables direct access to
shared virtual memory providing a highly optimized network interconnect for z
Systems intra-CPC communications.
§ ISM is supported by z/VM 6.3 (PTF) with pass thru guest support.
§ IBM z/OS V2R2 (PTF) introduces the capability to exploit ISM with Shared
Memory Communications-Direct Memory Access (SMC-D).
§ For more information on new z13™ and z13s™
http://www-03.ibm.com/systems/z/announcement.html
© 2016 IBM Corporation
Introduction: IBM System z13 / z13s
Internal Shared Memory (ISM) virtual PCI Function
23
. . .
LP 1
(SAMPLE1)
LP 3LP 2 LP 5 LP N
PR/SM
LP 6
ISM Network PNET1 (ISM VCHID 7E1)
VF=1 ?VF=2? ? ??
ISM
FID 1017
ISM ISM
ISM
FID 1018 ISM ISM ISM
CPC (TESTPROC)
FUNCTION FID=1017,PCHID=7E1,VF=1,PART=((SAMPLE1),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM
FUNCTION FID=1018,PCHID=7E1,VF=2,PART=((SAMPLE2),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM
LP 4
(SAMPLE2)
© 2016 IBM Corporation
Internal Shared Memory (ISM) Overview
§ ISM enables the ability for Operating Systems (LPARs) to share virtual memory
(similar to RDMA)
§ New “Internal Shared Memory” (ISM) VCHID Type
(ISM VCHID concepts are similar to IQD (HiperSockets) VCHID)
§ ISM is based on existing z System’s PCI architecture (i.e. virtual PCI Function /
adapter)
§ Introduces a new PCI Function type (ISM virtual PCI function)
§ System admin / configuration / operations follows the same process
(HCD/IOCDS) as existing PCI functions (e.g. RoCE Express, zEDC Express,
etc.)
§ ISM supports Dynamic I/O
§ Supported by z/VM when z/OS is a guest on z/VM (PCI device support)
§ Enables highly optimized next generation intra-CPC communications (SMC-D)
continued…
24
© 2016 IBM Corporation
Internal Shared Memory (ISM) Overview (part 2)
§ Provides adapter virtualization (Virtual Functions) with high scalability:
– 32 ISM VCHIDs per CPC (each VCHID represents a unique internal shared
memory network each with a unique Physical Network ID)
– 255 VFs per VCHID (8k VFs per CPC)
(i.e. the maximum no. of virtual servers that can communicate over the
same ISM VCHID is 255)
§ Each ISM VCHID represents a unique (isolated) internal network, each having
a unique Physical Network ID (PNet IDs are configured in HCD/IOCDS)
§ ISM VCHIDs support VLANs (i.e. can be sub-divided into VLANs)
§ ISM provides a GID (“Global ID” internally generated by firmware) that
corresponds with each ISM FID. The GID is used to locate / address a host on
an ISM network (VCHID)
§ MACs (VMACs), MTU, physical ports1 and Frame size are all N/A
§ ISM is supported by z/VM (for passthru guest access to support the new PCI
function)
25
Note 1. ISM VCHIDs provide support for a single logical port (also see PNet ID topic)
© 2016 IBM Corporation
Topic 4. Getting Started: Install / Configure / Enable:
ISM and SMC-D Enablement Overview
26
Four steps:
1. Upgrade System z (firmware)
2. Install required software
3. Define ISM FIDs with PNet ID (HCD definitions)
4. Enable SMCD (TCP/IP profile)
© 2016 IBM Corporation
Steps 1 and 2: ISM System z13 and z/OS SMC-D Requirements
1. IBM z Systems: z13 (driver level 27 (GA2)) or z13s
2. z/OS software (PTF) requirements:
1. CommServer VTAM: OA48411 UA80711
2. CommServer TCP/IP: PI45028 UI35411
3. z/OS (IOS): OA47913 UA80812
4. HCD: OA46010
5. IOCP: OA47938 UA90986
6. HCM: IO23612
7. RMF: OA49113 UA80445
27
Note. For a complete / current list of PTFs refer to the PSP bucket.
© 2016 IBM Corporation
Step 3. HCD - Defining ISM in HCD
§ ISM is defined as a PCI device. VCHIDs and FIDs / VFs must be
defined in HCD (or IOCDS)
– A VCHID represents a virtual PCI Adapter, which also represents a unique
(isolated) internal network
– FIDs/VFs are assigned to LPARs as reconfigurable PCI functions
– FIDs that are defined to the same VCHID are eligible to communicate with
each other
§ Some examples of Service Element (SE) panels are included in the
backup (page 67)
§ HCD Change processor steps are shown in backup (required before
you can define ISM)
§ HCD (and IOCDS) samples of ISM definition and a corresponding HCD
IQD sample definition (with PNet ID) follow.
28
© 2016 IBM Corporation
Associating ISM with your IP Network devices (OSA or HS)
§ ISM Functions must also be associated with another Channel (CHID),
either:
1. IQD (a single IQD / HiperSockets) channel or…
2. OSD channels
A single ISM VCHID can not be associated with both (IQD and OSD)
§ The association of an ISM VCHID (Function IDs) to the channel(s) is
created by defining (HCD) matching Physical Network IDs (PNet IDs)
§ The channel devices (OSD or IQD) provide IP connectivity and are
associated with ISM based on having matching PNet IDs
§ ISM (like IQD) supports a single PNet ID per ISM VCHID (a single
“logical port”)
§ PNet IDs are dynamically discovered by z/OS (from HCD config)
29
© 2016 IBM Corporation
Associating ISM with your IP Network devices (part 2)
§ ISM PNet IDs must:
– be unique among other ISM VCHIDs for this System
– match a corresponding IQD VCHID or OSD Channel(s)
§ Additional PNet ID information is illustrated in the following charts:
– “IP Connectivity” (topology) examples (concepts) of matching PNet IDs
– New PNet ID Netstat displays
30
© 2016 IBM Corporation
ISM Configuration Example (see the following HCD charts)
31
. . .
LP 1
(SAMPLE1)
LP 3LP 2 LP 5 LP N
PR/SM
LP 6
ISM Network PNET1 (ISM VCHID 7E1)
VF=1 ?VF=2? ? ??
ISM
FID 1017
ISM ISM
ISM
FID 1018 ISM ISM ISM
CPC (TESTPROC)
FUNCTION FID=1017,PCHID=7E1,VF=1,PART=((SAMPLE1),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM
FUNCTION FID=1018,PCHID=7E1,VF=2,PART=((SAMPLE2),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM
LP 4
(SAMPLE2)
© 2016 IBM Corporation32
Add PCIe Function
Add PCIe Function
Specify or revise the following values.
Processor ID . . . . : TESTPROC testprocessor
Function ID . . . . . . 1017
Type . . . . . . . . . ISM +
CHID . . . . . . . . . 7E1 +
Virtual Function ID . . 1 +
Description . . . . . . test scenario
Define the ISM function:
1. action f on processor to see the PCIe function list
2. action add on function list (PF11 or line command add like)
Note the ISM VCHID 7E1
Press Enter
© 2016 IBM Corporation33
Add/Modify ISM PNet ID
Add/Modify Physical Network IDs
If the CHID is associated to one or more physical
networks, specify each
physical network ID corresponding to each
applicable physical port.
Physical network ID 1 . . PNET1___________
Physical network ID 2 . . ________________
Physical network ID 3 . . ________________
Physical network ID 4 . . ________________
PNet ID Notes.
1. ISM supports a single PNet ID per ISM VCHID
2. ISM PNet IDs must be unique among other ISM VCHIDs for this System
3. ISM PNet IDs must match a corresponding IQD VCHID or OSD Channel(s)
Press Enter
© 2016 IBM Corporation34
Define Access List
Define Access List
Row 1 Of
Command ===> ________________________________ Scroll ===> HALF
Select one or more partitions for inclusion in the access list.
Function ID . . . . : 1017
/ CSS ID Partition Name Number Usage Description
....
/ 0 SAMPLE1 6 OS
_ 0 SAMPLE2 8 OS
Allows access to this ISM Function (FID) from specific partitions.
Press Enter
Note. The selected partition (SAMPLE1 in this example) must also be in theAccess List for the
corresponding IQD or OSD Channel
© 2016 IBM Corporation35
Define HiperSockets (IQD) Channel (to be associated with ISM VCHID)
Add Channel Path
Specify or revise the following values.
Processor ID . . . . : TESTPROC testprocessor
Configuration mode . : LPAR
Channel Subsystem ID : 0
Channel path ID . . . . 11 + Channel ID
7E0 +
Number of CHPIDs . . . . 1
Channel path type . . . IQD +
Operation mode . . . . . SHR +
Managed . . . . . . . . No (Yes or No) I/O Cluster
________ +
Description . . . . . . sample IQD__________________
Specify the following values only if connected to a
switch:
Dynamic entry switch ID __ + (00 - FF)
Entry switch ID . . . . __ +
Entry port . . . . . . . __ +
Press Enter
© 2016 IBM Corporation36
Define IQD Parameters
Specify IQD Channel Parameters
Specify or revise the values below.
Maximum frame size in KB . . . . . . 16 +
IQD function . . . . . . . . . . . . 1 1. Basic
HiperSockets
2. IEDN Access
(IQDX)
3. External
Bridge
Physical network ID . . . . . . . . PNET1____________
Press Enter
© 2016 IBM Corporation37
Define IQD Access List
Define Access List
Row 1 of
Command ===> _________________________________________
Scroll ===> HAL
Select one or more partitions for inclusion in the access
list.
Channel subsystem ID : 0
Channel path ID . . : 11 Channel path type . : IQD
Operation mode . . . : DED Number of CHPIDs . . : 1
/ CSS ID Partition Name Number Usage Description
...
/ 0 SAMPLE1 6 OS
/ 0 SAMPLE2 8 OS
Press Enter
Enter on the candidate list as well, and you are back on the chpid list.
Press F3 twice to go back to the processor list
Result: Chpid 11 on PCHID 7E0 is now defined and has partition SAMPLE1 and SAMPLE2 of CSS 0 in its access list.
PNETID is PNET1
© 2016 IBM Corporation
z/OS CommServer Exploitation of Internal Shared Memory (ISM)
§ ISM enables Shared Memory Communications-Direct Memory Access (SMC-D)
§ Once the ISM HCD configuration is complete, SMC-D can be enabled in z/OS
with a single TCP/IP parameter (GLOBALCONFIG SMCD).
§ Notes:
– ISM FIDs are not defined in the TCP/IP profile. ISM FIDs must be Configured On to
z/OS and then the FIDs are dynamically discovered by TCP/IP.
– An OS can be enabled for both SMC-R and SMC-D. SMC-D is used when both peers
are within the same CPC (and using the ISM VCHID and VLAN).
– ISM FIDs (VCHIDs) must be associated with an IP network. The association is
accomplished by defining matching PNet IDs (e.g. HS and ISM).
Notes:
• Your OSA (or IQD channel) must have a PNet ID defined (and must match your ISM FID)
• The OSA or IQD INTERFACE statement must have IPSubnet defined
– Host virtual memory is managed by each OS (similar to SMC-R, logically shared
memory) following existing z System’s PCI I/O translation architecture (i.e. only minor
changes required for z/VM guests). There are no required configuration changes.
38
© 2016 IBM Corporation
Step 4. TCPIP Profile GlobalConfig SMCD
39
§ SMCD parameter on GLOBALCONFIG (similar to SMCR)
§ Single Keyword! SMCD is the only required setting to enable SMC-D
§ Key difference from SMCR parameter: ISM PFIDs are not defined in TCPIP (ISM FIDs are
auto discovered based on matching PNETID associated with the OSD or HiperSockets)
>>-GLOBALCONFig-------------------------------------------------------->
.--------------------------------------------------------------.
V |
>-----+--------------------------------------------------------+--+--><
: :
| .-NOSMCD---------------------------------------------. |
| | | |
+-+----------------------------------------------------+-+
| | .-------------------------------------------. | |
| | V | | |
| '-SMCD---+---------------------------------------+-+-' |
| | .-FIXEDMemory--256------. | |
| +---+-----------------------+-----------+ |
| | '-FIXEDMemory--mem_size-' | |
| | .-TCPKEEPmininterval--300------. | |
| '---+------------------------------+----' |
| '-TCPKEEPmininterval--interval-' |
© 2016 IBM Corporation
Dynamic Transition from TCP to SMC-D – (HiperSockets IP Network)
HS ISM
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System B
SMC-D
HSISM
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System A
SMC-D
IP Network (HiperSockets) within System z
TCP connection establishment over IP
Dynamic (in-line) negotiation for SMC-D is initiated by presence of TCP Options
TCP syn flows (with TCP Options
CLC indicating SMC-D capability)
ISM VCHID (within System z)
TCP connection transitions to SMC-D allowing application data to be exchanged using Direct
Memory Access (LPAR to LPAR)
data exchanged using
native PCI operations
(PCI STB)
data exchanged using
native PCI operations
(PCI STB)
HiperSockets
and ISM have
the same
PNet ID
e.g. PNet1
System z13
40
© 2016 IBM Corporation41
OSA ISM
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System B
SMC-D
OSAISM
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System A
SMC-D
Dynamic Transition from TCP to SMC-D (OSA/LAN IP network)
IP Network (Ethernet)
TCP connection establishment over IP
Dynamic (in-line) negotiation for SMC-R&SMC-D is initiated by presence of TCP Options
TCP syn flows (with TCP Options
CLC indicating SMC-R+SMC-D capability)
System z13
ISM VCHID (within System z)
TCP connection transitions to SMC-D allowing application data to be exchanged using Direct
Memory Access (LPAR to LPAR)
data exchanged using
native PCI operations
(PCI STB)
data exchanged using
native PCI operations
(PCI STB)
OSA and ISM
have the same
PNet ID
e.g. PNet1
41
© 2016 IBM Corporation42
OSA ISM
TCP
IP
Interface
Sockets
Middleware/Application
z/OS System B
OSAISM
TCP
IP
Sockets
Middleware/Application
z/OS System A
OSA/LAN IP network with SMC-D and SMC-R
IP Network (Ethernet)
ISM VCHID (within System z)
System z13
OSA, ISM and
ROCE have the
same PNet ID
e.g. PNET1
42
SMC-DSMC-D
ROCE OSAROCE
TCP
IP
Sockets
Middleware/Application
z/OS System C
RDMA network ROCE
System z13 / zEC12 / zBC12
SMC-R
SMC-R
Note.This figure is another view ofchart12.
© 2016 IBM Corporation
Multiple IP Subnets are not Supported by SMC (SMC-R or SMC-D)!
IBM Confidential
IP Subnet ‘A’
z/OS A (LP 1) z/OS B (LP 2)
System z 13
ISM Network PNet X
OSAOSA
QDIOQDIO
PR/SM
PNet X
ISM ISM
ISM ISM
IP Interface A.1 IP Interface B.1
IP Subnet ‘B’
IP Router
VCHID X
PNet X PNet X
Each host uses a different IP subnet
Each host uses a different IP subnet
Multiple IP subnets and IPSec
are both not supported by SMC
43
Peers must have direct connectivity over the same IP subnet to
exploit SMC-R or SMC-D
© 2016 IBM Corporation
ISM VLAN Overview
44
© 2016 IBM Corporation
ISM VCHID = Internal (ISM) Network (based on PNet ID)
. . .
LP 1 LP 3LP 2 LP 5LP 4 LP N
PR/SM
LP 6
ISM Network PNet A (ISM VCHID A)
A AAA A AA
ISM ISM ISM ISM ISM ISM ISM
CPC
45
© 2016 IBM Corporation
Subdividing ISM VCHIDs with VLANs (Isolating Workloads)
. . .
LP 1 LP 3LP 2 LP 5LP 4 LP N
PR/SM
LP 6
ISM Network PNet A (VCHID A)
A.1 A.2A.1A.1 A.1 A.2
A.1 A.2
ISM ISM ISM ISM ISM ISM ISM
CPC
VLAN 1 VLAN 2
In z/OS ISM VLAN definitions are inherited from the associated IP interface
46
© 2016 IBM Corporation
Isolating workloads with multiple VCHIDs and VLANs
. . .
LP 1 LP 3LP 2 LP 5LP 4 LP N
PR/SM
LP 6
ISM Network PNet A (VCHID A)
ISM Network PNet B (VCHID B)
B.1 A.2A.1B.1 A.1 B.7A.1 A.2
ISM ISM ISM ISM ISM ISM ISM1 ISM2
CPC
VLAN 1
VLAN 2
VLAN 7VLAN 1
B.7 A.2
This OS has access to
2 unique ISM networks
(VCHIDs); requires 2
unique ISM FIDs
This OS (LP2 & LP5) have
access to 2 VLANs on the same
ISM network; requires a single
ISM FID
47
© 2016 IBM Corporation
Topic 5. Verification of ISM Usage
48
© 2016 IBM Corporation
D PCIE (PFIDs that are in use)
D PCIE
IQP022I 12.14.22 DISPLAY PCIE 691
PCIE 0010 ACTIVE
PFID DEVICE TYPE NAME STATUS ASID JOBNAME PCHID VFN
00000005 10GbE RoCE Express ALLC 0038 VTAMCS 0100 0005
00000001 10GbE RoCE Express ALLC 0038 VTAMCS 0184 0001
00000500 ISM ALLC 0038 VTAMCS 07E0 0001
00000501 ISM ALLC 0038 VTAMCS 07E0 0002
00000502 ISM CNFG 07E0 0003
00000503 ISM CNFG 07E0 0004
00000504 ISM CNFG 07E0 0005
00000600 ISM ALLC 0038 VTAMCS 07E1 0001
00000601 ISM ALLC 0038 VTAMCS 07E1 0002
00000602 ISM CNFG 07E1 0003
00000603 ISM CNFG 07E1 0004
00000604 ISM CNFG 07E1 0005
Display PCIE shows the ISM PFIDs that are now allocated to VTAM (ALLC):
Note. If you display a specific FID additional detail is provided including the configured PNET ID value.
© 2016 IBM Corporation
Displaying the Configured PNet IDs for Channel Devices
50
OSD CHPID:
d m=chp(16)
IEE174I 11.20.44 DISPLAY M 612
CHPID 16: TYPE=11, DESC=OSA DIRECT EXPRESS, ONLINE
DEVICE STATUS FOR CHANNEL PATH 16
0 1 2 3 4 5 6 7 8 9 A B C D E F
0096 + + + + + + + + + + + + . . . +
SWITCH DEVICE NUMBER = NONE
PHYSICAL CHANNEL ID = 01C0
PNETID 1 = P1
************************ SYMBOL EXPLANATIONS ************************
+ ONLINE @ PATH NOT VALIDATED - OFFLINE . DOES NOT EXIST
* PHYSICALLY ONLINE $ PATH NOT OPERATIONAL
IQD CHPID:
d m=chp(21)
IEE174I 11.21.19 DISPLAY M 615
CHPID 21: TYPE=24, DESC=INTERNAL QUEUED DIRECT COMM, ONLINE
DEVICE STATUS FOR CHANNEL PATH 21
0 1 2 3 4 5 6 7 8 9 A B C D E F
0FD1 + + + + + + + + + + + + + + + +
SWITCH DEVICE NUMBER = NONE
ATTRIBUTES = MFS(24KB)
PNETID = P2
************************ SYMBOL EXPLANATIONS ************************
+ ONLINE @ PATH NOT VALIDATED - OFFLINE . DOES NOT EXIST
* PHYSICALLY ONLINE $ PATH NOT OPERATIONAL
© 2016 IBM Corporation
Displaying the Configured PNet IDs for PCI Devices
51
RoCE PFID:
d pcie,pfid=5
IQP024I 11.22.20 DISPLAY PCIE 618
PCIE 0010 ACTIVE
PFID DEVICE TYPE NAME STATUS ASID JOBNAME CHID VFN
00000005 10GbE RoCE Express CNFG 0100 0005
CLIENT ASIDS: NONE
PNetID 1: P1
PNetID 2: P1
ISM PFID:
d pcie,pfid=500
IQP024I 11.22.30 DISPLAY PCIE 621
PCIE 0010 ACTIVE
PFID DEVICE TYPE NAME STATUS ASID JOBNAME CHID VFN
00000500 ISM CNFG 07E0 0001
CLIENT ASIDS: NONE
PNetID 1: P1
© 2016 IBM Corporation
Netstat DEvlinks/-d for a SMCD-enabled IQD interface
D TCPIP,TCPIP2,NETSTAT,DEVLINKS,INTFNAME=IQD1
EZD0101I NETSTAT CS V2R3 TCPIP2 694
INTFNAME: IQD1 INTFTYPE: IPAQIDIO INTFSTATUS: READY
TRLE: IUTIQ421 DATAPATH: FD12 DATAPATHSTATUS: READY
CHPID: 21
PNETID: P2 SMCD: YES
IPBROADCASTCAPABILITY: NO
ARPOFFLOAD: YES ARPOFFLOADINFO: YES
CFGMTU: NONE ACTMTU: 16384
IPADDR: 10.15.2.21/24
VLANID: 200
READSTORAGE: GLOBAL (3008K)
SECCLASS: 255 MONSYSPLEX: NO
IQDMULTIWRITE: DISABLED
MULTICAST SPECIFIC:
MULTICAST CAPABILITY: YES
GROUP REFCNT SRCFLTMD
----- ------ --------
224.0.0.1 0000000001 EXCLUDE
SRCADDR: NONE
INTERFACE STATISTICS:
BYTESIN = 0
INBOUND PACKETS = 0
INBOUND PACKETS IN ERROR = 0
INBOUND PACKETS DISCARDED = 0
INBOUND PACKETS WITH NO PROTOCOL = 0
BYTESOUT = 0
OUTBOUND PACKETS = 0
OUTBOUND PACKETS IN ERROR = 0
OUTBOUND PACKETS DISCARDED = 0
ASSOCIATED ISM INTERFACE: EZAISM01
1 OF 1 RECORDS DISPLAYED
END OF THE REPORT
Shows the PNETID and the associated ISM interface:
© 2016 IBM Corporation
Netstat DEvlinks/-d for a SMCD-enabled OSD interface
D TCPIP,TCPIP2,NETSTAT,DEVLINKS,INTFNAME=OSD1
EZD0101I NETSTAT CS V2R3 TCPIP2 700
INTFNAME: OSD1 INTFTYPE: IPAQENET INTFSTATUS: READY
PORTNAME: HYDRA960 DATAPATH: 0962 DATAPATHSTATUS: READY
CHPIDTYPE: OSD SMCR: YES
PNETID: P1 SMCD: YES
SPEED: 0000001000
IPBROADCASTCAPABILITY: NO
VMACADDR: 0200014860B0 VMACORIGIN: OSA VMACROUTER: ALL
ARPOFFLOAD: YES ARPOFFLOADINFO: YES
CFGMTU: NONE ACTMTU: 8992
IPADDR: 10.15.1.21/24
VLANID: 100 VLANPRIORITY: DISABLED
.
.
.
ASSOCIATED RNIC INTERFACE: EZARIUT10001
ASSOCIATED ISM INTERFACE: EZAISM02
IPV4 LAN GROUP SUMMARY
LANGROUP: 00002
NAME STATUS ARPOWNER VIPAOWNER
---- ------ -------- ---------
OSD1 ACTIVE OSD1 YES
1 OF 1 RECORDS DISPLAYED
END OF THE REPORT
Shows the PNETID and the associated RNIC and ISM interfaces:
© 2016 IBM Corporation
Netstat Devlinks all PNetIDs (new)
Netstat DEvlinks/-d PNETID * shows a summary of all the active interfaces that have a PNetID
configured organized by PNetID value:
D TCPIP,TCPIP2,NETSTAT,DEVLINKS,PNETID=*
EZD0101I NETSTAT CS V2R3 TCPIP2 881
PNETID: P2
INTFNAME: IQDIOINTF6 INTFTYPE: IPAQIDIO6
INTFNAME: IQDIOLNK0A0F0217 INTFTYPE: IPAQIDIO
INTFNAME: EZAISM01 INTFTYPE: ISM ASSOCIATED: YES
PNETID: P1
INTFNAME: V6OSD1 INTFTYPE: IPAQENET6
INTFNAME: OSD1 INTFTYPE: IPAQENET
INTFNAME: EZAISM02 INTFTYPE: ISM ASSOCIATED: YES
INTFNAME: EZARIUT10003 INTFTYPE: RNIC ASSOCIATED: YES
7 OF 7 RECORDS DISPLAYED
END OF THE REPORT
© 2016 IBM Corporation
Netstat Devlinks specific Pnet ID (new)
Netstat DEvlinks/-d PNETID <pnetid> shows details of the all active interfaces that have a PNetID
configured for a specific PNetID value:
D TCPIP,TCPIP2,NETSTAT,DEVLINKS,PNETID=P2
EZD0101I NETSTAT CS V2R3 TCPIP2 887
INTFNAME: IQDIOINTF6 INTFTYPE: IPAQIDIO6
TRLE: IUTIQDIO CHPID: 21 VCHID: 07E3
DATAPATH: FD12 VLANID: NONE SMCD: YES
INTFNAME: IQDIOLNK0A0F0217 INTFTYPE: IPAQIDIO
TRLE: IUTIQDIO CHPID: 21 VCHID: 07E3
DATAPATH: FD12 VLANID: NONE SMCD: YES
INTFNAME: EZAISM01 INTFTYPE: ISM ASSOCIATED: YES
TRLE: IUT00605 PFID: 0605 VCHID: 07E1
GIDADDR: 09008586C9172964
3 OF 3 RECORDS DISPLAYED
END OF THE REPORT
© 2016 IBM Corporation
Netstat ALL/-A for a connection using SMCD
D TCPIP,TCPIP2,NETSTAT,ALL,IPPORT=10.15.2.31+21
EZD0101I NETSTAT CS V2R3 TCPIP2 791
CLIENT NAME: OSASUP13 CLIENT ID: 00000032
LOCAL SOCKET: 10.15.2.21..1024
FOREIGN SOCKET: 10.15.2.31..21
BYTESIN: 00000000000000000174
BYTESOUT: 00000000000000000029
SEGMENTSIN: 00000000000000000007
SEGMENTSOUT: 00000000000000000007
STARTDATE: 08/19/2015 STARTTIME: 16:16:38
LAST TOUCHED: 16:16:38 STATE: ESTABLSH
.
.
.
RECEIVEBUFFERSIZE: 0000245760 SENDBUFFERSIZE: 0000184320
RECEIVEDATAQUEUED: 0000000000
SENDDATAQUEUED: 0000000000
SENDSTALLED: NO
SMC INFORMATION:
SMCDSTATUS: ACTIVE
LOCALSMCDLINKID:4B020000 REMOTESMCDLINKID: 4B030000
LOCALSMCRCVBUF: 64K REMOTESMCRCVBUF: 64K
ANCILLARY INPUT QUEUE: N/A
APPLICATION DATA: EZAFTP0C C OSASUP1 C D
Shows the SMCD status and a SMCD reason code if SMCD could not be used
© 2016 IBM Corporation
Netstat DEvlinks/-d SMC
D TCPIP,TCPIP2,NETSTAT,DEVLINKS,SMC
EZD0101I NETSTAT CS V2R3 TCPIP2 833
INTFNAME: EZAISM01 INTFTYPE: ISM INTFSTATUS: READY
PFID: 0600 TRLE: IUT00600 PFIDSTATUS: READY
PNETID: P2
GIDADDR: 02008581C9172964
INTERFACE STATISTICS:
BYTESIN = 6567
INBOUND OPERATIONS = 17
BYTESOUT = 41
OUTBOUND OPERATIONS = 4
SMC LINKS = 1
TCP CONNECTIONS = 1
INTF RECEIVE BUFFER INUSE = 64K
SMCD LINK INFORMATION:
LOCALSMCDLINKID: 4B020000 REMOTESMCDLINKID: 4B030000
VLANID: 200
LOCALGID: 02008581C9172964
REMOTEGID: 01008582C9172964
SMCDLINKBYTESIN: 6567
SMCDLINKINOPERATIONS: 17
SMCDLINKBYTESOUT: 41
SMCDLINKOUTOPERATIONS: 4
TCP CONNECTIONS: 1
LINK RECEIVE BUFFER INUSE: 64K
INTFNAME: EZAISM02 INTFTYPE: ISM INTFSTATUS: READY
.
.
.
3 OF 3 RECORDS DISPLAYED
END OF THE REPORT
Shows all ISM and
RNIC interfaces and
associated SMC link
information
© 2016 IBM Corporation
Summary: Verification of SMC-D
§ Requires (at least) two z/OS instances (LPARs or z/VM guests) executing
on the same z13 CPC (GA2 or z13s)
§ Both z/OS instances must:
– be defined to use the same ISM VCHID
– have their ISM FIDs Configured On to each z/OS (LPAR)
– have direct access to the same IP network (IP subnet) via OSA or
HiperSockets (i.e. hosts can communicate directly over the same IP subnet
without traversing an IP Router).
– define an IP interface with the same VLAN ID (if VLANs are used)
§ Enable both ISM and SMC-D (see backup for Netstat examples)
– Verify both ISM and SMC-D are enabled
– start your test application (TCP sockets) workloads
– Verify TCP connections dynamically exploit SMC-D
§ Optional: Measure / compare your performance:
– Working with your performance analyst consider comparing your TCP/IP (OSA
or HS) performance benchmarks with SMC-D (ISM) benchmarks for the
sample workloads you are most interested in evaluating58
© 2016 IBM Corporation
Topic 6. SMC Applicability Tool (SMC-AT)
59
© 2016 IBM Corporation
Evaluating SMC Applicability and Benefits
As customers express interest in SMC-R and RoCE Express
one of the initial questions asked is:
§ “What benefit will SMC-R provide in my environment?”
– Some users are well aware of significant traffic patterns that can benefit from SMC-R
– But others are unsure of how much of their TCP traffic (in their environment) is:
• z/OS to z/OS and
• how much of that traffic is well suited to SMC-R
§ This same set of customer questions will also apply to SMC-D
§ RYO evaluation processes can be a time consuming activity that
requires significant expertise.
60
© 2016 IBM Corporation
SMC Applicability Tool Introduction
A new tool called SMC Applicability Tool (SMCAT) has been created that
will help customers determine the value of SMC-R and SMC-D in their
environment with minimal effort and minimal impact
• SMCAT is integrated within the TCP/IP stack:
Gathers new statistics that are used to project SMC-R and SMC-D
applicability and benefits for the current system
– Minimal system overhead, no changes in TCP/IP network flows
– Produces reports on potential benefits of enabling SMC-R / SMC-D
– Does not require RoCE or ISM hardware or the SMC-R/D function. No IP configuration
changes are required (measures your existing TCP/IP traffic).
• Available via the service stream on existing z/OS releases:
– z/OS V1R13 - APAR PI48309 PTF UI31050
– z/OS V2R1, V2R2 - APAR PI48155, PTFs UI31054 (2.1) and UI31055 (2.2)
• For additional SMC-AT information refer to:
http://www.ibm.com/software/network/commserver/SMCR
61
© 2016 IBM Corporation
SMC References
§ SMC One Stop Shopping Web Page (Includes latest links to ALL other SMC References):
http://www.ibm.com/software/network/commserver/SMCR
© 2016 IBM Corporation
© 2016 IBM Corporation
Backup
Feedback, comments and questions are welcome.
Backup Topics (additional details):
1. HCD Change Processor
2. Service Element Screenshot Examples
3. Sample TRLE (display) Information
64
© 2016 IBM Corporation
Backup Topic 1.1 Configuring ISM in HCD
§ HCD prereqs:
– HCD APAR / PTF (OA46010)
– Before you can define FID Type ISM you must first update your processor
definition (see example in next charts)
§ Notes:
1. The maximum value that can be configured for a PCI FID (any FID type) is x0FFF
2. The maximum number of VFs (FIDs) that can be configured for the same ISM PCHID
= 255.
65
© 2016 IBM Corporation
Change Processor (HCD Processor List)
66
HCD option 1.3. C (Change) then press Enter
© 2016 IBM Corporation
Change Processor Definition
67
Press enter
© 2016 IBM Corporation
Change Processor Definition
68
Select the new support level (slash) then Enter)
© 2016 IBM Corporation
Backup Topic 2. Service Element (SE) Screenshot Examples
69
Note: This is not the same configuration as in the previous HCD example
© 2016 IBM Corporation
Channel View
70
• VCHID range 07C0 -07FF is shared with HiperSockets VCHIDs
• Up to 255 FIDs per VCHID
• FIDs are unique per System
VCHID FIDs Channel Type
© 2016 IBM Corporation
Channel Details
71
Network ID per VCHID,
associates an ISM VCHID with an HiperSockets VCHID (or OSA CHID)
© 2016 IBM Corporation
FID View
72
© 2015 IBM Corporation73
Display TRL with CONTROL=ISM will show all ISM TRLEs
D NET,TRL,CONTROL=ISM
IST097I DISPLAY ACCEPTED
IST350I DISPLAY TYPE = TRL 725
IST924I -------------------------------------------------------------
IST1954I TRL MAJOR NODE = ISTTRL
IST1314I TRLE = IUT00501 STATUS = ACTIV CONTROL = ISM
IST1314I TRLE = IUT00500 STATUS = ACTIV CONTROL = ISM
IST1314I TRLE = IUT00601 STATUS = ACTIV CONTROL = ISM
IST1314I TRLE = IUT00600 STATUS = ACTIV CONTROL = ISM
IST1454I 4 TRLE(S) DISPLAYED
IST924I -------------------------------------------------------------
IST1954I TRL MAJOR NODE = HUBTRLES
IST1454I 0 TRLE(S) DISPLAYED
IST924I -------------------------------------------------------------
IST1954I TRL MAJOR NODE = VTMTRLES
IST172I NO TRLES EXIST
IST1454I 0 TRLE(S) DISPLAYED
IST924I -------------------------------------------------------------
IST1954I TRL MAJOR NODE = LOCTRLES
IST1454I 0 TRLE(S) DISPLAYED
IST924I -------------------------------------------------------------
IST1954I TRL MAJOR NODE = NETMTRLS
IST1454I 0 TRLE(S) DISPLAYED
IST314I END
© 2015 IBM Corporation74
Display TRL for an ISM TRLE
D NET,TRL,TRLE=IUT00600
IST097I DISPLAY ACCEPTED
IST075I NAME = IUT00600, TYPE = TRLE 729
IST1954I TRL MAJOR NODE = ISTTRL
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST087I TYPE = *NA* , CONTROL = ISM , HPDT =
*NA*
IST2418I SMCD PFID = 0600 VCHID = 07E1 PNETID = P2
IST2417I VFN = 0001
IST924I --------------------------------------------------
-----------
IST1717I ULPID = TCPIP2 ULP INTERFACE = EZAISM01
IST1724I I/O TRACE = OFF TRACE LENGTH = *NA*
IST314I END
Shows the detailed TRLE information
© 2016 IBM Corporation
End of Material
75

More Related Content

PDF
ALL ABOUT DB2 DSNZPARM
 
PPT
Storage Technology Overview
PDF
Parallel Replication in MySQL and MariaDB
PPT
Storage Managment
PDF
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
PPTX
Reverse proxy & web cache with NGINX, HAProxy and Varnish
PPTX
A DBA’s guide to using TSA
PDF
Z4R: Intro to Storage and DFSMS for z/OS
ALL ABOUT DB2 DSNZPARM
 
Storage Technology Overview
Parallel Replication in MySQL and MariaDB
Storage Managment
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
Reverse proxy & web cache with NGINX, HAProxy and Varnish
A DBA’s guide to using TSA
Z4R: Intro to Storage and DFSMS for z/OS

What's hot (20)

PDF
DB2 Accounting Reporting
PDF
Db2 and storage management (mullins)
PPTX
Cisco ASA Firepower
PDF
Mainframe IPL Process.pdf
PDF
TN3270 Access to Mainframe SNA Applications
PDF
CA IDMS Performance and Tuning
PDF
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
PDF
z/OS Communications Server Overview
PPTX
Basics of storage Technology
PDF
The InnoDB Storage Engine for MySQL
PDF
MySQL Group Replication - Ready For Production? (2018-04)
PPTX
Postgres MVCC - A Developer Centric View of Multi Version Concurrency Control
PPTX
Storage area network
PDF
Cisco ucs presentation
PDF
MySQL InnoDB Cluster: High Availability Made Easy!
PDF
Best Practice for Achieving High Availability in MariaDB
PPTX
Veeam Solutions for SMB_2022.pptx
PDF
DB2 for z/OS - Starter's guide to memory monitoring and control
DOCX
Block Level Storage Vs File Level Storage
DB2 Accounting Reporting
Db2 and storage management (mullins)
Cisco ASA Firepower
Mainframe IPL Process.pdf
TN3270 Access to Mainframe SNA Applications
CA IDMS Performance and Tuning
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
z/OS Communications Server Overview
Basics of storage Technology
The InnoDB Storage Engine for MySQL
MySQL Group Replication - Ready For Production? (2018-04)
Postgres MVCC - A Developer Centric View of Multi Version Concurrency Control
Storage area network
Cisco ucs presentation
MySQL InnoDB Cluster: High Availability Made Easy!
Best Practice for Achieving High Availability in MariaDB
Veeam Solutions for SMB_2022.pptx
DB2 for z/OS - Starter's guide to memory monitoring and control
Block Level Storage Vs File Level Storage
Ad

Viewers also liked (20)

PDF
z/OS V2R3 Communications Server Content Preview
PDF
Motivations and Considerations for Migrating from SMTPD/Sendmail to CSSMTP
PDF
[9-6-2016] Openlab Poster-v3
PDF
z/OS V2R2 Communications Server Overview
PDF
IBM Design Thinking with z/OS Communications Server
PDF
Investor alert—investment scams exploit immigrant investor program
PPTX
Example problems
PDF
Nomadic Display Setup Fabri Mural
DOC
New living and working
PPTX
8800117436 Projects in Haridwar in MARVELLA CITY
PDF
World Cup! Young Germany Guest Blogging
PPTX
DOC
So you want to retire in florida 1997 far
PDF
Raspberry pi 2
PDF
The art of_firewalking-by-sujay
PDF
Heartbleed by-danish amber
PPTX
Uga Webinar Series: building credibility as a young professional
PDF
z/OS Communications Server: z/OS Resolver
PDF
Security News Bytes
PPTX
UGA Guest Lecture: Social Media 101
z/OS V2R3 Communications Server Content Preview
Motivations and Considerations for Migrating from SMTPD/Sendmail to CSSMTP
[9-6-2016] Openlab Poster-v3
z/OS V2R2 Communications Server Overview
IBM Design Thinking with z/OS Communications Server
Investor alert—investment scams exploit immigrant investor program
Example problems
Nomadic Display Setup Fabri Mural
New living and working
8800117436 Projects in Haridwar in MARVELLA CITY
World Cup! Young Germany Guest Blogging
So you want to retire in florida 1997 far
Raspberry pi 2
The art of_firewalking-by-sujay
Heartbleed by-danish amber
Uga Webinar Series: building credibility as a young professional
z/OS Communications Server: z/OS Resolver
Security News Bytes
UGA Guest Lecture: Social Media 101
Ad

Similar to Shared Memory Communications-Direct Memory Access (SMC-D) Overview (20)

PDF
Introduction to IBM Shared Memory Communications Version 2 (SMCv2) and SMC-Dv2
PDF
z/OS Through V2R1Communications Server Performance Functions Update
PDF
Z14_IBM__APL_Presentation_by_Christian_Demmer.pdf
PDF
Z14_IBM__APL_by_Christian_Demmer_IBM.pdf
PPTX
Future Cloud Infrastructure
PDF
2016 02-16-announce-overview-zsp04505 usen
PDF
Hybrid Memory Cube: Developing Scalable and Resilient Memory Systems
PDF
Anz cics ts v5 technical update seminar intro (half day event)
PDF
17294_HiperSockets.pdf
PPTX
cognitive_computing_messages_0601515
PPT
IBM Special Announcement session Intel #IDF2013 September 10, 2013
PDF
Novidades interessantes e importantes do z/os 2.2
PPT
Excellent slides on the new z13s announced on 16th Feb 2016
PPTX
Presentation symmetrix vmax family with enginuity 5876
PPT
Relative Capacity por Eduardo Oliveira e Joseph Temple
PDF
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 
PDF
z/OS small enhancements, episode 2018A
PDF
IBM z/OS Version 2 Release 2 -- Fueling the digital enterprise
PDF
Network support for resource disaggregation in next-generation datacenters
PDF
IMS01 IMS Keynote
Introduction to IBM Shared Memory Communications Version 2 (SMCv2) and SMC-Dv2
z/OS Through V2R1Communications Server Performance Functions Update
Z14_IBM__APL_Presentation_by_Christian_Demmer.pdf
Z14_IBM__APL_by_Christian_Demmer_IBM.pdf
Future Cloud Infrastructure
2016 02-16-announce-overview-zsp04505 usen
Hybrid Memory Cube: Developing Scalable and Resilient Memory Systems
Anz cics ts v5 technical update seminar intro (half day event)
17294_HiperSockets.pdf
cognitive_computing_messages_0601515
IBM Special Announcement session Intel #IDF2013 September 10, 2013
Novidades interessantes e importantes do z/os 2.2
Excellent slides on the new z13s announced on 16th Feb 2016
Presentation symmetrix vmax family with enginuity 5876
Relative Capacity por Eduardo Oliveira e Joseph Temple
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 
z/OS small enhancements, episode 2018A
IBM z/OS Version 2 Release 2 -- Fueling the digital enterprise
Network support for resource disaggregation in next-generation datacenters
IMS01 IMS Keynote

More from zOSCommserver (14)

PDF
zOS CommServer support for the Network Express feature on z17
PDF
z/OS Communications Server Technical Update
PDF
IBM z/OS Communications Server z/OS Encryption Readiness Technology (zERT)
PDF
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
PDF
IBM Configuration Assistant for z/OS Communications Server update
PDF
z/OS 2.3 HiperSockets Converged Interface (HSCI) support
PDF
z/OS Encryption Readiness Technology (zERT)
PDF
TCP/IP Stack Configuration with Configuration Assistant for IBM z/OS CS
PDF
ISPF Recent and Coming Enhancements
PDF
CSM Storage Debugging
PDF
Sysplex in a Nutshell
PDF
Integrated Intrusion Detection Services for z/OS Communications Server
PDF
Enabling Continuous Availability and Reducing Downtime with IBM Multi-Site Wo...
PDF
IP Routing on z/OS
zOS CommServer support for the Network Express feature on z17
z/OS Communications Server Technical Update
IBM z/OS Communications Server z/OS Encryption Readiness Technology (zERT)
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
IBM Configuration Assistant for z/OS Communications Server update
z/OS 2.3 HiperSockets Converged Interface (HSCI) support
z/OS Encryption Readiness Technology (zERT)
TCP/IP Stack Configuration with Configuration Assistant for IBM z/OS CS
ISPF Recent and Coming Enhancements
CSM Storage Debugging
Sysplex in a Nutshell
Integrated Intrusion Detection Services for z/OS Communications Server
Enabling Continuous Availability and Reducing Downtime with IBM Multi-Site Wo...
IP Routing on z/OS

Recently uploaded (20)

PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
A symptom-driven medical diagnosis support model based on machine learning te...
4 layer Arch & Reference Arch of IoT.pdf
Co-training pseudo-labeling for text classification with support vector machi...
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Internet of Everything -Basic concepts details
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
MuleSoft-Compete-Deck for midddleware integrations
Lung cancer patients survival prediction using outlier detection and optimize...
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
giants, standing on the shoulders of - by Daniel Stenberg
Rapid Prototyping: A lecture on prototyping techniques for interface design
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Introduction to MCP and A2A Protocols: Enabling Agent Communication

Shared Memory Communications-Direct Memory Access (SMC-D) Overview

  • 1. © 2016 IBM Corporation IBM z Systems z13™ and z13s™ SMC-D / ISM Introduction: z/OS Overview Jerry Stevens ([email protected]) March 16, 2016
  • 2. © 2016 IBM Corporation2 IBM z Systems™ z13 / z13s SMC-D and ISM Introduction: Topics 1. Brief review of SMC-R 2. Shared Memory Communications – Direct Memory Access (SMC-D): – Introduction: SMC-D: Summary of SMC-D and ISM functions – Objectives / Value of SMC-D and ISM (performance overview) 3. IBM z System z13 Internal Shared Memory (ISM) virtual PCI function 4. Getting started: Setup requirements for enabling SMC-D: – z13™ / z13s™ system firmware and software requirements – ISM System definitions (defining FIDs in HCD) – z/OS Communications Server configuration requirements (enabling SMC-D) – IP connectivity and VLANs 5. Testing / verification / feedback of SMC-D (scenarios) 6. SMC Applicability Tool (SMC-AT)
  • 3. © 2016 IBM Corporation Topic 1. Review of SMC-R 3
  • 4. © 2016 IBM Corporation4 Review: RDMA (Remote Direct Memory Access) Technology Overview Key attributes of RDMA – Enables a host to read or write directly from/to a remote host’s memory without involving the remote host’s CPU – By registering specific memory for RDMA partner use – Interrupts still required for notification (i.e. CPU cycles are not completely eliminated) – Reduced networking stack overhead by using streamlined, low level, RMDA interfaces • Low level APIs such as uDAPL, MPI or RDMA verbs allow optimized exploitation > For applications/middleware willing to exploit these interfaces – Key requirements: • A reliable “lossless” network fabric (LAN for layer 2 data center network distance) • An RDMA capable NIC (RNIC) and RDMA capable switched fabric (switches)1 Host A Memory CPU Host B Memory CPU RDMA enabled network fabric RNIC RNICRkey A Rkey B A B 1. SMC-R requires a standard 10GbE switch
  • 5. © 2016 IBM Corporation Review: Shared Memory Communications over RDMA (SMC-R) 5 SMC-R enabled platform OS image OS image Virtual server instance server client RNIC RDMA technology provides the capability to allow hosts to logically share memory. The SMC-R protocol defines a means to exploit the shared memory for communications - transparent to the applications! Shared Memory Communications via RDMA SMCSMC RDMA enabled (RoCE) RNIC Clustered Systems SMC-R is an open sockets over RDMA protocol that provides transparent exploitation of RDMA (for TCP based applications) while preserving key functions and qualities of service from the TCP/IP ecosystem that enterprise level servers/network depend on! Draft IETF RFC for SMC-R: http://www.rfc-editor.org/rfc/rfc7609.txt SMC-R enabled platform Virtual server instance shared memory shared memory Sockets Sockets 5
  • 6. © 2016 IBM Corporation OSA ROCE TCP IP Interface Sockets Middleware/Application z/OS System B SMC-R OSAROCE TCP IP Interface Sockets Middleware/Application z/OS System A SMC-R Review: Dynamic Transition from TCP to SMC-R TCP connection establishment over IP IP Network (Ethernet) RDMA Network RoCE TCP connection transitions to SMC-R allowing application data to be exchanged using RDMA Dynamic (in-line) negotiation for SMC-R is initiated by presence of TCP Options TCP syn flows (with TCP Options indicating SMC-R capability) data exchanged using RDMA data exchanged using RDMA
  • 7. © 2016 IBM Corporation7 Review: z/OS SMC-R Performance Relative to TCP (OSA Ex4 10Gb) Request Response Workload with different payload. SMC-R provides significantly better performance compared to TCP (OSA Exp4 10Gb). -67.72 -74.41 -88 -87.59 -81.52 -69.55 -51.28 -3.32 -0.79 -8.51 -19.36 -29.54 -39.32 -53.62 -3.72 -1.82 -9.57 -20.97 -29.43 -41.93 -56.3 209.85 290.11 731.91 706.28 440.62 228.8 105.32 RR1(1/1) RR10(1k/1k) RR10(2k/2k) RR10(4k/4k) RR10(8k/8k) RR10(16k/16k) RR10(32k/32k) Request Response Workload -200 0 200 400 600 800 %(RelativetoTCPOSAExp410Gb) Raw Tput CPU-Server CPU-Client Resp Time March 24, 2014 Client, Server : 2 CPs 2827-791 Interfaces: SMC-R and OSA Exp4 10Gb zEC12- 2CPs V2R1 SMC-R vs. TCP Performance Request Response Workload SMC-R Relative to TCP (OSA E4 10Gb)
  • 8. © 2016 IBM Corporation8 8 SMC-R Key Attributes - Summary ü Optimized Network Performance (leveraging RDMA technology) ü Transparent to (TCP socket based) application software ü Leverages existing Ethernet infrastructure (RoCE) ü Preserves existing network security model ü Resiliency (dynamic failover to redundant hardware) ü Transparent to Load Balancers ü Preserves existing IP topology and network administrative and operational model
  • 9. © 2016 IBM Corporation Topic 2. Shared Memory Communications – Direct Memory Access (SMC-D Introduction) 9
  • 10. © 2016 IBM Corporation Shared Memory Communications-Direct Memory Access (SMC-D) over Internal Shared Memory (ISM) Operating System ‘X’ Virtual Server Image 1 (LPAR A) Server Application A Shared Memory “Shared Memory” across unique OS instances within the same CPC SMC-D (over ISM) extends the value of the Shared Memory Communications architecture by enabling SMC for direct LPAR to LPAR communications. SMC-D is very similar to SMC-R (over RoCE) extending the benefits of SMC-R to same CPC operating system instances without requiring physical resources (RoCE adapters, PCI bandwidth, NIC ports, I/O slots, network resources, 10GbE switches etc.). Virtual Server Image 2 LPAR B Operating System ‘Y’ Client Application B Shared Memory ISMDMB 1 DMB 2 Same Platform (Internal) Distance Note 1. The performance benefits of SMC-R (cross CPC) and HiperSockets(within CPC) are similar to each other. SMC-D / ISM provides significantly improved performance benefits above both within the CPC. Reference performance information: http://www-01.ibm.com/software/network/commserver/SMCR/ IBM z Systems: z13 and z13s 10
  • 11. © 2016 IBM Corporation SMC-D over ISM: Internal Shared Memory vPCI Function with ISM VCHIDs IBM z Systems: z13 and z13s z/OS z/OSLP 1 LP 2 DB2 ISM VCHID The Shared Memory Communications-Direct Memory Access (SMC-D) protocol can significantly optimize intra-CPC Operating Systems communications – transparent to socket applications! • Tightly couples socket API communications / memory within the CPC. • Eliminates TCP/IP processing in the data path. • ISM is a z System firmware solution (leveraging existing OS virtual memory and does require additional hardware). DRDA System z vPCI Firmware Shared Memory Communications vPCI ISM Virtual FunctionvPCI ISM Virtual Function Sockets SMC SMC Sockets WAS Shared Mem Shared Mem FID 1 FID 2 11
  • 12. © 2016 IBM Corporation Shared Memory Communications within the enterprise data center (RoCE) and within System z (ISM) SMC-R and SMC-D enabled z13 platform z/OS image 1 (WAS) z/OS image 3 (WAS) Shared Memory Communications via DMA (SMC-D using vPCI ISM) client Both forms of SMC can be used concurrently combining to provide a highly optimized solution. Shared Memory Communications: via System z PCI architecture: 1. RDMA (SMC-R for cross platforms via RoCE) 2. DMA (SMC-D for same CPC via ISM) Shared Memory Communications via RDMA (SMC-R using RoCE) SMC RDMA enabled (RoCE) Clustered Systems: Example: Local and Remote access to DB2 from WAS (JDBC using DRDA) SMC-R enabled platform shared memory Sockets SMC Server shared memory Sockets z/OS image 2 (DB2) shared memory client Sockets SMC RoCE RoCEISM ISMVCHID 12 Note.To better understand the IP connectivity shown in this example see chart35.
  • 13. © 2016 IBM Corporation SMC-D Performance Benefits and Value (Performance Overview) § The value of the next generation of highly optimized internal CPC communications is about providing significantly improved network performance1 using tightly coupled socketAPI communications / memory within the CPC without additional hardware § Network improvement attributes are typically described as latency, throughput, CPU cost and scalability. Improvements in network performance can potentially improve (increase) application workload transaction rates while reducing CPU cost. § The network latency characteristics provided by SMC-D are compelling: – network latency is typically expressed as “network round trip time.” This latency attribute can translate to an improved overall application transaction rate for z/OS to z/OS workloads. – Workloads that are network intensive and transaction oriented (sometimes described as “request/response” workloads) -- that require multiple and even hundreds of network (“client/server”) flows to complete a single transaction will realize the most benefit. 1. Refer to SMC-R website (URL in backup) for SMC-D detailed performance information (additional benchmarks to be added) 13
  • 14. © 2016 IBM Corporation HiperSockets Comparison Up to 9x the throughput! See breakout summary on next chart. 14
  • 15. © 2016 IBM Corporation SMC-D / ISM to HiperSockets Summary Highlights § Request/Response Summary for Workloads with 1k/1k – 4k/4k Payloads: – Latency: Up to 48% reduction in latency – Throughput: Up to 91% increase in throughput – CPU cost: Up to 47% reduction in network related CPU cost § Request/Response Summary for Workloads with 8k/8k – 32k/32k Payloads: – Latency: Up to 82% reduction in latency – Throughput: Up to 475% (~6x) increase in throughput – CPU cost: Up to 82% reduction in network related CPU cost § Streaming Workload: – Latency: Up to 89% reduction in latency – Throughput: Up to 800% (~9x) increase in throughput – CPU cost: Up to 89% reduction in network related CPU cost 15
  • 16. © 2016 IBM Corporation Up to 21x the throughput! See breakout summary on next chart. 16 OSA Comparison
  • 17. © 2016 IBM Corporation SMC-D / ISM to OSA Summary Highlights § Request/Response Summary for Workloads with 1k/1k – 4k/4k Payloads: – Latency: Up to 94% reduction in latency – Throughput: Up to 1601% (~17x) increase in throughput – CPU cost: Up to 40% reduction in network related CPU cost § Request/Response Summary for Workloads with 8k/8k – 32k/32k Payloads: – Latency: Up to 93% reduction in latency – Throughput: Up to 1313% (~14x) increase in throughput – CPU cost: Up to 67% reduction in network related CPU cost § Streaming Workload: – Latency: Up to 95% reduction in latency – Throughput: Up to 2001% (~21x) increase in throughput – CPU cost: Up to 85% reduction in network related CPU cost § FTP: – For Binary Get and Put: • Up to 58% lower (receive side) CPU cost and • Up to 26% lower (send side) CPU cost and equivalent throughput 17
  • 18. © 2016 IBM Corporation © 2015 IBM Corporation 18 • Shared Memory Communications – Direct Memory Access (SMC-D) optimizes z/OS for improved performance in ‘within-the-box’ communications versus standard TCP/IP over HiperSockets or Open System Adapter Typical Client Use Cases: • Valuable for multi-tiered work co-located onto a single z Systems server without requiring extra hardware • Any z/OS TCP sockets based workload can seamlessly use SMC-D without requiring any application changes Up to 61% CPU savings for FTP file transfers across z/OS systems versus HiperSockets* Up to 9x improvement in throughput with more than a 88% decrease in CPU consumption and a 90% decrease in response time for streaming workloads versus using HiperSockets* Up to 91% improvement in throughput and up to 48% improvement in response time for interactive workloads versus using HiperSockets* SMC Applicability Tool (SMCAT) is available to assist in gaining additional insight into the applicability of SMC-D (and SMC-R) for your environment Shared Memory Communications architecture Faster communications that preserve TCP/IP qualities of service * All performance information was determined in a controlled environment. Actual results may vary. Performance information is provided “AS IS” and no warranties or guarantees areexpressed or implied by IBM.
  • 19. © 2016 IBM Corporation © 2015 IBM Corporation 19 * Based on internal IBM benchmarks in a controlled environment usingz/OS V2R1 Communications Server FTP client and FTP server, transferringa 1.2GB binary file using SMC-R (10GbE RoCE Express feature) vs. standard TCP/IP (10GbE OSA Express4feature). The actual CPU savings any user will experience may vary. ** All performance information was determined in a controlled environment. Actual results may vary. Performance information is provided“AS IS” andno warranties or guarantees are expressed or implied by IBM. Shared Memory Communications Remote Direct Memory Access (SMC-R) •Use the RoCE Express hardware feature to enable shared memory communications between two servers •Up to 50% CPU savings for FTP file transfers across z/OS systems versus standard TCP/IP * • z/OS V2.2 Communications Server now automatically selects between TCP/IP and RoCE Shared Memory Communications Direct Memory Access (SMC-D) • Use firmware-based Internal Shared Memory to optimize inter-system operating system communications LPAR to LPAR •Valuable for multi-tiered work co-located onto a single z Systems server without requiring extra hardware •Up to 61% CPU savings for FTP file transfers across z/OS systems versus HiperSockets ** Any z/OS TCP sockets-based workload can seamlessly use SMC-R or SMC-D without application changes SMC Applicability Tool (SMCAT) helps assess benefit of SMC-R and SMC-D for your environment Connection level security is preserved with SMC-R and SMC-D Shared Memory Communications architecture Faster communications that preserve TCP/IP qualities of service Memory-to-memory communications using high speed protocols and direct memory placement of data for faster communications
  • 20. © 2016 IBM Corporation SMC-D and ISM (vPCI) Overall Value Points Provides Highly optimized: improved throughput, reduced latency and CPU cost for intra-CPC communications along with: ü Provides the same list of key SMC-R value points: ü Transparent to socket applications, no IP topology changes, preserves connection level security, VLAN isolation, transparent with load balancers, etc. ü …without requiring hardware (adapters, card slots, switches, PCI infrastructure, fabric management, etc.)… cost savings ü Provides superior resiliency / High Availability (no hardware failures) ü Provides high scalability, bandwidth and virtualization (i.e. 8k virtual functions) ü Preserves security (connection level security + secure internal communications) ü Preserves value of z Systems co-location of workloads (e.g. highly optimized internal communications) ü Enabled in z/OS with a single TCP/IP profile keyword 1 Note 1. ISM VCHID and FIDs must be defined in HCD (or IOCDS) 20
  • 21. © 2016 IBM Corporation Topic 3. IBM System z13™ Internal Shared Memory (ISM) (ISM Introduction) 21
  • 22. © 2016 IBM Corporation22 IBM z Systems™ z13™ and z13s™ SMC-D with ISM Introduction Description § The IBM z13 and z13s introduces Internal Shared Memory (ISM) virtual PCI function. ISM is a virtual PCI network adapter that enables direct access to shared virtual memory providing a highly optimized network interconnect for z Systems intra-CPC communications. § ISM is supported by z/VM 6.3 (PTF) with pass thru guest support. § IBM z/OS V2R2 (PTF) introduces the capability to exploit ISM with Shared Memory Communications-Direct Memory Access (SMC-D). § For more information on new z13™ and z13s™ http://www-03.ibm.com/systems/z/announcement.html
  • 23. © 2016 IBM Corporation Introduction: IBM System z13 / z13s Internal Shared Memory (ISM) virtual PCI Function 23 . . . LP 1 (SAMPLE1) LP 3LP 2 LP 5 LP N PR/SM LP 6 ISM Network PNET1 (ISM VCHID 7E1) VF=1 ?VF=2? ? ?? ISM FID 1017 ISM ISM ISM FID 1018 ISM ISM ISM CPC (TESTPROC) FUNCTION FID=1017,PCHID=7E1,VF=1,PART=((SAMPLE1),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM FUNCTION FID=1018,PCHID=7E1,VF=2,PART=((SAMPLE2),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM LP 4 (SAMPLE2)
  • 24. © 2016 IBM Corporation Internal Shared Memory (ISM) Overview § ISM enables the ability for Operating Systems (LPARs) to share virtual memory (similar to RDMA) § New “Internal Shared Memory” (ISM) VCHID Type (ISM VCHID concepts are similar to IQD (HiperSockets) VCHID) § ISM is based on existing z System’s PCI architecture (i.e. virtual PCI Function / adapter) § Introduces a new PCI Function type (ISM virtual PCI function) § System admin / configuration / operations follows the same process (HCD/IOCDS) as existing PCI functions (e.g. RoCE Express, zEDC Express, etc.) § ISM supports Dynamic I/O § Supported by z/VM when z/OS is a guest on z/VM (PCI device support) § Enables highly optimized next generation intra-CPC communications (SMC-D) continued… 24
  • 25. © 2016 IBM Corporation Internal Shared Memory (ISM) Overview (part 2) § Provides adapter virtualization (Virtual Functions) with high scalability: – 32 ISM VCHIDs per CPC (each VCHID represents a unique internal shared memory network each with a unique Physical Network ID) – 255 VFs per VCHID (8k VFs per CPC) (i.e. the maximum no. of virtual servers that can communicate over the same ISM VCHID is 255) § Each ISM VCHID represents a unique (isolated) internal network, each having a unique Physical Network ID (PNet IDs are configured in HCD/IOCDS) § ISM VCHIDs support VLANs (i.e. can be sub-divided into VLANs) § ISM provides a GID (“Global ID” internally generated by firmware) that corresponds with each ISM FID. The GID is used to locate / address a host on an ISM network (VCHID) § MACs (VMACs), MTU, physical ports1 and Frame size are all N/A § ISM is supported by z/VM (for passthru guest access to support the new PCI function) 25 Note 1. ISM VCHIDs provide support for a single logical port (also see PNet ID topic)
  • 26. © 2016 IBM Corporation Topic 4. Getting Started: Install / Configure / Enable: ISM and SMC-D Enablement Overview 26 Four steps: 1. Upgrade System z (firmware) 2. Install required software 3. Define ISM FIDs with PNet ID (HCD definitions) 4. Enable SMCD (TCP/IP profile)
  • 27. © 2016 IBM Corporation Steps 1 and 2: ISM System z13 and z/OS SMC-D Requirements 1. IBM z Systems: z13 (driver level 27 (GA2)) or z13s 2. z/OS software (PTF) requirements: 1. CommServer VTAM: OA48411 UA80711 2. CommServer TCP/IP: PI45028 UI35411 3. z/OS (IOS): OA47913 UA80812 4. HCD: OA46010 5. IOCP: OA47938 UA90986 6. HCM: IO23612 7. RMF: OA49113 UA80445 27 Note. For a complete / current list of PTFs refer to the PSP bucket.
  • 28. © 2016 IBM Corporation Step 3. HCD - Defining ISM in HCD § ISM is defined as a PCI device. VCHIDs and FIDs / VFs must be defined in HCD (or IOCDS) – A VCHID represents a virtual PCI Adapter, which also represents a unique (isolated) internal network – FIDs/VFs are assigned to LPARs as reconfigurable PCI functions – FIDs that are defined to the same VCHID are eligible to communicate with each other § Some examples of Service Element (SE) panels are included in the backup (page 67) § HCD Change processor steps are shown in backup (required before you can define ISM) § HCD (and IOCDS) samples of ISM definition and a corresponding HCD IQD sample definition (with PNet ID) follow. 28
  • 29. © 2016 IBM Corporation Associating ISM with your IP Network devices (OSA or HS) § ISM Functions must also be associated with another Channel (CHID), either: 1. IQD (a single IQD / HiperSockets) channel or… 2. OSD channels A single ISM VCHID can not be associated with both (IQD and OSD) § The association of an ISM VCHID (Function IDs) to the channel(s) is created by defining (HCD) matching Physical Network IDs (PNet IDs) § The channel devices (OSD or IQD) provide IP connectivity and are associated with ISM based on having matching PNet IDs § ISM (like IQD) supports a single PNet ID per ISM VCHID (a single “logical port”) § PNet IDs are dynamically discovered by z/OS (from HCD config) 29
  • 30. © 2016 IBM Corporation Associating ISM with your IP Network devices (part 2) § ISM PNet IDs must: – be unique among other ISM VCHIDs for this System – match a corresponding IQD VCHID or OSD Channel(s) § Additional PNet ID information is illustrated in the following charts: – “IP Connectivity” (topology) examples (concepts) of matching PNet IDs – New PNet ID Netstat displays 30
  • 31. © 2016 IBM Corporation ISM Configuration Example (see the following HCD charts) 31 . . . LP 1 (SAMPLE1) LP 3LP 2 LP 5 LP N PR/SM LP 6 ISM Network PNET1 (ISM VCHID 7E1) VF=1 ?VF=2? ? ?? ISM FID 1017 ISM ISM ISM FID 1018 ISM ISM ISM CPC (TESTPROC) FUNCTION FID=1017,PCHID=7E1,VF=1,PART=((SAMPLE1),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM FUNCTION FID=1018,PCHID=7E1,VF=2,PART=((SAMPLE2),(SAMPLE1,SAMPLE2)),PNETID=(PNET1),TYPE=ISM LP 4 (SAMPLE2)
  • 32. © 2016 IBM Corporation32 Add PCIe Function Add PCIe Function Specify or revise the following values. Processor ID . . . . : TESTPROC testprocessor Function ID . . . . . . 1017 Type . . . . . . . . . ISM + CHID . . . . . . . . . 7E1 + Virtual Function ID . . 1 + Description . . . . . . test scenario Define the ISM function: 1. action f on processor to see the PCIe function list 2. action add on function list (PF11 or line command add like) Note the ISM VCHID 7E1 Press Enter
  • 33. © 2016 IBM Corporation33 Add/Modify ISM PNet ID Add/Modify Physical Network IDs If the CHID is associated to one or more physical networks, specify each physical network ID corresponding to each applicable physical port. Physical network ID 1 . . PNET1___________ Physical network ID 2 . . ________________ Physical network ID 3 . . ________________ Physical network ID 4 . . ________________ PNet ID Notes. 1. ISM supports a single PNet ID per ISM VCHID 2. ISM PNet IDs must be unique among other ISM VCHIDs for this System 3. ISM PNet IDs must match a corresponding IQD VCHID or OSD Channel(s) Press Enter
  • 34. © 2016 IBM Corporation34 Define Access List Define Access List Row 1 Of Command ===> ________________________________ Scroll ===> HALF Select one or more partitions for inclusion in the access list. Function ID . . . . : 1017 / CSS ID Partition Name Number Usage Description .... / 0 SAMPLE1 6 OS _ 0 SAMPLE2 8 OS Allows access to this ISM Function (FID) from specific partitions. Press Enter Note. The selected partition (SAMPLE1 in this example) must also be in theAccess List for the corresponding IQD or OSD Channel
  • 35. © 2016 IBM Corporation35 Define HiperSockets (IQD) Channel (to be associated with ISM VCHID) Add Channel Path Specify or revise the following values. Processor ID . . . . : TESTPROC testprocessor Configuration mode . : LPAR Channel Subsystem ID : 0 Channel path ID . . . . 11 + Channel ID 7E0 + Number of CHPIDs . . . . 1 Channel path type . . . IQD + Operation mode . . . . . SHR + Managed . . . . . . . . No (Yes or No) I/O Cluster ________ + Description . . . . . . sample IQD__________________ Specify the following values only if connected to a switch: Dynamic entry switch ID __ + (00 - FF) Entry switch ID . . . . __ + Entry port . . . . . . . __ + Press Enter
  • 36. © 2016 IBM Corporation36 Define IQD Parameters Specify IQD Channel Parameters Specify or revise the values below. Maximum frame size in KB . . . . . . 16 + IQD function . . . . . . . . . . . . 1 1. Basic HiperSockets 2. IEDN Access (IQDX) 3. External Bridge Physical network ID . . . . . . . . PNET1____________ Press Enter
  • 37. © 2016 IBM Corporation37 Define IQD Access List Define Access List Row 1 of Command ===> _________________________________________ Scroll ===> HAL Select one or more partitions for inclusion in the access list. Channel subsystem ID : 0 Channel path ID . . : 11 Channel path type . : IQD Operation mode . . . : DED Number of CHPIDs . . : 1 / CSS ID Partition Name Number Usage Description ... / 0 SAMPLE1 6 OS / 0 SAMPLE2 8 OS Press Enter Enter on the candidate list as well, and you are back on the chpid list. Press F3 twice to go back to the processor list Result: Chpid 11 on PCHID 7E0 is now defined and has partition SAMPLE1 and SAMPLE2 of CSS 0 in its access list. PNETID is PNET1
  • 38. © 2016 IBM Corporation z/OS CommServer Exploitation of Internal Shared Memory (ISM) § ISM enables Shared Memory Communications-Direct Memory Access (SMC-D) § Once the ISM HCD configuration is complete, SMC-D can be enabled in z/OS with a single TCP/IP parameter (GLOBALCONFIG SMCD). § Notes: – ISM FIDs are not defined in the TCP/IP profile. ISM FIDs must be Configured On to z/OS and then the FIDs are dynamically discovered by TCP/IP. – An OS can be enabled for both SMC-R and SMC-D. SMC-D is used when both peers are within the same CPC (and using the ISM VCHID and VLAN). – ISM FIDs (VCHIDs) must be associated with an IP network. The association is accomplished by defining matching PNet IDs (e.g. HS and ISM). Notes: • Your OSA (or IQD channel) must have a PNet ID defined (and must match your ISM FID) • The OSA or IQD INTERFACE statement must have IPSubnet defined – Host virtual memory is managed by each OS (similar to SMC-R, logically shared memory) following existing z System’s PCI I/O translation architecture (i.e. only minor changes required for z/VM guests). There are no required configuration changes. 38
  • 39. © 2016 IBM Corporation Step 4. TCPIP Profile GlobalConfig SMCD 39 § SMCD parameter on GLOBALCONFIG (similar to SMCR) § Single Keyword! SMCD is the only required setting to enable SMC-D § Key difference from SMCR parameter: ISM PFIDs are not defined in TCPIP (ISM FIDs are auto discovered based on matching PNETID associated with the OSD or HiperSockets) >>-GLOBALCONFig--------------------------------------------------------> .--------------------------------------------------------------. V | >-----+--------------------------------------------------------+--+-->< : : | .-NOSMCD---------------------------------------------. | | | | | +-+----------------------------------------------------+-+ | | .-------------------------------------------. | | | | V | | | | '-SMCD---+---------------------------------------+-+-' | | | .-FIXEDMemory--256------. | | | +---+-----------------------+-----------+ | | | '-FIXEDMemory--mem_size-' | | | | .-TCPKEEPmininterval--300------. | | | '---+------------------------------+----' | | '-TCPKEEPmininterval--interval-' |
  • 40. © 2016 IBM Corporation Dynamic Transition from TCP to SMC-D – (HiperSockets IP Network) HS ISM TCP IP Interface Sockets Middleware/Application z/OS System B SMC-D HSISM TCP IP Interface Sockets Middleware/Application z/OS System A SMC-D IP Network (HiperSockets) within System z TCP connection establishment over IP Dynamic (in-line) negotiation for SMC-D is initiated by presence of TCP Options TCP syn flows (with TCP Options CLC indicating SMC-D capability) ISM VCHID (within System z) TCP connection transitions to SMC-D allowing application data to be exchanged using Direct Memory Access (LPAR to LPAR) data exchanged using native PCI operations (PCI STB) data exchanged using native PCI operations (PCI STB) HiperSockets and ISM have the same PNet ID e.g. PNet1 System z13 40
  • 41. © 2016 IBM Corporation41 OSA ISM TCP IP Interface Sockets Middleware/Application z/OS System B SMC-D OSAISM TCP IP Interface Sockets Middleware/Application z/OS System A SMC-D Dynamic Transition from TCP to SMC-D (OSA/LAN IP network) IP Network (Ethernet) TCP connection establishment over IP Dynamic (in-line) negotiation for SMC-R&SMC-D is initiated by presence of TCP Options TCP syn flows (with TCP Options CLC indicating SMC-R+SMC-D capability) System z13 ISM VCHID (within System z) TCP connection transitions to SMC-D allowing application data to be exchanged using Direct Memory Access (LPAR to LPAR) data exchanged using native PCI operations (PCI STB) data exchanged using native PCI operations (PCI STB) OSA and ISM have the same PNet ID e.g. PNet1 41
  • 42. © 2016 IBM Corporation42 OSA ISM TCP IP Interface Sockets Middleware/Application z/OS System B OSAISM TCP IP Sockets Middleware/Application z/OS System A OSA/LAN IP network with SMC-D and SMC-R IP Network (Ethernet) ISM VCHID (within System z) System z13 OSA, ISM and ROCE have the same PNet ID e.g. PNET1 42 SMC-DSMC-D ROCE OSAROCE TCP IP Sockets Middleware/Application z/OS System C RDMA network ROCE System z13 / zEC12 / zBC12 SMC-R SMC-R Note.This figure is another view ofchart12.
  • 43. © 2016 IBM Corporation Multiple IP Subnets are not Supported by SMC (SMC-R or SMC-D)! IBM Confidential IP Subnet ‘A’ z/OS A (LP 1) z/OS B (LP 2) System z 13 ISM Network PNet X OSAOSA QDIOQDIO PR/SM PNet X ISM ISM ISM ISM IP Interface A.1 IP Interface B.1 IP Subnet ‘B’ IP Router VCHID X PNet X PNet X Each host uses a different IP subnet Each host uses a different IP subnet Multiple IP subnets and IPSec are both not supported by SMC 43 Peers must have direct connectivity over the same IP subnet to exploit SMC-R or SMC-D
  • 44. © 2016 IBM Corporation ISM VLAN Overview 44
  • 45. © 2016 IBM Corporation ISM VCHID = Internal (ISM) Network (based on PNet ID) . . . LP 1 LP 3LP 2 LP 5LP 4 LP N PR/SM LP 6 ISM Network PNet A (ISM VCHID A) A AAA A AA ISM ISM ISM ISM ISM ISM ISM CPC 45
  • 46. © 2016 IBM Corporation Subdividing ISM VCHIDs with VLANs (Isolating Workloads) . . . LP 1 LP 3LP 2 LP 5LP 4 LP N PR/SM LP 6 ISM Network PNet A (VCHID A) A.1 A.2A.1A.1 A.1 A.2 A.1 A.2 ISM ISM ISM ISM ISM ISM ISM CPC VLAN 1 VLAN 2 In z/OS ISM VLAN definitions are inherited from the associated IP interface 46
  • 47. © 2016 IBM Corporation Isolating workloads with multiple VCHIDs and VLANs . . . LP 1 LP 3LP 2 LP 5LP 4 LP N PR/SM LP 6 ISM Network PNet A (VCHID A) ISM Network PNet B (VCHID B) B.1 A.2A.1B.1 A.1 B.7A.1 A.2 ISM ISM ISM ISM ISM ISM ISM1 ISM2 CPC VLAN 1 VLAN 2 VLAN 7VLAN 1 B.7 A.2 This OS has access to 2 unique ISM networks (VCHIDs); requires 2 unique ISM FIDs This OS (LP2 & LP5) have access to 2 VLANs on the same ISM network; requires a single ISM FID 47
  • 48. © 2016 IBM Corporation Topic 5. Verification of ISM Usage 48
  • 49. © 2016 IBM Corporation D PCIE (PFIDs that are in use) D PCIE IQP022I 12.14.22 DISPLAY PCIE 691 PCIE 0010 ACTIVE PFID DEVICE TYPE NAME STATUS ASID JOBNAME PCHID VFN 00000005 10GbE RoCE Express ALLC 0038 VTAMCS 0100 0005 00000001 10GbE RoCE Express ALLC 0038 VTAMCS 0184 0001 00000500 ISM ALLC 0038 VTAMCS 07E0 0001 00000501 ISM ALLC 0038 VTAMCS 07E0 0002 00000502 ISM CNFG 07E0 0003 00000503 ISM CNFG 07E0 0004 00000504 ISM CNFG 07E0 0005 00000600 ISM ALLC 0038 VTAMCS 07E1 0001 00000601 ISM ALLC 0038 VTAMCS 07E1 0002 00000602 ISM CNFG 07E1 0003 00000603 ISM CNFG 07E1 0004 00000604 ISM CNFG 07E1 0005 Display PCIE shows the ISM PFIDs that are now allocated to VTAM (ALLC): Note. If you display a specific FID additional detail is provided including the configured PNET ID value.
  • 50. © 2016 IBM Corporation Displaying the Configured PNet IDs for Channel Devices 50 OSD CHPID: d m=chp(16) IEE174I 11.20.44 DISPLAY M 612 CHPID 16: TYPE=11, DESC=OSA DIRECT EXPRESS, ONLINE DEVICE STATUS FOR CHANNEL PATH 16 0 1 2 3 4 5 6 7 8 9 A B C D E F 0096 + + + + + + + + + + + + . . . + SWITCH DEVICE NUMBER = NONE PHYSICAL CHANNEL ID = 01C0 PNETID 1 = P1 ************************ SYMBOL EXPLANATIONS ************************ + ONLINE @ PATH NOT VALIDATED - OFFLINE . DOES NOT EXIST * PHYSICALLY ONLINE $ PATH NOT OPERATIONAL IQD CHPID: d m=chp(21) IEE174I 11.21.19 DISPLAY M 615 CHPID 21: TYPE=24, DESC=INTERNAL QUEUED DIRECT COMM, ONLINE DEVICE STATUS FOR CHANNEL PATH 21 0 1 2 3 4 5 6 7 8 9 A B C D E F 0FD1 + + + + + + + + + + + + + + + + SWITCH DEVICE NUMBER = NONE ATTRIBUTES = MFS(24KB) PNETID = P2 ************************ SYMBOL EXPLANATIONS ************************ + ONLINE @ PATH NOT VALIDATED - OFFLINE . DOES NOT EXIST * PHYSICALLY ONLINE $ PATH NOT OPERATIONAL
  • 51. © 2016 IBM Corporation Displaying the Configured PNet IDs for PCI Devices 51 RoCE PFID: d pcie,pfid=5 IQP024I 11.22.20 DISPLAY PCIE 618 PCIE 0010 ACTIVE PFID DEVICE TYPE NAME STATUS ASID JOBNAME CHID VFN 00000005 10GbE RoCE Express CNFG 0100 0005 CLIENT ASIDS: NONE PNetID 1: P1 PNetID 2: P1 ISM PFID: d pcie,pfid=500 IQP024I 11.22.30 DISPLAY PCIE 621 PCIE 0010 ACTIVE PFID DEVICE TYPE NAME STATUS ASID JOBNAME CHID VFN 00000500 ISM CNFG 07E0 0001 CLIENT ASIDS: NONE PNetID 1: P1
  • 52. © 2016 IBM Corporation Netstat DEvlinks/-d for a SMCD-enabled IQD interface D TCPIP,TCPIP2,NETSTAT,DEVLINKS,INTFNAME=IQD1 EZD0101I NETSTAT CS V2R3 TCPIP2 694 INTFNAME: IQD1 INTFTYPE: IPAQIDIO INTFSTATUS: READY TRLE: IUTIQ421 DATAPATH: FD12 DATAPATHSTATUS: READY CHPID: 21 PNETID: P2 SMCD: YES IPBROADCASTCAPABILITY: NO ARPOFFLOAD: YES ARPOFFLOADINFO: YES CFGMTU: NONE ACTMTU: 16384 IPADDR: 10.15.2.21/24 VLANID: 200 READSTORAGE: GLOBAL (3008K) SECCLASS: 255 MONSYSPLEX: NO IQDMULTIWRITE: DISABLED MULTICAST SPECIFIC: MULTICAST CAPABILITY: YES GROUP REFCNT SRCFLTMD ----- ------ -------- 224.0.0.1 0000000001 EXCLUDE SRCADDR: NONE INTERFACE STATISTICS: BYTESIN = 0 INBOUND PACKETS = 0 INBOUND PACKETS IN ERROR = 0 INBOUND PACKETS DISCARDED = 0 INBOUND PACKETS WITH NO PROTOCOL = 0 BYTESOUT = 0 OUTBOUND PACKETS = 0 OUTBOUND PACKETS IN ERROR = 0 OUTBOUND PACKETS DISCARDED = 0 ASSOCIATED ISM INTERFACE: EZAISM01 1 OF 1 RECORDS DISPLAYED END OF THE REPORT Shows the PNETID and the associated ISM interface:
  • 53. © 2016 IBM Corporation Netstat DEvlinks/-d for a SMCD-enabled OSD interface D TCPIP,TCPIP2,NETSTAT,DEVLINKS,INTFNAME=OSD1 EZD0101I NETSTAT CS V2R3 TCPIP2 700 INTFNAME: OSD1 INTFTYPE: IPAQENET INTFSTATUS: READY PORTNAME: HYDRA960 DATAPATH: 0962 DATAPATHSTATUS: READY CHPIDTYPE: OSD SMCR: YES PNETID: P1 SMCD: YES SPEED: 0000001000 IPBROADCASTCAPABILITY: NO VMACADDR: 0200014860B0 VMACORIGIN: OSA VMACROUTER: ALL ARPOFFLOAD: YES ARPOFFLOADINFO: YES CFGMTU: NONE ACTMTU: 8992 IPADDR: 10.15.1.21/24 VLANID: 100 VLANPRIORITY: DISABLED . . . ASSOCIATED RNIC INTERFACE: EZARIUT10001 ASSOCIATED ISM INTERFACE: EZAISM02 IPV4 LAN GROUP SUMMARY LANGROUP: 00002 NAME STATUS ARPOWNER VIPAOWNER ---- ------ -------- --------- OSD1 ACTIVE OSD1 YES 1 OF 1 RECORDS DISPLAYED END OF THE REPORT Shows the PNETID and the associated RNIC and ISM interfaces:
  • 54. © 2016 IBM Corporation Netstat Devlinks all PNetIDs (new) Netstat DEvlinks/-d PNETID * shows a summary of all the active interfaces that have a PNetID configured organized by PNetID value: D TCPIP,TCPIP2,NETSTAT,DEVLINKS,PNETID=* EZD0101I NETSTAT CS V2R3 TCPIP2 881 PNETID: P2 INTFNAME: IQDIOINTF6 INTFTYPE: IPAQIDIO6 INTFNAME: IQDIOLNK0A0F0217 INTFTYPE: IPAQIDIO INTFNAME: EZAISM01 INTFTYPE: ISM ASSOCIATED: YES PNETID: P1 INTFNAME: V6OSD1 INTFTYPE: IPAQENET6 INTFNAME: OSD1 INTFTYPE: IPAQENET INTFNAME: EZAISM02 INTFTYPE: ISM ASSOCIATED: YES INTFNAME: EZARIUT10003 INTFTYPE: RNIC ASSOCIATED: YES 7 OF 7 RECORDS DISPLAYED END OF THE REPORT
  • 55. © 2016 IBM Corporation Netstat Devlinks specific Pnet ID (new) Netstat DEvlinks/-d PNETID <pnetid> shows details of the all active interfaces that have a PNetID configured for a specific PNetID value: D TCPIP,TCPIP2,NETSTAT,DEVLINKS,PNETID=P2 EZD0101I NETSTAT CS V2R3 TCPIP2 887 INTFNAME: IQDIOINTF6 INTFTYPE: IPAQIDIO6 TRLE: IUTIQDIO CHPID: 21 VCHID: 07E3 DATAPATH: FD12 VLANID: NONE SMCD: YES INTFNAME: IQDIOLNK0A0F0217 INTFTYPE: IPAQIDIO TRLE: IUTIQDIO CHPID: 21 VCHID: 07E3 DATAPATH: FD12 VLANID: NONE SMCD: YES INTFNAME: EZAISM01 INTFTYPE: ISM ASSOCIATED: YES TRLE: IUT00605 PFID: 0605 VCHID: 07E1 GIDADDR: 09008586C9172964 3 OF 3 RECORDS DISPLAYED END OF THE REPORT
  • 56. © 2016 IBM Corporation Netstat ALL/-A for a connection using SMCD D TCPIP,TCPIP2,NETSTAT,ALL,IPPORT=10.15.2.31+21 EZD0101I NETSTAT CS V2R3 TCPIP2 791 CLIENT NAME: OSASUP13 CLIENT ID: 00000032 LOCAL SOCKET: 10.15.2.21..1024 FOREIGN SOCKET: 10.15.2.31..21 BYTESIN: 00000000000000000174 BYTESOUT: 00000000000000000029 SEGMENTSIN: 00000000000000000007 SEGMENTSOUT: 00000000000000000007 STARTDATE: 08/19/2015 STARTTIME: 16:16:38 LAST TOUCHED: 16:16:38 STATE: ESTABLSH . . . RECEIVEBUFFERSIZE: 0000245760 SENDBUFFERSIZE: 0000184320 RECEIVEDATAQUEUED: 0000000000 SENDDATAQUEUED: 0000000000 SENDSTALLED: NO SMC INFORMATION: SMCDSTATUS: ACTIVE LOCALSMCDLINKID:4B020000 REMOTESMCDLINKID: 4B030000 LOCALSMCRCVBUF: 64K REMOTESMCRCVBUF: 64K ANCILLARY INPUT QUEUE: N/A APPLICATION DATA: EZAFTP0C C OSASUP1 C D Shows the SMCD status and a SMCD reason code if SMCD could not be used
  • 57. © 2016 IBM Corporation Netstat DEvlinks/-d SMC D TCPIP,TCPIP2,NETSTAT,DEVLINKS,SMC EZD0101I NETSTAT CS V2R3 TCPIP2 833 INTFNAME: EZAISM01 INTFTYPE: ISM INTFSTATUS: READY PFID: 0600 TRLE: IUT00600 PFIDSTATUS: READY PNETID: P2 GIDADDR: 02008581C9172964 INTERFACE STATISTICS: BYTESIN = 6567 INBOUND OPERATIONS = 17 BYTESOUT = 41 OUTBOUND OPERATIONS = 4 SMC LINKS = 1 TCP CONNECTIONS = 1 INTF RECEIVE BUFFER INUSE = 64K SMCD LINK INFORMATION: LOCALSMCDLINKID: 4B020000 REMOTESMCDLINKID: 4B030000 VLANID: 200 LOCALGID: 02008581C9172964 REMOTEGID: 01008582C9172964 SMCDLINKBYTESIN: 6567 SMCDLINKINOPERATIONS: 17 SMCDLINKBYTESOUT: 41 SMCDLINKOUTOPERATIONS: 4 TCP CONNECTIONS: 1 LINK RECEIVE BUFFER INUSE: 64K INTFNAME: EZAISM02 INTFTYPE: ISM INTFSTATUS: READY . . . 3 OF 3 RECORDS DISPLAYED END OF THE REPORT Shows all ISM and RNIC interfaces and associated SMC link information
  • 58. © 2016 IBM Corporation Summary: Verification of SMC-D § Requires (at least) two z/OS instances (LPARs or z/VM guests) executing on the same z13 CPC (GA2 or z13s) § Both z/OS instances must: – be defined to use the same ISM VCHID – have their ISM FIDs Configured On to each z/OS (LPAR) – have direct access to the same IP network (IP subnet) via OSA or HiperSockets (i.e. hosts can communicate directly over the same IP subnet without traversing an IP Router). – define an IP interface with the same VLAN ID (if VLANs are used) § Enable both ISM and SMC-D (see backup for Netstat examples) – Verify both ISM and SMC-D are enabled – start your test application (TCP sockets) workloads – Verify TCP connections dynamically exploit SMC-D § Optional: Measure / compare your performance: – Working with your performance analyst consider comparing your TCP/IP (OSA or HS) performance benchmarks with SMC-D (ISM) benchmarks for the sample workloads you are most interested in evaluating58
  • 59. © 2016 IBM Corporation Topic 6. SMC Applicability Tool (SMC-AT) 59
  • 60. © 2016 IBM Corporation Evaluating SMC Applicability and Benefits As customers express interest in SMC-R and RoCE Express one of the initial questions asked is: § “What benefit will SMC-R provide in my environment?” – Some users are well aware of significant traffic patterns that can benefit from SMC-R – But others are unsure of how much of their TCP traffic (in their environment) is: • z/OS to z/OS and • how much of that traffic is well suited to SMC-R § This same set of customer questions will also apply to SMC-D § RYO evaluation processes can be a time consuming activity that requires significant expertise. 60
  • 61. © 2016 IBM Corporation SMC Applicability Tool Introduction A new tool called SMC Applicability Tool (SMCAT) has been created that will help customers determine the value of SMC-R and SMC-D in their environment with minimal effort and minimal impact • SMCAT is integrated within the TCP/IP stack: Gathers new statistics that are used to project SMC-R and SMC-D applicability and benefits for the current system – Minimal system overhead, no changes in TCP/IP network flows – Produces reports on potential benefits of enabling SMC-R / SMC-D – Does not require RoCE or ISM hardware or the SMC-R/D function. No IP configuration changes are required (measures your existing TCP/IP traffic). • Available via the service stream on existing z/OS releases: – z/OS V1R13 - APAR PI48309 PTF UI31050 – z/OS V2R1, V2R2 - APAR PI48155, PTFs UI31054 (2.1) and UI31055 (2.2) • For additional SMC-AT information refer to: http://www.ibm.com/software/network/commserver/SMCR 61
  • 62. © 2016 IBM Corporation SMC References § SMC One Stop Shopping Web Page (Includes latest links to ALL other SMC References): http://www.ibm.com/software/network/commserver/SMCR
  • 63. © 2016 IBM Corporation
  • 64. © 2016 IBM Corporation Backup Feedback, comments and questions are welcome. Backup Topics (additional details): 1. HCD Change Processor 2. Service Element Screenshot Examples 3. Sample TRLE (display) Information 64
  • 65. © 2016 IBM Corporation Backup Topic 1.1 Configuring ISM in HCD § HCD prereqs: – HCD APAR / PTF (OA46010) – Before you can define FID Type ISM you must first update your processor definition (see example in next charts) § Notes: 1. The maximum value that can be configured for a PCI FID (any FID type) is x0FFF 2. The maximum number of VFs (FIDs) that can be configured for the same ISM PCHID = 255. 65
  • 66. © 2016 IBM Corporation Change Processor (HCD Processor List) 66 HCD option 1.3. C (Change) then press Enter
  • 67. © 2016 IBM Corporation Change Processor Definition 67 Press enter
  • 68. © 2016 IBM Corporation Change Processor Definition 68 Select the new support level (slash) then Enter)
  • 69. © 2016 IBM Corporation Backup Topic 2. Service Element (SE) Screenshot Examples 69 Note: This is not the same configuration as in the previous HCD example
  • 70. © 2016 IBM Corporation Channel View 70 • VCHID range 07C0 -07FF is shared with HiperSockets VCHIDs • Up to 255 FIDs per VCHID • FIDs are unique per System VCHID FIDs Channel Type
  • 71. © 2016 IBM Corporation Channel Details 71 Network ID per VCHID, associates an ISM VCHID with an HiperSockets VCHID (or OSA CHID)
  • 72. © 2016 IBM Corporation FID View 72
  • 73. © 2015 IBM Corporation73 Display TRL with CONTROL=ISM will show all ISM TRLEs D NET,TRL,CONTROL=ISM IST097I DISPLAY ACCEPTED IST350I DISPLAY TYPE = TRL 725 IST924I ------------------------------------------------------------- IST1954I TRL MAJOR NODE = ISTTRL IST1314I TRLE = IUT00501 STATUS = ACTIV CONTROL = ISM IST1314I TRLE = IUT00500 STATUS = ACTIV CONTROL = ISM IST1314I TRLE = IUT00601 STATUS = ACTIV CONTROL = ISM IST1314I TRLE = IUT00600 STATUS = ACTIV CONTROL = ISM IST1454I 4 TRLE(S) DISPLAYED IST924I ------------------------------------------------------------- IST1954I TRL MAJOR NODE = HUBTRLES IST1454I 0 TRLE(S) DISPLAYED IST924I ------------------------------------------------------------- IST1954I TRL MAJOR NODE = VTMTRLES IST172I NO TRLES EXIST IST1454I 0 TRLE(S) DISPLAYED IST924I ------------------------------------------------------------- IST1954I TRL MAJOR NODE = LOCTRLES IST1454I 0 TRLE(S) DISPLAYED IST924I ------------------------------------------------------------- IST1954I TRL MAJOR NODE = NETMTRLS IST1454I 0 TRLE(S) DISPLAYED IST314I END
  • 74. © 2015 IBM Corporation74 Display TRL for an ISM TRLE D NET,TRL,TRLE=IUT00600 IST097I DISPLAY ACCEPTED IST075I NAME = IUT00600, TYPE = TRLE 729 IST1954I TRL MAJOR NODE = ISTTRL IST486I STATUS= ACTIV, DESIRED STATE= ACTIV IST087I TYPE = *NA* , CONTROL = ISM , HPDT = *NA* IST2418I SMCD PFID = 0600 VCHID = 07E1 PNETID = P2 IST2417I VFN = 0001 IST924I -------------------------------------------------- ----------- IST1717I ULPID = TCPIP2 ULP INTERFACE = EZAISM01 IST1724I I/O TRACE = OFF TRACE LENGTH = *NA* IST314I END Shows the detailed TRLE information
  • 75. © 2016 IBM Corporation End of Material 75