[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Probs with working dir on net shared drive

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-04-20 15:18:49 CEST

Jeff Lasslett wrote:

>> It's also possible that the network delays are making the existing Win
>> filesystem race conditions worse.
>
>
> There are race conditions within the NTFS code that are known about
> publicly?

Yes. Win32 services can install hooks at file creation and access (think
Antivirus software) which will cause the creation and immediate deletion of lots
of small files to be extremely slowed. Additionally, it is impossible under
NTFS to delete an open file (which another process has still open). Under more
sane filesystems, an open file can be deleted by one process and the filesystem
will get around to it when the other process closes its filehandle.

There is specific code in the Subversion source which will retry certain delete
operations for this very reason. For testing purposes, you might try disabling
the AV software (either completely or just exclude certain directories). Be
aware that for some AV software, excluding folders is not enough; the CVSNT
project has documented cases where AV software will still hook the file access
(but just skip the scan) even when excluded. In those instances, stopping the
service that manages on-access or even uninstalling was required for good
performance.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 20 15:20:47 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.