X-Spam-Check-By: sourceware.org X-AntiVirus: PTMail-AV 0.3.88 X-Virus-Status: Clean (0.00705 seconds) Mime-Version: 1.0 (Apple Message framework v746.3) In-Reply-To: <005a01c651ee$4dd35680$b3db87d4@multiplay.co.uk> References: <048501c651b8$0862c1c0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <001401c651d0$872c9090$b3db87d4 AT multiplay DOT co DOT uk> <89F9E813-1E27-4FEE-9359-6C73A8CD871A AT ptnix DOT com> <005a01c651ee$4dd35680$b3db87d4 AT multiplay DOT co DOT uk> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <801E2E71-2C61-46B7-9CEE-77838077FD3E@ptnix.com> Content-Transfer-Encoding: 7bit From: Pedro Inacio Subject: Re: very poor cygwin scp performance in some situations Date: Mon, 27 Mar 2006 23:37:57 +0100 To: Cygwin List X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I'm starting to think that openssl have some performance issues on cygwin. my fixed non-blocking echo_server.c with openssl is too slow when compared with the same code compiled on Linux. is something like 40ms on Linux to 1040ms on Cygwin. On 2006/03/27, at 23:32, Steven Hartland wrote: > ----- Original Message ----- From: "Pedro Inacio" >> I've initiated the post "select() too slow". >> The example I've done was a non-blocking tcp echo_server.c and >> how slow it was on linux compared with cygwin. >> In fact after activation oh tcp_nodelay option the times were >> similar. >> Meanwhile I've done another test, I've added ssl on top of that >> echo_server.c with similar results than on linux, with the >> tcp_nodelay set, and the results are again against cygwin binary. >> On cygwin is too slow. I just don't know where the problem is. > > Thanks for that what was interesting with scp was direction had > a large impact on performance. > On FreeBSD from Cygwin -> FreeBSD 700KB/s > On Cygwin from Cygwin -> FreeBSD 1.2MB/s > On FreeBSD from FreeBSD -> Cygwin 6.4MB/s > > So there is definitely performance to be gained. I had a similar > problem with a basic perl FTP script uploading from Cygwin to > a FreeBSD machine and there simply setting the block size > to 8K fixed the issue. Note: From FreeBSD -> FreeBSD the > script didn't require said fix but it didn't effect it either. This > may be something to look at as well. > > Steve > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. > and the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, > printing or otherwise disseminating it or any information contained > in it. > In the event of misdirection, illegible or incomplete transmission > please telephone (023) 8024 3137 > or return the E.mail to postmaster AT multiplay DOT co DOT uk. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/