delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/22:43:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BBD42BC.4050404@gmail.com>
Date: Wed, 07 Apr 2010 22:43:08 -0400
From: Mark Levedahl <mlevedahl AT gmail DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: git on cygwin 1.7.2/1.7.4
References: <4BB29285 DOT 4010701 AT gmail DOT com> <20100331042545 DOT GA23824 AT ednor DOT casa DOT cgf DOT cx> <4BB3F897 DOT 7090306 AT gmail DOT com>
In-Reply-To: <4BB3F897.7090306@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 03/31/2010 09:36 PM, Mark Levedahl wrote:
> On 03/31/2010 12:25 AM, Christopher Faylor wrote:
>> On Tue, Mar 30, 2010 at 08:08:37PM -0400, Mark Levedahl wrote:
>>> All of the above connections and i/o processing are done using
>>> bog-standard fork, pipe, open, read, write, and associated file
>>> commands. Git has no trouble opening all of the processes and pipes
>>> under Cygwin 1.7.2. However, in general before the data transfer is
>>> complete the demux process issues an error upon getting an incomplete
>>> packet (fewer bytes transmitted than declared in the header), and
>>> debugging shows the error code of the read() is ENOENT, indicating the
>>> pipe or socket has been terminated early. The index-pack process also
>>> issues an error due to receipt of an incomplete pack.
Given the above, it seems logical the problem is with pipes, and as 
1.7.4-1 is has fixes for pipes I tried it out and found a significant 
improvement: using 1.7.2-1 I got 16 failures out of 20 attempts to clone 
a 17 MByte repo on localhost, using 1.7.4-1 this is down to 3 failures 
out of 20 attempts. (1.7.3-1 was not an improvement).

The failures I do get are identical to what I described before: the 
demux thread is getting a 0 (= EOF) return from read(stdin, ...), while 
the server process is still trying to upload data via ssh.

So, 1.7.4-1 is better, but still has at least one issue remaining.

Mark

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