Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Daniel Stenberg
On Mon, 16 Mar 2009, Peter Stuge wrote: >> It's really all about the channel window handling, and when we're talking >> raw localhost transfers we clearly need to set a very large window to get >> close to top speed for SCP. > > SCP itself is wrong and deprecated and bad in many ways, but oh wel

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Peter Stuge
Interesting results. Daniel Stenberg wrote: > It's really all about the channel window handling, and when we're > talking raw localhost transfers we clearly need to set a very large > window to get close to top speed for SCP. SCP itself is wrong and deprecated and bad in many ways, but oh well.

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Daniel Stenberg
On Mon, 16 Mar 2009, Borey wrote: > It seems, that this build is quite stable. > Daniel, do you have a plan to create an "official" load (tar.gz archive). Not yet. I want more testing done first and I have some further pending work to do before I think it is ready for release. In the mean time

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread E L
2009/3/16 Borey : > It seems, that this build is quite stable. > Daniel, do you have a plan to create an "official" load (tar.gz archive). > > Thanks and regards. > PS: Unfortunately, I don't have a even CVS access behind my proxy. http://daniel.haxx.se/projects/libssh2/snapshots.html ---

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Borey
It seems, that this build is quite stable. Daniel, do you have a plan to create an "official" load (tar.gz archive). Thanks and regards. PS: Unfortunately, I don't have a even CVS access behind my proxy. 2009/3/16 E L > >> Could that cause extra latency in applications that have several > chann

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread E L
>> Could that cause extra latency in applications that have several channels >> open at once? > > Hm, yes I guess it might - depending on how the server deals with multiple > channels. > > Does anyone have any test/use case that might fit this description? It would > be really useful to get some fu

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Courtlyn McHale
Daniel, Thanks for all your work on this! I was just starting to poke around at the this same problem on Friday and saw this thread. I'm using Perl's Net::SSH2 to do multiple 10mb transfers every 5 minutes and I'm getting overlapping processes. I'll grab the CVS and let you know how it goes. Than

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Borey
Hi Daniel. Do you have any estimation when ypou can commit your code and it will be avaliable ? Thanks. 2009/3/15 Daniel Stenberg > On Sat, 14 Mar 2009, Daniel Stenberg wrote: > > > SFTP 37MB/s > > SCP 40MB/s > > > > Using libssh2, I don't get above 600KB/s using SCP... It's so silly. > Ther

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Daniel Stenberg
On Mon, 16 Mar 2009, Borey wrote: > Do you have any estimation when ypou can commit your code and it will be > avaliable ? It has already been committed! Please just update from CVS and give it a spin. -- / daniel.haxx.se

Re: [libssh2] more performance on openssh vs libssh2

2009-03-16 Thread Daniel Stenberg
On Sun, 15 Mar 2009, Dan Fandrich wrote: >> Can anyone think of any particular downside with going with these rather >> extreme window sizes as-is, or should we work on getting a more clever >> scheme for them? > > Could that cause extra latency in applications that have several channels > open

Re: [libssh2] more performance on openssh vs libssh2

2009-03-15 Thread Dan Fandrich
On Sun, Mar 15, 2009 at 07:53:42PM +0100, Daniel Stenberg wrote: > Can anyone think of any particular downside with going with these rather > extreme window sizes as-is, or should we work on getting a more clever scheme > for them? Could that cause extra latency in applications that have several

Re: [libssh2] more performance on openssh vs libssh2

2009-03-15 Thread Daniel Stenberg
On Sun, 15 Mar 2009, Daniel Stenberg wrote: > Right now I'm at 20MB/s speed for SCP downloads but this code has some minor > regression still that I need to fix before I can commit. SFTP is at 12MB/s. It's really all about the channel window handling, and when we're talking raw localhost transf

Re: [libssh2] more performance on openssh vs libssh2

2009-03-14 Thread Daniel Stenberg
On Sat, 14 Mar 2009, Daniel Stenberg wrote: > SFTP 37MB/s > SCP 40MB/s > > Using libssh2, I don't get above 600KB/s using SCP... It's so silly. There's > clearly something terribly wrong in there. It was. My test program was stupid so it wrote all received data to stdout, but due it being all