delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/12/15:18:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 12 Oct 2009 21:18:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem [1.7] find ... | xargs ... in [1.7]: too fast for its own good?
Message-ID: <20091012191835.GD11169@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4AD317F5 DOT 6010205 AT bonhard DOT uklinux DOT net>
MIME-Version: 1.0
In-Reply-To: <4AD317F5.6010205@bonhard.uklinux.net>
User-Agent: Mutt/1.5.17 (2007-11-01)
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 Oct 12 12:50, Fergus wrote:
> Current Cygwin 1.7.0-62
> Windows 7 v.6.1.7600
> Attached: cygcheck output
>
> Operations of the style
> find ... | xargs ...
> seem orders of magnitude faster in [1.7] than they have been in [1.5], 
> which is just great.
>
> However I have been experiencing flakey and inconsistent behaviours with 
> bad consequences, which I have reduced to the following example.
>
> $ find . -type f | xargs md5sum | grep d41d8c
> d41d8cd98f00b204e9800998ecf8427e *./xdelta/xdelta-1.1.3-3-src.tar.bz2
> d41d8cd98f00b204e9800998ecf8427e *./syslog-ng/syslog-ng-2.1.1-1.tar.bz2
> .. (and so on, several files found all with the same md5sum indicating size 
> 0)
>
> $ find . -type f | xargs md5sum | grep d41d8c
> d41d8cd98f00b204e9800998ecf8427e 
> *./X.Org/libXft/libXft-2.1.13-10-src.tar.bz2
> d41d8cd98f00b204e9800998ecf8427e 
> *./X.Org/libXau/libXau-devel/libXau-devel-1.0.4-10.tar.bz2
> .. (and so on)
>
> $ find . -type f | xargs md5sum | grep d41d8c
> d41d8cd98f00b204e9800998ecf8427e 
> *./X.Org/libX11/libX11-xcb1/libX11-xcb1-1.2.1-1.tar.bz2
> d41d8cd98f00b204e9800998ecf8427e *./which/which-2.20-2-src.tar.bz2
> .. (and so on)
>
> The directory I used (actually a local Cygwin release/ directory) contains 
> a large number of files (6000+). None of the files are of size 0 (md5sum 
> d41d8cd98f00b204e9800998ecf8427e) but
> (a) the find ... command suggests that some are; and
> (b) the findings are variable when the command is repeated.

I tried this with the Cygwin release directory multiple times, with the
release dir on a local drive as well as on a remote NFS drive.  I can't
reproduce this weird behaviour.  I'm wondering if that's one of these
dreaded BLODA problems again...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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