X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-IronPort-AV: E=Sophos;i="4.21,324,1188792000"; d="scan'208";a="11508883" Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: "ls" much slower on Vista Date: Wed, 24 Oct 2007 15:27:05 +0100 Message-ID: From: "John Cooper" To: Cc: "John Cooper" X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l9OESWsR009646 I've recently installed Cygwin 1.5.24-2 on Windows Vista and found that "ls" runs noticeably slower compared to WinXP or Win2K3 (same Cygwin version) despite my Vista machine being newer, faster and having far more memory (4Gb vs 1Gb on XP). The following numbers are from launching rxvt (from Start>Run) and then running "time /bin/ls -l /usr/bin" (using similar sized rxvt windows, not clipped): Vista: real 0m2.028s user 0m0.046s sys 0m1.855s XP: real 0m0.250s user 0m0.061s sys 0m0.062s That's over 2 seconds wall time on Vista for a full listing of /usr/bin, versus a quarter of a second on XP. The number of files in /usr/bin is around about 400 in both cases. No processes are using excessive CPU or hogging memory at the time of the tests, which I've repeated numerous times and had similar results. I actually use cygwin zsh and first noticed the slowdown there before discovering it also affects /bin/sh. Any ideas what might be causing the slowdown and how I might avoid it? Thanks, --- John. -- 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/