X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Fri, 18 Mar 2011 10:31:15 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: last snapshot (2011-03-13) Message-ID: <20110318143115.GC15594@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20110318102538 DOT 13825wbknctks5xu AT messagerie DOT si DOT c-s DOT fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110318102538.13825wbknctks5xu@messagerie.si.c-s.fr> 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 Fri, Mar 18, 2011 at 10:25:38AM +0100, EXCOFFIER Denis wrote: >Hello, > >Please consider http://cygwin.com/ml/cygwin/2011-03/msg00436.html I read it. I hadn't had time to look into it. >In fhandler.h i changed DEFAULT_PIPEBUFSIZE back to contain >PREFERRED_IO_BLKSIZE (instead of 31*1024*1024), installed the new cygwin1.dll >and of course, no more problem. You say "change it back" as if that was the only change. It wasn't. The meaning changed in recent snapshots. I was trying to wrap my head around the fact that people reported failure with the recent snapshot which wrote fewer bytes to the pipe but I suppose that was because the buffer size was too large for their system to handle. Anyway, I've checked in a change which sets the size to 64K mib and a snapshot will be available with that change soon. This means that there will be an unfortunate speed degradation in pipe I/O with large buffers. I don't know how much that will be or if it will be noticeable but we can all thank Windows XP for making this workaround necessary. Thanks for confirming that this works. Can anyone else who had problems also confirm? 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