delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/10:24:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 29 Jun 2009 10:23:48 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7.0-50] scp progress counter flies through first 175 MB or so
Message-ID: <20090629142348.GB19123@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2ul445d2cfjj1q2t2viropiikoj70slglb AT 4ax DOT com> <20090625101039 DOT GP7289 AT calimero DOT vinschen DOT de> <20090625140508 DOT GA17040 AT ednor DOT casa DOT cgf DOT cx> <20090625143651 DOT GR7289 AT calimero DOT vinschen DOT de> <20090625145005 DOT GB18338 AT ednor DOT casa DOT cgf DOT cx> <20090628193155 DOT GA10407 AT ednor DOT casa DOT cgf DOT cx> <20090629092857 DOT GZ30864 AT calimero DOT vinschen DOT de> <20090629095322 DOT GD30864 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20090629095322.GD30864@calimero.vinschen.de>
User-Agent: Mutt/1.5.19 (2009-01-05)
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 Mon, Jun 29, 2009 at 11:53:22AM +0200, Corinna Vinschen wrote:
>On Jun 29 11:28, Corinna Vinschen wrote:
>>On Jun 28 15:31, Christopher Faylor wrote:
>>>Btw, Corinna, were you proposing turning the "FIXME" code in peek_pipe
>>>back on?
>>
>>I'm a bit wary to do that, but...
>>
>>>I don't think I ever saw it fail myself after my last round of tweaks
>>>but I don't remember what the exact problem was.  Did it fail on some
>>>version of Windows NT/2000/XP/2003/2008/7?
>>
>>...I just searched for the old threads and here's where the problem
>>starts: http://cygwin.com/ml/cygwin/2004-09/msg00416.html
>>
>>That led to: http://cygwin.com/ml/cygwin-patches/2004-q3/msg00091.html
>>
>>And then there was the Unison problem:
>>http://cygwin.com/ml/cygwin/2004-09/msg01131.html
>>
>>Which was subsequently discussed here:
>>http://cygwin.com/ml/cygwin-patches/2004-q3/msg00133.html
>>
>>I tested sftp with big files (Gigs) and it appears to work fine with
>>the FIXME code switched back to life.  I tested the unison command
>>using Cygwin's unison 2.31.4-2 under tcsh and it worked fine.  I tested
>>various combinations with pipes created by a native application and
>>with native applications on send and receive side of a Cygwin pipe and
>>all my testcases worked as expected.
>>
>>So, maybe we should really give it a try again.
>
>Btw., I also tried the rsync of 9000 files with the FIXME code active
>and it worked a couple of times in a row without fail.

I did make a change subsequent to your turning off this code.  Maybe
that was enough to get things working.  Either that or, if you are using
the trunk code, maybe you aren't hitting this at all anymore since there
are overlapped I/O accomodations.

Anyway, I wouldn't mind giving the code another try if you are up for
it.  Although I didn't write the code originally, it has always bothered
me that it didn't work because it seems like it should have.

Shall I turn it on, create a snapshot, and then ask our legion of
testers to try it?

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