From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13138 invoked by alias); 21 Aug 2010 14:04:56 -0000 Received: (qmail 13126 invoked by uid 22791); 21 Aug 2010 14:04:55 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Sat, 21 Aug 2010 14:04:21 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 5B3956D4364; Sat, 21 Aug 2010 16:04:18 +0200 (CEST) Date: Sat, 21 Aug 2010 16:05:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1 Message-ID: <20100821140418.GT11340@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4C6FC41E.5010900@alice.it> <20100821134826.GS11340@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20100821134826.GS11340@calimero.vinschen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00671.txt.bz2 On Aug 21 15:48, Corinna Vinschen wrote: > On Aug 21 14:18, Angelo Graziosi wrote: > > 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: > > > > > > > > > > I have tried cygwin1-20100820.dll.bz2 and > > cygwin-inst-20100820.tar.bz2, but it is even worse: Cygwin.bat DOES > > NOT start at all and Windows complains with a message like this: > > > > ...Cannot find entry point CreateProcessAsUserW in KERNEL32.DLL... > > The problem is, there *is* an entry point CreateProcessAsUserW in the > Win32 DLL kernel32.dll. > > At least on NT-based systems. What strikes me as weird is that > kernel32.dll usually is stored with its name in all lowercase letters on > NT-based systems. The fact that you see an all uppercase KERNEL32.DLL > looks like you have such a DLL in your path, possible from Windows > 95/98/Me, possibly installed by some third party stuff, at some point > which is found earlier in the DLL search path than the lowercase > kernel32.dll in C:\Windows\System32. Oh, and, the call to CreateProcessAsUserW in cygwin1.dll is *old*, as in "May 2008". The former call to CreateProcessAsUserA is in Cygwin for over 10 years. However, just to be sure I installed the cygwin1-20100820 snapshot DLL on my W7 box and it works fine. This is quite certainly a local problem. Btw., after downloading cygwin1-20100820.dll.bz2 and bunzipping it, did you make sure the executable bits are set (chmod +x cygwin1-20100820.dll)? 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