Re: Some wird OpenSSL perfomance slowdown

2007-03-02 Thread Sergey S. Levin
Hello Darryl, Thank you for a reply. From glancing at your code it looks like your bulk data transfer is something like 300 lots of nBioBlockSize, and I presume nBioBlockSize is = 10k, so thats only 3Mb of data. The nBioBlockSize is 4096 Bytes. The transfer is 300 * buf_size where the

Re: Some wird OpenSSL perfomance slowdown

2007-03-02 Thread Sergey S. Levin
Hello Rick, SW crypto aint cheap. It can consume lots of CPU cycles. If the system was nearly CPU saturated with a plain transfer, then the overhead of the crypto can very definitely take the throughput down considerably. 1. If i use FileZilla and SSL connection - it works on 100% of

Re: Some wird OpenSSL perfomance slowdown

2007-03-02 Thread Sergey S. Levin
Hello Richard, But which cpu types/frequencies are involved on both sides of the connection and which cipher suite do you use? Server - Celeron 2GHz, Cient - Intel PIV 2GHz. As to the second question - I'm not changing the defaul values in the sources code. I had taken the saccept.c and

Some wird OpenSSL perfomance slowdown

2007-03-01 Thread Sergey S. Levin
Hello all, Why the data transfer speed of the OpenSSL client and server is nearly 10 times slower then when using the regular sockets? The code of the standard samples of client and servers are used. The code for client is: char host[MAX_PATH]; BIO *out; char buf[1024*10],*p; SSL_CTX