Overlay network share configuration -> explorer freeze/slowdown

74 views
Skip to first unread message

Hans-Emil Skogh

unread,
Feb 10, 2011, 4:04:05 AM2/10/11
to d...@tortoisesvn.tigris.org
I have some code located on a network share. Normally I have TortoiseSVN configured not to display overlay icons on network drives, but since this was an exception I added the path to "Icon overlays"->"Include path" in Settings. The network path is mapped as a drive letter (Z:).
This had some unfortunate side effects. When browsing the network drive the explorer got very unresponsive, hanging (stopped responding) for multiple seconds between each action. (Killing the TSVN-cache process always made explorer "unfreeze" right away.)

Checking "Icon Overlays"->"Network drives" in settings solved the slowdown.

Does the network drive overlay checkbox activate some extra fancy network drive handling logic that is inactive when it is unchecked? I would expect the checkbox to work as a generic include or exclude-filter, but manually entering paths (to any type of drives) should work, regardless of the checkbox settings.

Running TortoiseSVN 1.6.99, Build 20842 - 32 Bit -dev, 2011/02/08 20:10:53 under XP.

Hans-Emil

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2703201

To unsubscribe from this discussion, e-mail: [dev-uns...@tortoisesvn.tigris.org].

Daniel Klima

unread,
Feb 10, 2011, 4:13:33 AM2/10/11
to d...@tortoisesvn.tigris.org
> I have some code located on a network share. Normally I have TortoiseSVN configured not to display overlay icons on network drives, but since this was an exception I added the path to "Icon overlays"->"Include path" in Settings. The network path is mapped as a drive letter (Z:).
> This had some unfortunate side effects. When browsing the network drive the explorer got very unresponsive, hanging (stopped responding) for multiple seconds between each action. (Killing the TSVN-cache process always made explorer "unfreeze" right away.)
>
> Checking "Icon Overlays"->"Network drives" in settings solved the slowdown.
>
> Does the network drive overlay checkbox activate some extra fancy network drive handling logic that is inactive when it is unchecked? I would expect the checkbox to work as a generic include or exclude-filter, but manually entering paths (to any type of drives) should work, regardless of the checkbox settings.
>
> Running TortoiseSVN 1.6.99, Build 20842 - 32 Bit -dev, 2011/02/08 20:10:53 under XP.
>
> Hans-Emil

If TSVN is using entire core and WC is bit older (before ~14.1.2011) then it is updating wc.db to new format. If that is the case disable all overlays and make TSVN clean it up. It'll do update as part of process.

It is unfortunate that there is no warning. (With huge WC it can take days to finish or if you have large number of WCs...)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2703204

Hans-Emil Skogh

unread,
Feb 10, 2011, 7:12:15 AM2/10/11
to d...@tortoisesvn.tigris.org
...

>> Checking "Icon Overlays"->"Network drives" in settings solved the slowdown.
...

> If TSVN is using entire core and WC is bit older (before ~14.1.2011) then it is
> updating wc.db to new format. If that is the case disable all overlays and make
> TSVN clean it up. It'll do update as part of process.

The working copy was created a couple of days ago with the most recent nightly build available at that time, so I don't think the problem is related to an older WC-format...

I did notice earlier that the old working copies stopped working. Good to know about cleanup if I need to go back to them later on.

Hans-Emil

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2703241

Stefan Küng

unread,
Feb 10, 2011, 2:46:29 PM2/10/11
to d...@tortoisesvn.tigris.org
On 10.02.2011 13:12, Hans-Emil Skogh wrote:
> ...
>>> Checking "Icon Overlays"->"Network drives" in settings solved the slowdown.
> ...
>> If TSVN is using entire core and WC is bit older (before ~14.1.2011) then it is
>> updating wc.db to new format. If that is the case disable all overlays and make
>> TSVN clean it up. It'll do update as part of process.
>
> The working copy was created a couple of days ago with the most recent nightly build available at that time, so I don't think the problem is related to an older WC-format...
>
> I did notice earlier that the old working copies stopped working. Good to know about cleanup if I need to go back to them later on.

Looking at the code, the drive type is checked last when the cache
determines whether to show an overlay for a path. If the path is in the
'allowed paths' list, then the drive type isn't even checked so it
should be faster. And of course the state of the checkbox shouldn't
matter at all.

Very strange.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2703326

Hans-Emil Skogh

unread,
Feb 11, 2011, 11:05:26 AM2/11/11
to d...@tortoisesvn.tigris.org
>> ...
>>>> Checking "Icon Overlays"->"Network drives" in settings solved the slowdown.
>> ...
> Looking at the code, the drive type is checked last when the cache
> determines whether to show an overlay for a path. If the path is in the
> 'allowed paths' list, then the drive type isn't even checked so it
> should be faster. And of course the state of the checkbox shouldn't
> matter at all.
>
> Very strange.

Indeed. :-/

I tested it twice to verify it, since it was so strange, but now I can't seem to be able to reproduce it with the latest nightly...

Hans-Emil

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2703438

Reply all
Reply to author
Forward
0 new messages