This is the mail archive of the
mailing list for the Cygwin project.
RE: "ls" much slower on Vista
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:
From: Steven Hartland [mailto:firstname.lastname@example.org]
Sent: 25 October 2007 02:01
To: John Cooper; email@example.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 firstname.lastname@example.org.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html