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

Re: svn_client_proplist slow to get all of one dir

From: Folker Schamel <schamel23_at_spinor.com>
Date: 2004-10-31 12:16:43 CET

I'm not running a AV software on my computer.
But on windows its still very slow:
- You start a commit (two or so files changes)
- you wait for several minutes (wc inspection, locking)
- some few seconds for server-client communication and server-side-work (Linux)
- you wait for half a minute (wc update / unlocking)

I know it's a non-trivial problem, but it would be really cool
if there are possibilities for speed-ups. ;-)

BTW:
I have no idea why, but our pre-commit script (verifying source files
for not having TAB characters and verifying the eol-style property)
got about 100(!) times faster when switching from BDB -> FSFS
-> no other change at all!
Before, we had some large commits where the pre-commit script run for
about one hour or so; now even for gigantic commits the post-commit
script runs less than a minute.
This was a really nice surprise!
Is the wc management is still using the BDB, and we can switch
to FSFS, too? ;-)

Folker

> On Oct 30, 2004, at 15:45, John Peacock wrote:
>
>> Barry Scott wrote:
>>
>>> Running on a 1GHz Windows XP SP1 systems with Norton
>>> anti-virus enabled:
>>> Time for 100 calls 2423ms
>>> Time for 1 call 24ms
>>> Running on a 1GHz Windows XP SP1 systems with Norton
>>> anti-virus disabled:
>>> Time for 100 calls 1392ms
>>> Time for 1 call 13ms
>>> The performance on Linux is fine, but the Windows performance is
>>> terrible.
>>
>>
>> Uninstall Norton and rerun your test. Windows AV programs hook into
>> the filesystem at a very low level and interrupt every call to access
>> files. If you disable the AV software, the system level hook still
>> fires, but the AV software returns immediately. Only by uninstalling
>> the AV software will you get any feel for actual system performance.
>> This is something that CVSNT has had to deal with as well; it is
>> particularly bad when you are creating and deleting lots of temporary
>> files, since each and every call gets the performance hit.
>>
>> The best solution is to uninstall the AV software completely, the
>> second best is to set the software to ignore the portion of the
>> directory tree which contains the WC (or server, since I cannot be
>> sure if you are testing client time or server time).
>
>
> You are of course joking. Run a Windows systems without AV is a accident
> waiting to happen.
>
> Barry
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 31 12:17:02 2004

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

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