delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/18/16:37:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Fri, 18 Mar 2011 16:37:06 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: last snapshot (2011-03-13)
Message-ID: <20110318203706.GD29306@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20110318174340 DOT 11864kumrhjf7ags AT messagerie DOT si DOT c-s DOT fr> <20110318180247 DOT GA24890 AT ednor DOT casa DOT cgf DOT cx> <0B77E7CD-DB7A-4DF0-AA82-FB6EEEDB6EF3 AT free DOT fr>
MIME-Version: 1.0
In-Reply-To: <0B77E7CD-DB7A-4DF0-AA82-FB6EEEDB6EF3@free.fr>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 07:39:39PM +0100, Denis Excoffier wrote:
>Le 18 mars 2011 ? 19:02, Christopher Faylor a ?crit :
>>Or, are you saying that you still see failures when setting the buffer
>>size down to 64K?
>
>With a buffer 64k all is fine.  With a buffer 31*1024*1024, that's
>different.  It seems that all pipes open at the same time add their
>buffers up to an upper limit (the nonpaged value) which cannot be
>exceeded.

Ok, if I'm reading this right, you're saying that the current snapshot
works.  I'm looking for verification of that.  I understood why the
previous snapshot probably wasn't working when I first responded today.
We don't need to rehash that.

>Now, i suppose that with a 64k buffer, you would not be able to exceed  
>98Mb/64kb=1568 open pipes at the
>same time.

Since the allocation of the buffer is now no longer different than
previous versions of 1.7.x there shouldn't be any new behavior wrt the
memory set aside for pipes.  Cygwin should now just work around the
potential for seeing ERROR_NO_SYSTEM_RESOURCES when writing large
buffers.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019