X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 30 Jul 2009 09:57:35 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How cygwin realize posix pipe? Message-ID: <20090730135735.GC31765@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090730104914 DOT 52236 DOT qmail AT web3314 DOT mail DOT ogk DOT yahoo DOT co DOT jp> <7v1vny2sjg DOT fsf AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7v1vny2sjg.fsf@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 On Thu, Jul 30, 2009 at 09:45:39PM +0800, Haojun Bao wrote: >Tatsuro MATSUOKA writes: >> I have involved in the octave project. >> Octave uses gnuplot as a graphic backend and data are sent and recieved via pipe. >> >> A report of slowness issue of the plot on octave on windows reported. > >So one of your program is native and the other cygwin. > >It's like a similar issue I met when using native Emacs+Gnus and cygwin >programs (openssl client) to read imap mails, it is very slow. > >I guess it was a pipe size issue, for old DOS compatibility, the pipe >buffer is 64K, and if I check the i/o rate of openssl with Procexp, I >can see something like 64K. > >This is a very wild guess though. First I see sth. in Procexp to be >about 64K, then I googled with "windows pipe 64k". Maybe you can try >tweak the pipe buffer size. 1) Cygwin is a free software project so source code is available. If you have questions about how stuff is done you can always look at the source code. 2) Please don't use this mailing list to debug problems with Windows code. If you don't want to use Cygwin that's fine but we don't want to support people who *aren't* using Cygwin here. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple