commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject [vfs] FTP extremely slow compared to SFTP
Date Mon, 10 Dec 2007 13:59:49 GMT
Hi,

can somebody explain the following numbers - especially why FTP is that dead slow compared
to SFTP handling a lot of files? I measure a simple copy action of a directory containing
some few files:

========================================
FTP
========================================
* Initial Run
  - Exporter.............................................. 8252.0 ms
* Single File (25kb)
  - Exporter.............................................. 8021.0 ms
* Single File (25000kb)
  - Exporter.............................................. 11437.0 ms
* Single File (50000kb)
  - Exporter.............................................. 16043.0 ms
* Single Directory (with 10 files of 1kb)
  - Exporter.............................................. 47859.0 ms
* Single Directory (with 25 files of 1kb)
  - Exporter.............................................. 113964.0 ms
* Single Directory (with 50 files of 1kb)
  - Exporter.............................................. 224312.0 ms

========================================
SFTP
========================================
* Initial Run
  - Exporter.............................................. 1252.0 ms
* Single File (25kb)
  - Exporter.............................................. 921.0 ms
* Single File (25000kb)
  - Exporter.............................................. 14952.0 ms
* Single File (50000kb)
  - Exporter.............................................. 24885.0 ms
* Single Directory (with 10 files of 1kb)
  - Exporter.............................................. 601.0 ms
* Single Directory (with 25 files of 1kb)
  - Exporter.............................................. 922.0 ms
* Single Directory (with 50 files of 1kb)
  - Exporter.............................................. 1552.0 ms


Any explanation or - even better - suggestions to improve FTP speed?

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message