delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/22/04:57:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,TW_LR,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C70E660.2070600@alice.it>
Date: Sun, 22 Aug 2010 10:57:04 +0200
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1
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

Larry Hall wrote:
>> Corinna Vinschen wrote:
>>> - Improve performance of stat and a few other functions.  ls(1) should
>>>   be up to 30% faster
>>
>> I have a directory (500MB, 30 files) which contains mainly 'exe' (setups for TB, FF, OO etc.). If I try 'ls -l' in this directory, the first time it take about 30 seconds to list the files. After the first time, the listing is almost without delay. The same happens also with 'ls -l /usr/bin'.
>>
>> When there is the 'hang' (30 secs.), Task Manager shows that AVG9 takes about 50% of CPU: this occurs *only* with 1.7.6 but _not_ with 1.7.5, with which 'ls -l' is almost immediate, regardless of the number and type of files.
>>
>> Obviously I have tested this, each time, with a 'fresh machine', to avoid 'cache' effects.
>>
>> The system is WinXP SP3, AMD Athlon 64X2DC 2.03GHz, 1.75GB RAM.
>
> Try a recent snapshot:
>
> <http://cygwin.com/snapshots/>

I have tried cygwin1-20100822.dll.bz2, but same results. :(

The first time (no cache 'effects') I do

$ time ls -lrt /usr/bin

the results are:

CYGWIN_NT-5.1  1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin
time ls -lrt /usr/bin
real    0m16.531s
user    0m0.108s
sys     0m0.421s

CYGWIN_NT-5.1  1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin
real    1m3.171s
user    0m0.155s
sys     0m0.702s

CYGWIN_NT-5.1  1.7.6s(0.231/5/3) 20100822 02:25:11 i686 Cygwin
real    1m4.218s
user    0m0.280s
sys     0m0.609s

Ciao,
Angelo.


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