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: Please add 'AVG Internet Security 2011' to the BLODA list (and cygport also :-) ).


Vincent Rivière wrote:
L Anderson wrote:
This may be just a case of pilot error that I can't see because, surely,
others must have encountered this situation before.

I can't say for sure, but recently I had big suspicions about AVG and directories.

I have an MFC testsuite for some software unrelated to Cygwin. It
creates a temporary directory, creates some files in it, then delete it
recursively. This had always worked perfectly on all machines. But
recently, some time after installing AVG, the deletion of the temp dir
failed with a sharing violation. Strangely, trying to delete that
directory 2 times in a row almost fixed the problem.


In all my testing, I have never encountered any thing like a share violation. However, to reconfirm AVG greatly extends the time required to recursively traverse a directory tree, look at the following results of my test. I create then delete a chain of 150 sub-directories recursively. The times given are for 10 consecutive operations. The first set is with AVG enabled, the second with it disabled. As you can see, the enabled times are nonlinear, while the disabled ones are, for the most part, linear (153 seconds vs 22 seconds!). I only show 150 levels because any thing much larger is unbearable.



Regards,


LA


-----Test with AVG enabled------- $ testCygport.sh -d "O:\ScsiU2WAVGEnabled" -t both -m 150 $testFlag: $createFlag: create $deleteFlag: delete $basePath: /cygdrive/o/ScsiU2WAVGEnabled $modVal: 10 $maxDepth: 150

(mkdir/cd) confdir3(0):0 sec.--decending
(mkdir/cd) confdir3(10):1 sec.--decending
(mkdir/cd) confdir3(20):1 sec.--decending
(mkdir/cd) confdir3(30):1 sec.--decending
(mkdir/cd) confdir3(40):2 sec.--decending
(mkdir/cd) confdir3(50):2 sec.--decending
(mkdir/cd) confdir3(60):2 sec.--decending
(mkdir/cd) confdir3(70):3 sec.--decending
(mkdir/cd) confdir3(80):3 sec.--decending
(mkdir/cd) confdir3(90):5 sec.--decending
(mkdir/cd) confdir3(100):6 sec.--decending
(mkdir/cd) confdir3(110):8 sec.--decending
(mkdir/cd) confdir3(120):9 sec.--decending
(mkdir/cd) confdir3(130):12 sec.--decending
(mkdir/cd) confdir3(140):14 sec.--decending
Made or traversed 150 sub-directories in 69 seconds.
***Starting the accent, removing sub-directories***
(cd/rmdir) confdir3(140):31 sec.--accending
(cd/rmdir) confdir3(130):14 sec.--accending
(cd/rmdir) confdir3(120):11 sec.--accending
(cd/rmdir) confdir3(110):9 sec.--accending
(cd/rmdir) confdir3(100):7 sec.--accending
(cd/rmdir) confdir3(90):6 sec.--accending
(cd/rmdir) confdir3(80):5 sec.--accending
(cd/rmdir) confdir3(70):4 sec.--accending
(cd/rmdir) confdir3(60):3 sec.--accending
(cd/rmdir) confdir3(50):2 sec.--accending
(cd/rmdir) confdir3(40):2 sec.--accending
(cd/rmdir) confdir3(30):1 sec.--accending
(cd/rmdir) confdir3(20):2 sec.--accending
(cd/rmdir) confdir3(10):1 sec.--accending
(cd/rmdir) confdir3(0):1 sec.--accending
Back at depth level 0; deleted 150 sub-directories.
Decent 69 seconds; accent 84 seconds; total 153 seconds.

-----Test with AVG disabled---------
$ testCygport.sh  -d "O:\ScsiU2WAVGDisabled" -t both -m 150
$testFlag:
$createFlag:  create
$deleteFlag:  delete
$basePath:  /cygdrive/o/ScsiU2WAVGDisabled
$modVal:   10
$maxDepth: 150

(mkdir/cd) confdir3(0):0 sec.--decending
(mkdir/cd) confdir3(10):1 sec.--decending
(mkdir/cd) confdir3(20):0 sec.--decending
(mkdir/cd) confdir3(30):1 sec.--decending
(mkdir/cd) confdir3(40):0 sec.--decending
(mkdir/cd) confdir3(50):1 sec.--decending
(mkdir/cd) confdir3(60):1 sec.--decending
(mkdir/cd) confdir3(70):1 sec.--decending
(mkdir/cd) confdir3(80):0 sec.--decending
(mkdir/cd) confdir3(90):1 sec.--decending
(mkdir/cd) confdir3(100):1 sec.--decending
(mkdir/cd) confdir3(110):1 sec.--decending
(mkdir/cd) confdir3(120):0 sec.--decending
(mkdir/cd) confdir3(130):1 sec.--decending
(mkdir/cd) confdir3(140):0 sec.--decending
Made or traversed 150 sub-directories in 9 seconds.
***Starting the accent, removing sub-directories***
(cd/rmdir) confdir3(140):2 sec.--accending
(cd/rmdir) confdir3(130):1 sec.--accending
(cd/rmdir) confdir3(120):1 sec.--accending
(cd/rmdir) confdir3(110):1 sec.--accending
(cd/rmdir) confdir3(100):0 sec.--accending
(cd/rmdir) confdir3(90):1 sec.--accending
(cd/rmdir) confdir3(80):1 sec.--accending
(cd/rmdir) confdir3(70):1 sec.--accending
(cd/rmdir) confdir3(60):1 sec.--accending
(cd/rmdir) confdir3(50):1 sec.--accending
(cd/rmdir) confdir3(40):1 sec.--accending
(cd/rmdir) confdir3(30):1 sec.--accending
(cd/rmdir) confdir3(20):1 sec.--accending
(cd/rmdir) confdir3(10):0 sec.--accending
(cd/rmdir) confdir3(0):1 sec.--accending
Back at depth level 0; deleted 150 sub-directories.
Decent 9 seconds; accent 13 seconds; total 22 seconds.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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