Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
FTP, faster to PUT or GET files?

Any other nerds working on a Friday night?

I have a 15G file I need to transfer from system A to B. OS and patch levels are the same on both sides.

Is there any advantage to doing a GET over a PUT or are the transfer speeds the same?

What say you?

__________________
I wish I still had 9111113443...
Old 06-21-2019, 03:25 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Get off my lawn!
 
GH85Carrera's Avatar
 
Join Date: Nov 2007
Location: Oklahoma
Posts: 84,810
Garage
If you are meaning the putting or uploading vs downloading or getting, getting is almost always faster. Unless the FTP server is slow, downloading is faster.
__________________
Glen
49 Year member of the Porsche Club of America
1985 911 Carrera; 2017 Macan
1986 El Camino with Fuel Injected 350 Crate Engine
My Motto: I will never be too old to have a happy childhood!
Old 06-21-2019, 06:29 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
In my case, it's a peer to peer connection, so not really an upload vs download. My options are a GET from system B or a PUT from system A.

'Getting is almost always faster' because most internet service providers limit upload bandwidth.

I've started the transfer and it looks like @4 hours for the 15G. I can live with that...
__________________
I wish I still had 9111113443...
Old 06-21-2019, 06:36 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Cars & Coffee Killer
 
legion's Avatar
 
Join Date: Sep 2004
Location: State of Failure
Posts: 32,246
I think given what you've posted, it's six of one and half a dozen of another.

Is it easier to control from one computer versus the other?
__________________
Some Porsches long ago...then a wankle...
5 liters of VVT fury now
-Chris

"There is freedom in risk, just as there is oppression in security."
Old 06-21-2019, 06:48 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
That was my thought too.

I have command line on each, so no real difference that way. (IBM i5 aka iSeries aka AS/400)
__________________
I wish I still had 9111113443...
Old 06-21-2019, 07:14 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Slackerous Maximus
 
HardDrive's Avatar
 
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,162
The HTTP verb you use does not matter from a speed perspective. The network connections throughput will determine the speed, not the protocol.

TCP/IP Ninja has spoken!
__________________
2022 Royal Enfield Interceptor.
2012 Harley Davidson Road King
2014 Triumph Bonneville T100.
2014 Cayman S, PDK.
Mercedes E350 family truckster.
Old 06-21-2019, 07:17 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
Thanks for that.

As far as I'm concerned I issue a command, some magic happens, and the file ends up on the other side.
How the magic works, I do not know.
__________________
I wish I still had 9111113443...
Old 06-21-2019, 07:30 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
VincentVega's Avatar
 
Join Date: Aug 2002
Location: MD
Posts: 5,733
Ftp? Then I saw as/400. As/400?

Old 06-21-2019, 08:17 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
You know the 400 Vincent? I've been on the platform since '88.
__________________
I wish I still had 9111113443...
Old 06-21-2019, 08:23 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Registered
 
VincentVega's Avatar
 
Join Date: Aug 2002
Location: MD
Posts: 5,733
Haven't seen it since ~98. I was a rookie then, only remember bits and pieces. Everything for me is Ubuntu now.
Old 06-21-2019, 08:27 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
We're dinosaurs now. (The 400 and me... )
__________________
I wish I still had 9111113443...
Old 06-21-2019, 08:33 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,320
symmetrical connection (ie, not on a DSL line) then either or.

One large file will transfer quicker than many smaller files

You could also use scp and on-the-fly compression, depending on content, etc.

And don't forget the famous quote - "never underestimate the bandwidth of a black Audi wagon full of back up tapes" - and yes, depending on what you have to work with sneakernet could indeed be faster.
Old 06-21-2019, 08:46 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
New kid in town
 
71T Targa's Avatar
 
Join Date: Nov 2001
Posts: 2,288
Today's task was to bring a new customer up in our private cloud. We did a tape transfer of the bulk of it, and I was just refreshing the last weeks transactions to do the final cut over.

Very, very exciting stuff.
__________________
I wish I still had 9111113443...
Old 06-21-2019, 08:54 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
?
 
Join Date: Apr 2002
Posts: 30,435
LOL....I saw an AS400 once....damn toys....I heard someone even call them mainframes once....a LONG time ago. I became humongous grazing upon this stuff too (systems/networking/protocols/tuning), when I roamed. Burp...enough to last a lifetime...burp!

T-Rex

It don't matter and the Ninja's got this
Old 06-22-2019, 02:07 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
?
 
Join Date: Apr 2002
Posts: 30,435
Quote:
Originally Posted by GH85Carrera View Post
If you are meaning the putting or uploading vs downloading or getting, getting is almost always faster. Unless the FTP server is slow, downloading is faster.
I was speaking from a purely technical perspective...no difference. But it's never that way....it just depends . I could and would "fix" that...or it might be by design.

If that's actually an "issue" for most...it's not.

Now leave me alone....cause I quit
Old 06-22-2019, 02:21 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
?
 
Join Date: Apr 2002
Posts: 30,435
FTP, TCP/IP, etc. are extremely inefficient .

But cheap is good too....

i hate y'all....brain is workin' on a Sat once again...make it stop !
Old 06-22-2019, 03:13 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #16 (permalink)
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, 03:55 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #17 (permalink)
?
 
Join Date: Apr 2002
Posts: 30,435
^^^ LOL. Buncha techno-babble...some of it might be true....lots of nonsense too. I could chat fer hours

BTDT at a technical level that most (even the geeks here) can't even begin to relate too...three decades of leading/bleeding edge systems & communications....
LOVED it....back then .
Old 06-22-2019, 04:06 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #18 (permalink)
Get off my lawn!
 
GH85Carrera's Avatar
 
Join Date: Nov 2007
Location: Oklahoma
Posts: 84,810
Garage
As others have said peer to peer is different than internet based FTP.

We have several PC all running Windows 10 Pro on a all peer to peer system. We also have two network based RAIDs for archiving projects.

For most data moving we use the computer that has the data to send the data to where we want it.

One reason is Windows is just sure all users are idiots, and need to be protected. It will hide some files from another computer looking at a folder of files, that are there.

We transfer a lot of files, mostly a folder at a time. Some are zillions of little 1&2 K text files, to 25 GB tif files.
__________________
Glen
49 Year member of the Porsche Club of America
1985 911 Carrera; 2017 Macan
1986 El Camino with Fuel Injected 350 Crate Engine
My Motto: I will never be too old to have a happy childhood!
Old 06-22-2019, 05:21 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #19 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,320
Quote:
Originally Posted by GH85Carrera View Post
As others have said peer to peer is different than internet based FTP.

We have several PC all running Windows 10 Pro on a all peer to peer system. We also have two network based RAIDs for archiving projects.

For most data moving we use the computer that has the data to send the data to where we want it.

One reason is Windows is just sure all users are idiots, and need to be protected. It will hide some files from another computer looking at a folder of files, that are there.

We transfer a lot of files, mostly a folder at a time. Some are zillions of little 1&2 K text files, to 25 GB tif files.
The big problem with transferring a lot of little files vs. one big honker is that for each file being transferred there is the initial communications for "hey here comes this file STOR it a this location" and the acknowledgement of that communication. Across thousands of little files it adds up.

Depending on what is being copied, if any of it is being re-copied, etc. you may want to look at using rsync (yes, there are Windows version). Won't speed up initial copy but updates are deltas only.

Old 06-22-2019, 06:19 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #20 (permalink)
Reply


 


All times are GMT -8. The time now is 05:41 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.