SFTP transfer way is too slow

407 views
Skip to first unread message

AndCycle

unread,
Sep 29, 2012, 2:14:15 AM9/29/12
to tacitd...@googlegroups.com
just bought the app, version 2.1.9, playing around two-way sync with SFTP,
I found the behavior is kind of crazy,

it simply close connection then reopen it for each file transfer,
just 100 small file take it 10mins to be done, far from any practical usage :(

Support User

unread,
Oct 1, 2012, 4:43:37 PM10/1/12
to tacitd...@googlegroups.com
Connection should not be reopened for each transfer in a sync.

If that happens it could indicate a problem with the SFTP communication between the server and foldersync.

However, even if that would work, SFTP will be slower than almost all the other protocols FolderSync supports because of resources needed for encryption, compression, channel overhead etc.

Best regards
Anders Carlsen
Software Developer

If you like our apps, please give them a 5-star rating. Thanks. :-)
 
Tacit Dynamics


AndCycle

unread,
Oct 2, 2012, 4:07:57 AM10/2/12
to tacitd...@googlegroups.com
I know ssh encryption will be slower,
but it do reopen connection, I have no idea,

here is server log, I use default connection setting in foldersync,

Sep 29 01:57:12 51g sshd[2927]: Accepted publickey for android_rsync from 192.168.0.61 port 51127 ssh2
Sep 29 01:57:12 51g sshd[2927]: pam_unix(sshd:session): session opened for user android_rsync by (uid=0)
Sep 29 01:57:12 51g sshd[2936]: subsystem request for sftp by user android_rsync
Sep 29 01:57:12 51g sshd[2936]: SSH: Server;LType: Throughput;Remote: 192.168.0.61-51127;IN: 3440;OUT: 16752;Duration: 0.3;tPut_in: 11267.7;tPut_out: 54871.2
Sep 29 01:57:12 51g sshd[2927]: pam_unix(sshd:session): session closed for user android_rsync
Sep 29 01:57:12 51g sshd[2949]: SSH: Server;Ltype: Version;Remote: 192.168.0.61-55301;Protocol: 2.0;Client: edtFTPjPRO-4.0.0
Sep 29 01:57:12 51g sshd[2949]: SSH: Server;Ltype: Kex;Remote: 192.168.0.61-55301;Enc: aes128-cbc;MAC: hmac-md5;Comp: none [preauth]
Sep 29 01:57:13 51g sshd[2949]: SSH: Server;Ltype: Authname;Remote: 192.168.0.61-55301;Name: android_rsync [preauth]
Sep 29 01:57:13 51g sshd[2949]: Accepted publickey for android_rsync from 192.168.0.61 port 55301 ssh2
Sep 29 01:57:13 51g sshd[2949]: pam_unix(sshd:session): session opened for user android_rsync by (uid=0)
Sep 29 01:57:13 51g sshd[2959]: subsystem request for sftp by user android_rsync
Sep 29 01:57:13 51g sshd[2949]: pam_unix(sshd:session): session closed for user android_rsync
Sep 29 01:57:13 51g sshd[2959]: SSH: Server;LType: Throughput;Remote: 192.168.0.61-55301;IN: 3568;OUT: 6576;Duration: 0.3;tPut_in: 11215.7;tPut_out: 20671.1
Sep 29 01:57:13 51g sshd[2968]: SSH: Server;Ltype: Version;Remote: 192.168.0.61-43803;Protocol: 2.0;Client: edtFTPjPRO-4.0.0
Sep 29 01:57:13 51g sshd[2968]: SSH: Server;Ltype: Kex;Remote: 192.168.0.61-43803;Enc: aes128-cbc;MAC: hmac-md5;Comp: none [preauth]
Sep 29 01:57:13 51g sshd[2968]: SSH: Server;Ltype: Authname;Remote: 192.168.0.61-43803;Name: android_rsync [preauth]
Sep 29 01:57:13 51g sshd[2968]: Accepted publickey for android_rsync from 192.168.0.61 port 43803 ssh2
Sep 29 01:57:13 51g sshd[2968]: pam_unix(sshd:session): session opened for user android_rsync by (uid=0)
Sep 29 01:57:13 51g sshd[2982]: subsystem request for sftp by user android_rsync
Sep 29 01:57:14 51g sshd[2982]: SSH: Server;LType: Throughput;Remote: 192.168.0.61-43803;IN: 13104;OUT: 41040;Duration: 1.1;tPut_in: 11800.4;tPut_out: 36957.3
Sep 29 01:57:14 51g sshd[2968]: pam_unix(sshd:session): session closed for user android_rsync
Sep 29 01:57:14 51g sshd[2998]: SSH: Server;Ltype: Version;Remote: 192.168.0.61-47297;Protocol: 2.0;Client: edtFTPjPRO-4.0.0
Sep 29 01:57:14 51g sshd[2998]: SSH: Server;Ltype: Kex;Remote: 192.168.0.61-47297;Enc: aes128-cbc;MAC: hmac-md5;Comp: none [preauth]
Sep 29 01:57:15 51g sshd[2998]: SSH: Server;Ltype: Authname;Remote: 192.168.0.61-47297;Name: android_rsync [preauth]
Sep 29 01:57:15 51g sshd[2998]: Accepted publickey for android_rsync from 192.168.0.61 port 47297 ssh2
Sep 29 01:57:15 51g sshd[2998]: pam_unix(sshd:session): session opened for user android_rsync by (uid=0)

Support User

unread,
Oct 2, 2012, 3:10:23 PM10/2/12
to tacitd...@googlegroups.com
Could you perhaps provide me with a foldersync log also?

Please follow the directions here to produce a log file: http://www.tacit.dk/support

AndCycle

unread,
Oct 3, 2012, 2:03:26 AM10/3/12
to tacitd...@googlegroups.com
here is the log, I have took some look at it I am not sure is this helpful because this is not a complete fresh sync,
I think I wll do a full one later

HTC Desire S running 4.0.4, FolderSync 2.1.9


logs.zip

AndCycle

unread,
Jan 15, 2013, 4:48:33 PM1/15/13
to tacitd...@googlegroups.com
well, just bought a new phone,
updated to 2.3.1, I haven't use folderSync for a pretty long time,

the connection reopen issue is gone,
but the problem still exist,

SFTP sync speed drop really soon after few hundreds of files,
no matter what file size it is
Reply all
Reply to author
Forward
0 new messages