delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/10/09:50:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: slow handling of large sets of files?
Date: Mon, 10 Jan 2005 14:47:35 -0000
MIME-Version: 1.0
In-Reply-To: <20050110143537.GA1220@ingber.com>
Message-ID: <NUTMEGI3pbpmbQzPJu000000e5b@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 10 Jan 2005 14:47:35.0578 (UTC) FILETIME=[52A68FA0:01C4F723]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Lester Ingber
> Sent: 10 January 2005 14:36

> I don't understand why handling large data sets is so slow on 
> my Cygwin?
> I have had this problem as far back as I can remember with Cygwin.
> Running executables prepared under gcc (without large file 
> I/O) seem fine.
> 
> Below I include just the top part of `cygcheck -s`.
> 
> To be specific, I have tarred-gzipped directory of about 5300 files,
> % ls -l DATA.tar.gz 
> [...] 92303 Jan 10 05:27 DATA.tar.gz
> which can be retrieved using a browser or just `wget` from
> http://www.alumni.caltech.edu/~ingber/DATA.tar.gz
> 
> I tested the following commands
> (1) gzcat DATA.tar.gz | tar xBpf -
> (2) rm -rf DATA

  Can't reproduce.

DKAdmin AT ubik ~> time gunzip -c DATA.tar.gz | tar xBpf -

real    0m5.242s
user    0m1.101s
sys     0m3.144s
DKAdmin AT ubik ~> time rm -rf DATA

real    0m2.947s
user    0m0.620s
sys     0m2.133s
DKAdmin AT ubik ~> time tar xfzp DATA.tar.gz

real    0m6.453s
user    0m1.051s
sys     0m3.635s
DKAdmin AT ubik ~> time rm -rf DATA

real    0m2.890s
user    0m0.520s
sys     0m2.163s
DKAdmin AT ubik ~>

  You _sure_ you aren't accidentally doing this on a remote network drive?

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019