slow listing of network drives files with regex tc plugin

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

slow listing of network drives files with regex tc plugin

Post by *mastabog »

Very nasty bug. I posted fully about this here:

http://ghisler.ch/board/viewtopic.php?p=252175#252175
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it. Sounds like TC is getting the names individually for each file for some unknown reason.
Author of Total Commander
https://www.ghisler.com
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

But even so it's weird because the same config is not slow on local drives ... it's only slow on network drives. Or do you mean that TC is requesting the name of each individual file *from the network*? If yes then that's nasty :)

Maybe it's worth checking that this behaviour is not occuring anywhere else ... I'm seeing similar slowness with the SFTP and FTP connections but there it may actually be the connection.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Locally names are cached by the NTFS file system, so you wouldn't see a big slowdown when they are requested individually.
Author of Total Commander
https://www.ghisler.com
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

Very true, I forgot about the OS file cache.

I guess the fix is easy by getting the dir entries in memory first and then apply the regex filters. Not the entire list of dir entries, only the part that TC displays in the pane.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Could you try the same with RC5, please? It should be much better if you don't use any other fields for sorting.
Author of Total Commander
https://www.ghisler.com
Post Reply