Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Increase Speed in SFTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Increase Speed in SFTP
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: 7913
Location: Bellevue, IA

PostPosted: Sat Jul 12, 2014 3:03 am    Post subject:
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    Post subject: Reply to: Increase Speed in SFTP
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Mon Jul 14, 2014 5:50 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts SFTP to primary and secondary servers mallik4u JCL & VSAM 4 Tue Jun 07, 2016 12:52 pm
No new posts Replacement FTP to SFTP Vasili Koipish All Other Mainframe Topics 1 Wed May 11, 2016 3:10 pm
No new posts Increase the width of the column grea... sakrat All Other Mainframe Topics 10 Tue May 12, 2015 6:20 pm
No new posts FTP to SFTP passion_sujesh All Other Mainframe Topics 1 Tue Feb 24, 2015 8:59 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us