delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/14/01:11:09

X-Spam-Check-By: sourceware.org
Date: Sat, 14 Jan 2006 01:11:00 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: stat(2) triggers on-demand virus scan
Message-ID: <20060114061100.GA20267@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <43C8927B DOT 9010902 AT earthlink DOT net>
Mime-Version: 1.0
In-Reply-To: <43C8927B.9010902@earthlink.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

On Sat, Jan 14, 2006 at 12:56:11AM -0500, Paul McFerrin wrote:
>I have an "antique" question.
>
>I'm currently running cygwin.dll version: 1.3.6  !  (don't laugh).  I use 
>cygwin daily in my work and I'm happy not to disturb things that are not 
>broken.
>
>The stat(2) system call runs very slowly because it is constantlt 
>triggering the McAfee on-demand virus scanner to scan the file that is 
>being stat'ed.  This may not seem like a big thing but I frequently stat 
>thousands of files at a batch.  I find that the stat runs much faster when 
>I temporarily disable the on-demand virus scanner.
>
>When I examined the code within cygwin1.dll, I really didn't see anything 
>cygwin was doing to trigger this behavior so I assummed it was a MS 
>feature.  I'm using XP Pro with NO SP2.
>
>Has the behavior of the stat changed over the years that might solve this 
>problem?  It *might* prompt me to upgrade if this behavior has been 
>improved.

It is a novel concept, but why not just try it?  Back up your cygwin
directory, install a new version, and see if there is any difference.
If you don't like what you see, then restore the directory.

It's either that or trust some random mailing list voice to say yes or
no and then find out for yourself just how authoritative they really
are.  Given that every installation is different, no one is going to be
able to give you a definitive answer anyway.

cgf

--
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