X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SARE_SUB_MINUTES X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk Message-ID: <4CF7FB11.1080903@cygwin.com> Date: Thu, 02 Dec 2010 15:01:21 -0500 From: "Larry Hall \(Cygwin\)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "ls -lrt" takes over 2 minutes for 750 files! References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 12/2/2010 2:58 PM, Jim Reisert AD1C 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% 0+0k 0+0io 2822pf+0w > > A straight "ls" takes under 1/10 second: > > 0.000u 0.046s 0:00.08 50.0% 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. Any idea what it might be? When did it work well for you last? If you can narrow it down to a particular change, that would help. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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