NAS Large Directory Problem?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
MJ10902
Junior Member
Junior Member
Posts: 3
Joined: 2014-10-15, 15:50 UTC

NAS Large Directory Problem?

Post by *MJ10902 »

Folks, maybe you can give me some guidance. Running TC8.51 and recently installed a new home NAS. Put all my music in a single NAS share with > 9500 directories.

When I go to the share, TC slows to a crawl and stops responding until (I guess) it has the opportunity to read the entire directory. However, it never speeds up on subsequent directory changes even though it though it has read the directories.

Is there a way to speed up NAS access for shares with a huge number of directories?

BTW, Windows Explorer does not exhibit the same behavior and I don't have the same problem with local or USB-attached drives.

Thanks!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You should not put too many items in a single subdirectory, neither files nor folders. According to my tests, Explorer isn't faster, it just updates the list while it's loading.
Author of Total Commander
https://www.ghisler.com
MJ10902
Junior Member
Junior Member
Posts: 3
Joined: 2014-10-15, 15:50 UTC

Post by *MJ10902 »

Thanks for the quick response!

In this case, my NAS requires that all of my music be in the same share for the iTunes server function to work.

Is there a way to configure Total Commander to emulate Explorer's behavior when dealing with huge directory structures?
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

Hi.
In extreme cases, suspend or slow down the application TC.
Folders: http://www.imagebam.com/image/0592ea358941941
Example:
I have 1 file(s) 108137 dir(s)
748 GB / 67 GB Free (for 3 or 4TB drives) and TC can long read catalogs and temporarily not responding

Should help. Setting: Turn off icon.


However, it happens That the directory has already been COMPLETE read, trying to re-read.
Why read again? Turning off the auto-refresh read folders. How?

I also use "special tool"(paid) which has a beautiful interface and do not need to be switched icons to work quickly (faster read MANY dirs than Explorer and Total Commander)
MJ10902
Junior Member
Junior Member
Posts: 3
Joined: 2014-10-15, 15:50 UTC

Post by *MJ10902 »

That's the winner! I turned off Icon overlays and just kept the "associated" icons and it's now flying high again!

Thanks.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

Thank you for your kind feedback. Nice to hear that you the problem is solved now. :D
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Alternatively, you can turn on the overlays, but turn off EXE/LNK icons on the network. This will also turn off overlays on network drives, but keeps them on local drives.
Author of Total Commander
https://www.ghisler.com
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

ghisler(Author) wrote:Alternatively, you can turn on the overlays, but turn off EXE/LNK icons on the network. This will also turn off overlays on network drives, but keeps them on local drives.
Delete files and still not help!
C:\ProgramData\GG\ggdrive\ggdrive-overlay.dll (The file associated with the Polish communicator)
http://www.gadu-gadu.pl/



22-25% CPU and hang(ghost)
How to resolve it this problem:

All the time 25% of the CPU, probably caused refresh and re-reading directories
or the problem somewhere else?

reproduce

Code: Select all

---------------------------
Total Commander
---------------------------
Total space occupied:
681 507 597 771 bytes in 4 526 883 file(s),
in 108 137 directories
(= 665 534 763k, 649 936M, 634G)
TC Screen
Image: http://109.imagebam.com/download/OSnmvIdOUmPXocAhP3bADw/36002/360017588/HGFDF.jpg


Proces Explorer Screen:
http://www.imagebam.com/image/86b95c360018743


unfreezing application? = kill the process TOTALCMD64.EXE = always ...

100% REALLY. Windows Explorer - is stronger and better at operation on many directories.



Windows Explorer
108000 subfolders
-Faster open
-Faster operation
-NOT FROZEN


Screen:
http://www.imagebam.com/image/612f61360021531
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It really sounds like a misbehaving overlay extension. Please use the tool ShellExView to disable all overlay extensions which are not from Microsoft:
http://www.nirsoft.net/utils/shexview.html

If the problem goes away, you can re-enable them one by one until the error is back.
Author of Total Commander
https://www.ghisler.com
ad123
New Member
New Member
Posts: 1
Joined: 2019-01-07, 07:52 UTC

Re:

Post by *ad123 »

ghisler(Author) wrote: 2014-10-16, 13:07 UTC You should not put too many items in a single subdirectory, neither files nor folders. According to my tests, Explorer isn't faster, it just updates the list while it's loading.
Hi Chris,
I wonder if you've had the time to look into building this functionality in Total Commander, i.e. updating the list while it's loading the directory?
That's about the last advantage of Windows Explorer :) if that can be mimicked, it would be truly awesome.
Thanks!
Andrew
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: NAS Large Directory Problem?

Post by *ghisler(Author) »

I'm not really happy with how the Explorer does it - the users could start selecting files while it's updating, and click on the wrong file because it updates just when the user is clicking on it...
Author of Total Commander
https://www.ghisler.com
Post Reply