IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Increase Speed in SFTP


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
alan_blore

New User


Joined: 01 Aug 2007
Posts: 50
Location: Hosur

PostPosted: Sat Jul 12, 2014 1:48 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jul 12, 2014 3:03 am
Reply with quote

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
View user's profile Send private message
alan_blore

New User


Joined: 01 Aug 2007
Posts: 50
Location: Hosur

PostPosted: Mon Jul 14, 2014 3:53 am
Reply with quote

Thanks!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jul 14, 2014 5:50 am
Reply with quote

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
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Jul 14, 2014 6:05 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
No new posts How do I SFTP a ADRDSSU file from mai... IBM Tools 4
No new posts SFTP replacement for LOCSITE ASA in FTP All Other Mainframe Topics 7
Search our Forums:

Back to Top