delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/25/05:59:51

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"
MIME-Version: 1.0
Subject: RE: "ls" much slower on Vista
Date: Thu, 25 Oct 2007 10:58:18 +0100
Message-ID: <DD74FBB8EE28D441903D56487861CD9D2271A025@lonpexch01.citrite.net>
In-Reply-To: <055b01c816a2$912170a0$b6db87d4@multiplay.co.uk>
References: <DD74FBB8EE28D441903D56487861CD9D227196BC AT lonpexch01 DOT citrite DOT net> <055b01c816a2$912170a0$b6db87d4 AT multiplay DOT co DOT uk>
From: "John Cooper" <John DOT Cooper AT citrix DOT com>
To: "Steven Hartland" <killing AT multiplay DOT co DOT uk>, <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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019