View previous topic :: View next topic
|
Author |
Message |
alan_blore
New User
Joined: 01 Aug 2007 Posts: 50 Location: Hosur
|
|
|
|
Hi,
We are currently SFTP'ing big files (of 500MB size) to external server.
The transfer speed is at 80kb/sec. I understand the speed is two way and is dependent on receiver too, which the network team confirmed that it is fine on receiver end.
Can the JCL help in increasing FTP speed? If so, any thoughts on improving this code to increase it.
Code: |
//FTPABCDE JOB ('****************',1234,123,
// 0123,DEV,000,US),'PERF TESTING',
// CLASS=D,MSGCLASS=Q
/*JOBPARM PROCLIB=PROCD0
//**********************************************************************
//*SFTP001: SENDS THE ENCRYPTED FILE *
//**********************************************************************
//SFTP001 EXEC PGM=FTP,
// PARM='(EXIT'
//*
//SYSFTPD DD *
FTPKEEPALIVE 1500 ;KEEP CONNECTION ALIVE FOR 1500 MINS
FWFRIENDLY TRUE ;PART 1/2 FOR FTP TO SFTP CONVERSION
SOCKSCONFIGFILE /ETC/SOCKS.CONF ;PART 2/2 FOR FTP TO SFTP CONVERSION
//*
//INPUT DD *
FTPSERVER01.SERVER.COM
USERNAME
XXXXXXXXXXX < PASSWORD-MASKED>
BINARY
CD /INBOX
DIR
PUT 'TEST.A.FILENAM.AB.CDE.FGH.IJ.LMNO.PGP' TESTFILE.DAT
DIR
QUIT
//*
//OUTPUT DD SYSOUT=*
//*
//SYSLOG DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSABOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
|
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
1. There is little, if anything, that can be done in JCL that will affect the speed of the FTP connection.
2. There is little that can be done ON THE MAINFRAME that will affect the speed of the FTP connection.
3. The key factors are the links and route(s) used -- routers, switches, and lines. None of these are under mainframe control.
4. Sometimes, changing some of the TCP/IP parameters can impact FTP transmission speeds -- but the details would depend upon the specifics of the site, and it is not always possible for TCP/IP parameter changes to affect the FTP speed. |
|
Back to top |
|
|
alan_blore
New User
Joined: 01 Aug 2007 Posts: 50 Location: Hosur
|
|
|
|
Thanks! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
80 KB / second is pitifully slow -- your network group (not the mainframe group, not the server group -- the network group) should be looking at everything to see where the issue is. I'm used to seeing 1 MB / second transfer rates on our internal network, and 10 MB / second are not impossible on the network. Of course, your results will depend upon your site configuration, but it does seem like there is a lot of room for improvement there. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
If I'm reading that correctly, you've got a separate server doing your sFTP conversion and encryption.
Where does that sit? As in, are you sending it an EBCDIC file, it's converting to ASCII, then encrypting and checksumming it, then sending it back to mainframe?
I've never worked with sFTP on the mainframe. |
|
Back to top |
|
|
|