Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 22 Nov 2002 17:26:56 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: pipe performance problem
Message-ID: <20021122222656.GA11995@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <777770015.20021122040845@huno.net> <007301c291ff$eb9ce050$78d96f83@pomello> <21545718.20021122114035@huno.net> <12415481703.20021122220059@huno.net> <20021122210856.GA10679@redhat.com> <19719277625.20021122230415@huno.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <19719277625.20021122230415@huno.net>
User-Agent: Mutt/1.5.1i

On Fri, Nov 22, 2002 at 11:04:15PM +0100, thomas wrote:
>Christopher Faylor <cgf@redhat.com> wrote:
>>If the relevant code was obvious then it would be trivial to fix.  I'm
>>not even convinced that there is a cygwin problem here.  It doesn't
>>appear to be doing anything wrong.  However, unless you are doing
>>something with ttys I don't see why that's appropriate.
>
>from a quick look i found /dev/piper and things like that in tty.cc and
>since thats what the strace logs are also showing i thought tty.cc is
>relevant.

I was trying to help by cutting down on places to look.  If you want to
investigate tty code, feel free.

>now please correct me if i'm wrong, but when it works with 1.1.18 and
>not with 1.3.x and the only constant that changes is cygwin, wouldn't
>every fan of logic scream out loud then: it's cygwin! :)

Logic fan, are you?  Did you see anything in the strace log that indicated
cygwin was operating improperly?  "It's slower" is not necessarily a sign
of improper behavior.  There are often reasons for decreasing performance,
such as "improving compliance".  If a program is so finely tuned that it
falls over when timings change then it is possible that it is just not
going to work.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

