X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54,SPF_PASS X-Spam-Check-By: sourceware.org From: Haojun Bao To: cygwin AT cygwin DOT com Subject: Re: How cygwin realize posix pipe? In-Reply-To: <20090730104914.52236.qmail@web3314.mail.ogk.yahoo.co.jp> (Tatsuro MATSUOKA's message of "Thu, 30 Jul 2009 19:49:14 +0900 (JST)") References: <20090730104914 DOT 52236 DOT qmail AT web3314 DOT mail DOT ogk DOT yahoo DOT co DOT jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (cygwin) Date: Thu, 30 Jul 2009 21:45:39 +0800 Message-ID: <7v1vny2sjg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 Tatsuro MATSUOKA writes: > Hello > > 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. -- 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