X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0	tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-Id: <0B77E7CD-DB7A-4DF0-AA82-FB6EEEDB6EF3@free.fr>
From: Denis Excoffier <3.1416@free.fr>
To: cygwin@cygwin.com
In-Reply-To: <20110318180247.GA24890@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Reply-To: cygwin@Denis-Excoffier.org
Subject: Re: last snapshot (2011-03-13)
Mime-Version: 1.0 (Apple Message framework v936)
Date: Fri, 18 Mar 2011 19:39:39 +0100
References: <20110318174340.11864kumrhjf7ags@messagerie.si.c-s.fr> <20110318180247.GA24890@ednor.casa.cgf.cx>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Le 18 mars 2011 =E0 19:02, Christopher Faylor a =E9crit :

>
> 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=20=
=20
(the nonpaged value)
which cannot be exceeded.

This also explains a failure i had this afternoon, on the CPU which=20=20
was normally "non-failing":
i launched 5 xz-compressions at the same time (not big ones, but you=20=20
must know that xz-compression
can be rather slow even on small files, so it is very likely that the=20=20
5 were concurrent); and 3
of them failed unexpectedly. I understand now that 5 open pipes at the=20=
=20
same time would use
5*31*1024*1024 bytes, which is too much for a CPU that has=20=20
nonpaged=3D98Mb as i said in my previous
message.

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

Denis Excoffier.



--
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

