31
TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP://WWW.e-VSE.COM Copyright (C) 2006 - CSI International

TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Embed Size (px)

Citation preview

Page 1: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

TCP/IP for VSEThe Last Word in Performance

Presented by John Rankin

CSI International

Phone: (800) 795-4914

Web: HTTP://WWW.e-VSE.COM

Copyright (C) 2006 - CSI International

Page 2: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Agenda

General Discussion– Performance Tuning– Data Flow

Performance– Network– Stack– Applications

Page 3: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Performance Tuning Steps

Isolate your performance problem– Collect Symptoms– Collect Data

Create performance theory – Matching symptoms to the theory

Adjust performance controls– Testing the theory– re-adjusting as necessary

Page 4: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

TCP/IP Collection Facilities

SET DIAGNOSE=PERFORM– Performance of specific connections

QUERY STATS– Overall System Statistics

QUERY IPSTATS– Cumulative statistics by IP address

SET RECORD=FULL QUERY FRAGMENT

Page 5: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Life of a Datagram

To understand performance, you must understand how data flows through the network and subsequently through TCP/IP– An application such as FTP– The TCP/IP engine– A TCP/IP link driver– The network– And back again

Page 6: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Performance is Flow of Data

Performance is divided into three areas:– Network Data Flow

• Ethernet, token-ring, etc.

– Stack Data Flow• TCP, UDP, IP, etc.

– Application Data Flow• FTP, Telnet, LPR, etc.

Page 7: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Network Data Flow

Network Connections– Type of Connection– Type of Conduit

Flow of the actual information– Large to smaller pipe considerations– Fragmentation

Page 8: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Control Unit Considerations

Integrated adapters– General performance– Sharing Token-ring with SNA

The CLAW interface– Cisco Router with CIP card– Channel attached RS/6000

The Open Systems Adapter

Page 9: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

The LAN Station Controller

Devices– IBM 3172/OSA– OEM such as Netshuttle for VSE 10mbs– IBM 2216 100mbs

Throughput– Theory– Control

Multiple control units

Page 10: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

OSA Express/2 Adapter

Specialized Interfacing Full IP packet transfers Performance

– Maximizes Packet Transmissions– Reduces fragmentation– Improves operation overlapping

Page 11: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Hyper Sockets

Hybrid operating interface Low Level Hardware interface Performance

– Extremely Fast and high volume– Maximize transmission size– 64k IP datagrams.– Maximum TCP transmission size

Page 12: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Retransmission

What is happening in TCP/IP to cause this to happen– The theory– The practice

Performance– How can it be measured– How can it be effected

Page 13: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Global Verses Route Statements

Retransmission effected for entire environment

Specific Parameteres– Available on specific routes– Definable by class of net or subnet

Page 14: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Retransmission Parameters

MAXSEGMENT=576 - 65535 CRETRAN=10 - 1000 DRETRAN= 10 - 5000 FIXRETRAN= YES | NO MINRET=10 - 1000 MAXRET=10 - 5000 RETRY=5 - 1000 RPAUSE=10 - 5000 WINDOW=1500 - 65535 PULSE= 0 - 9999999

Page 15: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Ethernet

Datagram size 1500 Considerations

– Data collision problems– Types of physical wiring– Size of local network

Page 16: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Token-Ring

Datagram size 2000-8000 Considerations

– Multiple Ring Considerations– Different ring segment flow restrictions– Size of local network– Data collision problems

Page 17: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Direct connection of Router

CISCO or RS/6000– Although the MTU size is large the overall

destination may require a smaller MTU size

CTCA for VSE or VM– Tremendous control can be managed over the

MTU size in the specific direction of flow

Page 18: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Hyper Sockets

64K mtu size Pass the maximum data across to Linux Properly identify the final destination

– Multiple Link definitions depending

Page 19: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Fragmentation

IP Datagrams can be larger the can fit across a connection– Fragmentation creates

• Overhead at outbound time

• Overhead at inbound time

– Can be eliminated if attention is paid• MTU size in relation to the direction of flow

• Always pass a larger MTU size to a smaller one

Page 20: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Stack Data Flow

Data Units– The breaking of data into transmission units– The grouping of these units into transmission

chunks

Flow Control– How is the flow managed– How is the flow impeded– How is the flow maximized

Page 21: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Transmission

MTU (Maximum transmission unit)– What does it mean– How does it effect the network

TCP segments– What is a segment size– How does it effect the network

Page 22: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

TCP Windows

Theory– Exactly what is a window– How does it control data transfers

Performance– SET WINDOW– SET WINDOW_DEPTH– SET WINDOW_RESTART– SET CLOSE_WINDOW

Page 23: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Silly Window Syndrome

General TCP/IP buffered implementation– Fixed buffer is the size of WINDOW– Window decreases as data is read from the

buffer– Once a close window has occurred.

Performance– SET ADDITIONAL_WINDOW

Page 24: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

Application Flow

Far more tradition in tuning Network data arriving and departing

– Controlled by size and number of buffers

Directly effected by performance of I/O devices

Page 25: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

FTP Performance of Files

Sequential disk– Variable– Fixed

VSAM– ESDS– KSDS

Power Custom Built

Page 26: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

FTP Performance Considerations

CPU utilization– Objective– Controls

Using set maximum_buffers– Theory– Practice– Control over CPU

Page 27: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

FTP Performance Controls

List of things to check when CPU is high– TCP/IP partition utilization– Network utilization– Hesitate=

Running more then one TCP/IP partition

Page 28: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

FTPBATCH for Multi-processors

Allows greater used of multiple processors– Concurrent I/O activity– Concurrent Buffer creation and processing

SET BUFFSIZE nnn SET BUFFMAX nnn

Page 29: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

TN3270 Performance Considerations Telnet buffers

– Pooled telnet daemon– Non-pooled telnet daemon

CPU utilization– Telnet daemon flow– Effect of larger number of daemons

CAF performance enhancements– VTAM elimination– CPU reduction

Page 30: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

TN3270 Performance Controls

Number of defined daemons Sequence ordering

– Unordered definitions– Specific definitions– Forced connections

The use of FULL_SCAN Control with POOL=YES and POOL=NO

Page 31: TCP/IP for VSE The Last Word in Performance Presented by John Rankin CSI International Phone: (800) 795-4914 Web: HTTP:// Copyright (C) 2006

API Considerations

Language– Assembler– C using the BSD interface– PL/1 and Cobol

Protocol– UDP– TCP

Buffering