delorie.com/archives/browse.cgi | search |
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" |
MIME-Version: | 1.0 |
Subject: | "ls" much slower on Vista |
Date: | Wed, 24 Oct 2007 15:27:05 +0100 |
Message-ID: | <DD74FBB8EE28D441903D56487861CD9D227196BC@lonpexch01.citrite.net> |
From: | "John Cooper" <John DOT Cooper AT citrix DOT com> |
To: | <cygwin AT cygwin DOT com> |
Cc: | "John Cooper" <John DOT Cooper AT citrix DOT com> |
X-IsSubscribed: | yes |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |