delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/02/15:29:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SARE_SUB_MINUTES,TW_LR
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTi=LcXvzogAGPmYvtmPtRXvnv2nbtg6T-uHY4HmM@mail.gmail.com>
References: <AANLkTi=zgL-ndKop3UppLQjmh=ep3Enx8K0wsO6FhBWX AT mail DOT gmail DOT com> <AANLkTi=LcXvzogAGPmYvtmPtRXvnv2nbtg6T-uHY4HmM AT mail DOT gmail DOT com>
Date: Thu, 2 Dec 2010 13:29:38 -0700
Message-ID: <AANLkTi=SAcCbGda-kvdrMJFpjXZ=tcriKegHeHMn5mx=@mail.gmail.com>
Subject: Re: "ls -lrt" takes over 2 minutes for 750 files!
From: Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
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 Thu, Dec 2, 2010 at 1:27 PM, Jim Reisert AD1C <jjreisert AT alum DOT mit DOT edu> w=
rote:

> On Thu, Dec 2, 2010 at 12:58 PM, Jim Reisert AD1C
> <jjreisert AT alum DOT mit DOT edu> wrote:
>
>> Running this version of Cygwin:
>>
>> CYGWIN_NT-6.1-WOW64 JJR 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
>>
>> I have a directory with 753 files.
>>
>> "ls -lrt" (directory in reverse time order) takes forever (well, over
>> 2 minutes):
>>
>> 0.062u 0.264s 2:18.31 0.2% =A0 =A0 =A00+0k 0+0io 2822pf+0w
>>
>> A straight "ls" takes under 1/10 second:
>>
>> 0.000u 0.046s 0:00.08 50.0% =A0 =A0 0+0k 0+0io 2572pf+0w
>>
>> This is a 1.5TB SATA drive in a Intel Q6600 computer with 4GB of RAM.
>>
>> This seems to be a recent problem. =A0Any idea what it might be?
>
> If I pipe the output of ls -lrt to /dev/null, it completes in under a sec=
ond.
>
> I have a GeForce 9500 GT using the almost latest drivers (260.89).
>
> Running in an xterm:
>
> JJR:/cygdrive/f/download> xterm -version
> Cygwin 6.8.99.903(261)
>
> And this X server:
>
> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.9.2.0 (10902000)
> Build Date: 2010-11-03

Sorry, one more.   Once the ls -lrt > /dev/null completed, I tried it
to the console again and it completed in under a second.

Some caching issue somewhere?

--=20
Jim Reisert AD1C, <jjreisert AT alum DOT mit DOT edu>, http://www.ad1c.us

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