Speed increase in file listings

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Speed increase in file listings

Post by RalphM »

admin wrote:

Code: Select all

v4.00.0199 - 30.09.05 13:15
    % File listing gains further 25% speed! It's incredible.
Ever since using TV3, I've got one network drive with really slow access times, which actually keeps me from using it at work like I would like to. (it's a network server running NT4 SP6)
I was hoping your proposed speed up of file listing would solve that problem as well and checked it again with 4.00.0196, but I felt it even got slower.
I have to admit I never really measured the time before, so it might just be a belly feeling that it didn't get faster, but to give you an idea of what's "slow" for me - the initial listing of any directory on that network drive takes up to 40 seconds.

Anybody out there with an idea to solve this? (if possible without replacing the server would be appreciated, he he)

Gonna check it again with 4.00.0199 and keep you posted, but I don't expect much of a change though.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

RalphM wrote:...to give you an idea of what's "slow" for me - the initial listing of any directory on that network drive takes up to 40 seconds.
What a sad and shocking story! Of course there must be a solution. There is no reason at all why Explorer should be any faster than TV3 at this.

- Just to make sure: when you say "listing of any directory" you are talking about waiting for the list to fill up, not about waiting for the tree to show the server or server share nodes?
- Is the list slowly filling up (8... 14... 34... 51... items) or is it empty for a long time (waiting for some response) and then filling up rather fast?
- And what about the speed of non-initial listings?
- How long are the lists?
- Please try with List Style "Show Icons = off". Still as slow?

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Speed increase in file listings

Post by RalphM »

admin wrote:- Just to make sure: when you say "listing of any directory" you are talking about waiting for the list to fill up, not about waiting for the tree to show the server or server share nodes?
The mapped drive is shown in the tree view as any other one, but no matter how I access it, the delay is the same.
I tried named tabs, favorites and selecting the "+"-sign in the tree view to expand its tree.
admin wrote:- Is the list slowly filling up (8... 14... 34... 51... items) or is it empty for a long time (waiting for some response) and then filling up rather fast?
The latter, waiting without any action (not even the hourglass shown) and then the expanded tree or file list appears suddenly.
admin wrote:- And what about the speed of non-initial listings?
Once accessed within one TV3 session it appears to be as fast as the other mapped drives.
admin wrote:- How long are the lists?
The largest list of files on that drive is a subdir with 3000 - 4000 files in it.
To open that specific dir explorer takes its time as well, but for TV3 the number of list items doesn't seem to matter.
admin wrote:- Please try with List Style "Show Icons = off". Still as slow?
Will try again Monday with 4.00.0199 and the "Show Icons = off".

Thanks so far
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

RalphM wrote:
admin wrote:- Please try with List Style "Show Icons = off". Still as slow?
Will try again Monday with 4.00.0199 and the "Show Icons = off".
At the moment I have 3 hypotheses concerning your issue. 2 of them I could handle... waiting for your result...

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Speed increase in file listings

Post by RalphM »

admin wrote:At the moment I have 3 hypotheses concerning your issue. 2 of them I could handle... waiting for your result...
Apparently the first two solved helped a lot already.

I checked the speed yesterday with 4.00.0199 and today with 4.20.0000 and for the "slow" network drive TV3 gained about 50% speed.

The initial listing of the subdir I mentioned (the one with currently about 2600 files) takes only 25 seconds now, with the list slowly filling now and the hourglass showing. Strange thing is, when I change to the tab pointing to that subdir, TV3 takes about 7 secs until the list focus changes to that dir and starts to fill and the file count in the status bar shows increasing numbers for files.
The same subdir takes Explorer 13 secs to list.

The "Show icons" = "off" didn't change a thing - same response times as with "on"
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

RalphM wrote:
admin wrote:At the moment I have 3 hypotheses concerning your issue. 2 of them I could handle... waiting for your result...
Apparently the first two solved helped a lot already.
Ah yes, at least :D

Thanks for your report. I hope I can do something about that tab change delay in the next BETA...

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Speed increase in file listings

Post by RalphM »

admin wrote:Thanks for your report. I hope I can do something about that tab change delay in the next BETA...
The delay is still very present with 4.20.0012.
I just checked it with the network pretty much available just to myself.

1. Changing to the slow subdir via tree in any tab takes about 18 secs. to display the complete file list, with the list filling slowly from the start.
2. Closing TV3 with an inactive tab pointing to that location, starting TV3 again and selecting that tab still takes about 16 secs. (idle time somehow) until the list starts filling slowly and another 15 secs. to display the complete file list.
3. Doing the same as in 1.) and 2.) with a parent dir of that "slow" one (with only 15 subdirs and 20 files) is lightning fast, 2 secs for 1.) and 3 secs. for 2.)

Really strange, isn't it?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

RalphM wrote:... selecting that tab still takes about 16 secs. (idle time somehow) until the list starts filling slowly and another 15 secs. to display the complete file list.
That a long list is slower than a short list is no wonder, or isn't your fast list much smaller than your slow list?

The 16 secs idle time is the big mystery. I was sure I had handled that, that is presupposing we are talking about an UNC (\\...) path! Or are we talking about a mapped drive?

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Speed increase in file listings

Post by RalphM »

admin wrote:The 16 secs idle time is the big mystery. I was sure I had handled that, that is presupposing we are talking about an UNC (\\...) path! Or are we talking about a mapped drive?
Yep, it is a mapped drive, but all the other ones I used to compare the response times are mapped drives as well - so it's still a mystery to me.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

RalphM wrote:
admin wrote:The 16 secs idle time is the big mystery. I was sure I had handled that, that is presupposing we are talking about an UNC (\\...) path! Or are we talking about a mapped drive?
Yep, it is a mapped drive, but all the other ones I used to compare the response times are mapped drives as well - so it's still a mystery to me.
OK, that at least explains why the 16 secs idle time on tab change are still there: my changes work only for UNC paths.

I'll try something else...

EDIT: any speed difference if you un-check "Auto-refresh on file system changes"?

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Speed increase in file listings

Post by RalphM »

admin wrote:OK, that at least explains why the 16 secs idle time on tab change are still there: my changes work only for UNC paths.

I'll try something else...

EDIT: any speed difference if you un-check "Auto-refresh on file system changes"?
Unchecking that option increased speed a bit:
1.) 12 secs.
2.) the same 16 secs. idle, 15 secs. for the list
3.) 1 sec. and 2 secs. respectively
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

Thanks.

For the moment I'm out of ideas. There's nothing more I can do.

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Speed increase in file listings

Post by RalphM »

admin wrote:OK, that at least explains why the 16 secs idle time on tab change are still there: my changes work only for UNC paths.

I'll try something else...
Unfortunately even in 4.40.0027 I still got that 16sec idle time when switching to the tab pointing to my "slow" server/folder.
As designed or did you expect this to be solved with the new server enumeration as well?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Speed increase in file listings

Post by admin »

RalphM wrote:Unfortunately even in 4.40.0027 I still got that 16sec idle time when switching to the tab pointing to my "slow" server/folder.
As designed or did you expect this to be solved with the new server enumeration as well?
The new enumeration code does speed up only 2 things:
- listing servers under nethood
- listing shares under each server

Below that level (listing share contents) I use normal file APIs and will continue to do so, until I find something better. But I did not see anything better for the last 10 years; I did not even hear of an alternative! Hm.

Post Reply