This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stat(2) triggers on-demand virus scan


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]