View Single Post
reachme reachme is offline
Registered
 
Join Date: Oct 2012
Location: MA
Posts: 672
Garage
Quote:
it's six of one and half a dozen of another.
FTP works with 2 separate tcp streams. One is a control channel to setup the transfer, halt etc. and the second is a data channel to transfer. that second channel does not care get or put.

But the data transfer channel can be optimized if you want to geek out. For a large file transfer you can check you max MTU on your receiving side-that is the largest data allowed in each tcp packet. Even one byte can make a difference if your settings are conservative as in a desktop system. set as large as you can and your TCP/IP stack will throttle down as it needs to (iSeries settings will likely not be the throttle). If your link is slow or noisy it will make no improvement.
Second setting to change is TCP Window size. THis is maximum outstanding TCP messages before your system sends an acknowledgement. You dont want iSeries sending 5 ships toward your port and then stop waiting for you to respond "received" before sending more. This setting controls how much data can be sent by sender before an ack is received.This makes most difference over a connection with a lot of latency like satellite.


I think thats about as optimal as you can get without compressing the data to be transferred
Old 06-22-2019, 04:55 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #17 (permalink)