commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Fortner" <phidia...@yahoo.com>
Subject Re: [vfs] FTP extremely slow compared to SFTP
Date Mon, 10 Dec 2007 15:55:31 GMT
Jörg,
Do you have any code snippets for these examples?

Mark

On Dec 10, 2007 5:59 AM, Jörg Schaible <Joerg.Schaible@elsag-solutions.com>
wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message