Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: Scp slow copy [2801]

$
0
0
Hi,

I've been experimenting with the scp implementation and noticed it is slower compared to the command line tool scp. In my test, it is 5s to copy with scp, and 15s with SSH.NET. Is this expected? If not, what can I do to improve performance?

Thanks,
Manu
Comments: ** Comment from web user: 4I03F2lod **

My timing is actually wrong with the unmodified SSH.NET it takes by default 33s, and I noticed that most of the time it was stuck in a Thread.Sleep (100) in ScpClient.ReadByte, so I changed this to Thread.Sleep(0) and got the 15s.


Viewing all articles
Browse latest Browse all 1026

Trending Articles