TC 9 slow start
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can really only recommend "process monitor" then.
It's not that hard to use! In the dialog "Process monitor filter" that pops up, choose the following:
"Process name" - "contains"
Then type: totalcmd
and choose "Include" and click "OK".
Now start Total Commander. Once it has fully loaded, go back to "Process monitor" and click on the magnifying glass icon to stop the logging.
Then choose "File" - "Save". Use the standard settings. You may need to choose a different location for the file. It gives you a pml file. Please pack this with Total Commander (Alt+F5) and send it to me by e-mail (support at ghisler dot com).
It's not that hard to use! In the dialog "Process monitor filter" that pops up, choose the following:
"Process name" - "contains"
Then type: totalcmd
and choose "Include" and click "OK".
Now start Total Commander. Once it has fully loaded, go back to "Process monitor" and click on the magnifying glass icon to stop the logging.
Then choose "File" - "Save". Use the standard settings. You may need to choose a different location for the file. It gives you a pml file. Please pack this with Total Commander (Alt+F5) and send it to me by e-mail (support at ghisler dot com).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Christian, I've sent you an e-mail (in two parts) to the support ghisler punkt com titled
"The solution to the slow reading of the directories with a lot of files"
You can change a few lines on the critical points in your code and enumerate the files much faster (in milliseconds instead of seconds!) at least on every Windows 7 and later.
Both the directory listings and file searches could be immensely faster.
Edit: I've done more tests, it's not always observably faster, but only in the directories for which the OS stays "confused" by default like for c:\Windows\servicing\Packages However for that given directory the difference is 15 seconds on my machine by default vs 25 milliseconds with the speedup. Sorry for making too general claims initially. Tip: the difference can be observed with cmd.exe, "dir" is much faster, "dir /x" is as slow as the current Total Commander, when performed in c:\Windows\servicing\Packages.
"The solution to the slow reading of the directories with a lot of files"
You can change a few lines on the critical points in your code and enumerate the files much faster (in milliseconds instead of seconds!) at least on every Windows 7 and later.
Both the directory listings and file searches could be immensely faster.
Edit: I've done more tests, it's not always observably faster, but only in the directories for which the OS stays "confused" by default like for c:\Windows\servicing\Packages However for that given directory the difference is 15 seconds on my machine by default vs 25 milliseconds with the speedup. Sorry for making too general claims initially. Tip: the difference can be observed with cmd.exe, "dir" is much faster, "dir /x" is as slow as the current Total Commander, when performed in c:\Windows\servicing\Packages.
(user licence #64081)
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, this directory opens in less than a second here, although it has 10553 files.
Maybe your folder is fragmented a lot?
Maybe your folder is fragmented a lot?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 122
- Joined: 2011-10-10, 23:25 UTC
In my case slow startup is caused by a mapped network drive which is a bit slow.
TC 9.0a tries to read desktop.ini and autorun.inf from mapped drive causing startup delay.
TC 8.52a is not affected.
I have tried
DirTabIcons=0
IconsInDriveList=1
TC 9.0a still reads desktop.ini and autorun.inf.
Christian can this be fixed?
TC 9.0a tries to read desktop.ini and autorun.inf from mapped drive causing startup delay.
TC 8.52a is not affected.
I have tried
DirTabIcons=0
IconsInDriveList=1
TC 9.0a still reads desktop.ini and autorun.inf.
Christian can this be fixed?
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Try to disable the option "Show drive icons from Explorer" in Configuration - Options - Icons.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 122
- Joined: 2011-10-10, 23:25 UTC
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That doesn't make any sense to me.
1. Do you see the older drive icons?
2. Do you use drive button bar, drive dropdown combobox, or both?
1. Do you see the older drive icons?
2. Do you use drive button bar, drive dropdown combobox, or both?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 122
- Joined: 2011-10-10, 23:25 UTC
-
- Member
- Posts: 122
- Joined: 2011-10-10, 23:25 UTC
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I haven't found our yet why desktop.ini would be read - maybe icon on tabs? You can try to disable them too via Configuration - Options - Folder tabs.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 122
- Joined: 2011-10-10, 23:25 UTC
2AndrewCreator
Try:
IconsSpecialFolders=2
or
IconsSpecialFolders=0
Try:
IconsSpecialFolders=2
or
IconsSpecialFolders=0
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Member
- Posts: 122
- Joined: 2011-10-10, 23:25 UTC
2petermad
TC still tries to read file:
Could you try to reproduce?
Then block share on server with firewall and launch TC.
TC still tries to read file:
Code: Select all
22:22:52,3017454 svchost.exe 1144 FileSystemControl \\;X:000000000020910a\server\Share SUCCESS
22:22:52,3018062 svchost.exe 1144 FileSystemControl \\;X:000000000020910a\server\Share SUCCESS
22:23:13,3017916 totalcmd64.exe 10044 CreateFile \\;LanmanRedirector\;X:000000000020910a\server\Share\Desktop.ini BAD NETWORK PATH
22:23:13,3038656 totalcmd64.exe 10044 CreateFile \\;LanmanRedirector\;X:000000000020910a\server\Share\Desktop.ini BAD NETWORK PATH
22:23:13,3067207 totalcmd64.exe 10044 CreateFile \\;LanmanRedirector\;X:000000000020910a\server\Share\AutoRun.inf BAD NETWORK PATH
Code: Select all
>net use X: \\server\Share
The command completed successfully.
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
How do I do this?Then block share on server with firewall and launch TC.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com