X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-IronPort-AV: E=Sophos;i="4.21,328,1188792000"; d="scan'208";a="11518915" Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: "ls" much slower on Vista Date: Thu, 25 Oct 2007 10:58:18 +0100 Message-ID: In-Reply-To: <055b01c816a2$912170a0$b6db87d4@multiplay.co.uk> References: <055b01c816a2$912170a0$b6db87d4 AT multiplay DOT co DOT uk> From: "John Cooper" To: "Steven Hartland" , Cc: "John Cooper" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 l9P9xdY3018116 Thanks for the pointer - it turns out Symantec AntiVirus is the culprit. If I disable "File System Auto-Protect" then "time /bin/ls -l /usr/bin" goes down from 2 seconds to about 0.3s, which is now perfectly usable. Oddly, I also have Symantec AntiVirus on my WinXP machine where performance is far better. However, this is an older version of the AntiVirus software which refuses to upgrade via LiveUpdate, so I'm not sure if the massive AntiVirus slowdown is due to the later version or the fact that it's running on Vista. Interestingly, though, "time cmd /c dir" on Vista is much less affected by the AntiVirus software - when enabled the time is 0.18s, and when disabled 0.10s. So I guess cygwin "ls -l" is doing many more file system operations than "dir". The following page indicates that virus checkers can make disk access over 2000% slower: http://www.codinghorror.com/blog/archives/000803.html --- John. -----Original Message----- From: Steven Hartland [mailto:killing AT multiplay DOT co DOT uk] Sent: 25 October 2007 02:01 To: John Cooper; cygwin AT cygwin DOT com Cc: John Cooper Subject: Re: "ls" much slower on Vista Do you have any antivirus on the Vista machine? ----- Original Message ----- From: "John Cooper" Any ideas what might be causing the slowdown and how I might avoid it? ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster AT multiplay DOT co DOT uk. -- 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/