X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org X-Eon-Dm: dm0227 X-Eon-Sig: AQMb1uJNUB+re9bGvAIAAAAB,48d3a39a2bdcbaa1016c64736dbaa87b Message-ID: <4D501FAE.2010802@serv.net> Date: Mon, 07 Feb 2011 08:37:02 -0800 From: L Anderson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Please add 'AVG Internet Security 2011' to the BLODA list (and cygport also :-) ). References: <4D4F77BE DOT 4000305 AT serv DOT net> <4D4FB852 DOT 7090906 AT freesbee DOT fr> In-Reply-To: <4D4FB852.7090906@freesbee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1102070072 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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