Having network locations in "recent location" result in hang time when clicking on "recent location"

Features wanted...
Post Reply
terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

Similar to viewtopic.php?t=27571
Obviously XYplorer is checking whether the location is there. However I would suggest having a lazy load option.

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

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by admin »

smb shared folders ... do you have an example of such a path? How can I tell that it is a network path?

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

admin wrote: 15 Jun 2024 12:39 smb shared folders ... do you have an example of such a path? How can I tell that it is a network path?
\\DS218j\download
\\Work-PC\Share
\\192.168.1.55\Share

Something like this, you share it via windows GUI, or from the NAS.

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

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by admin »

Cannot explain. Such problems are not reproducible. This menu (and many others) has not been slowed down by an unavailable network location for many years.

Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by Borut »

@terrytw: Does this delay happen always, or perhaps just the first time "recent locations" is being accessed in an XYplorer session (presuming no previous network access took place)? When you once know the answer to this question, then perhaps try to investigate (if not already) the possible effects of changing the two options under Settings / Safety Belts/Network / Network. (There are also a few sentences about them in Help.)
Win 10 Pro 64bit

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

Borut wrote: 17 Jun 2024 07:11 @terrytw: Does this delay happen always, or perhaps just the first time "recent locations" is being accessed in an XYplorer session (presuming no previous network access took place)? When you once know the answer to this question, then perhaps try to investigate (if not already) the possible effects of changing the two options under Settings / Safety Belts/Network / Network. (There are also a few sentences about them in Help.)
I have tried both of these options, but they don't change the problem.

The problem does not only occur the first time "recent locations" is being accessed in an XYplorer session. they happen almost every time unless I click "recent locations" twice within 10 seconds, then the second time it will be quicker. If I wait for like a minute, then it will be slow again.

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

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by admin »

This indeed totally sounds like network.

1) Try this tweak:

Code: Select all

PopupMenusGenericIcons=1
2) Can you pinpoint the very recent location item that is causing the slowdown?

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

admin wrote: 17 Jun 2024 09:15 This indeed totally sounds like network.

1) Try this tweak:

Code: Select all

PopupMenusGenericIcons=1
2) Can you pinpoint the very recent location item that is causing the slowdown?
1) PopupMenusGenericIcons option makes the recent location lightning fast, but the custom recent location provided by jupe in viewtopic.php?t=27567 is still very slow.

2) I cannot pin point to a single item that is causing the problem, it seems to be cumulative, i.e. the more network locations you have in recent location, the slower it gets.

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

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by admin »

terrytw wrote: 17 Jun 2024 20:33 1) PopupMenusGenericIcons option makes the recent location lightning fast, but the custom recent location provided by jupe in viewtopic.php?t=27567 is still very slow.

2) I cannot pin point to a single item that is causing the problem, it seems to be cumulative, i.e. the more network locations you have in recent location, the slower it gets.
1) In the next beta the script will obey PopupMenusGenericIcons.

2) Give a complete and exact example path, otherwise I can't understand what's happening.

3) Do you have Custom File Icons enabled? If yes, disable it to see if it makes a difference.

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

admin wrote: 18 Jun 2024 09:37
terrytw wrote: 17 Jun 2024 20:33 1) PopupMenusGenericIcons option makes the recent location lightning fast, but the custom recent location provided by jupe in viewtopic.php?t=27567 is still very slow.

2) I cannot pin point to a single item that is causing the problem, it seems to be cumulative, i.e. the more network locations you have in recent location, the slower it gets.
1) In the next beta the script will obey PopupMenusGenericIcons.

2) Give a complete and exact example path, otherwise I can't understand what's happening.

3) Do you have Custom File Icons enabled? If yes, disable it to see if it makes a difference.
A few observations (under 26.10.0200):
1) When using PopupMenusGenericIcons=0, with custom file icon enabled, both original recent locations and the recent locations script are slow; when using PopupMenusGenericIcons=1, with custom file icon enabled, original recent locations is fast, recent locations script is slow.

2) example mru browse list:

Code: Select all

Latest=49
Count=49
1=This PC
2=此电脑
3=\\DS3617xs\home\WU File\Document\ITIN\
4=\\DS3617xs\home\WU File\Document\Parents\
5=\\DS3617xs\home\WU File\Document\保险\
6=\\DS3617xs\home\WU File\Document\说明书\
7=\\DS3617xs\home\WU File\Document\
8=\\DS3617xs\home\WU File\Linux\MT1300\
9=\\DS3617xs\home\WU File\Linux\Openwrt x86_64\Ca\
10=\\DS3617xs\home\WU File\Linux\Openwrt x86_64\
11=\\DS3617xs\home\WU File\Linux\PVE\nut\
12=\\DS3617xs\home\WU File\Linux\PVE\
13=\\DS3617xs\home\WU File\Linux\VPS\BuyVM\
14=\\DS3617xs\home\WU File\Linux\VPS\fq\软件包\
15=\\DS3617xs\home\WU File\Linux\VPS\fq\
16=\\DS3617xs\home\WU File\Linux\VPS\
17=\\DS3617xs\home\WU File\Linux\Debian\docker\rclone\
18=\\DS3617xs\home\WU File\Linux\Debian\docker\
19=\\DS3617xs\home\WU File\Linux\Debian\
20=\\DS3617xs\home\WU File\Linux\
21=Downloads\XYplorer-26.10.0200\
22=E:\
23=\\DS3617xs\home\WU File\backup\settings\Browser\floccus\backup\
24=\\DS3617xs\home\WU File\backup\settings\Browser\floccus\
25=\\DS3617xs\docker\caddy\
26=\\DS3617xs\video\在看\[philosophy-raws][Samurai Champloo]\
27=\\DS3617xs\video\在看\[ヱヴァンゲリヲン新劇場版:序_EVANGELION:1.11 YOU ARE (NOT) ALONE][4K+1080p][Movie+SP][BDRip][MKV]\
28=\\DS3617xs\video\在看\Knives.Out.2019.1080p.BluRay.x265\
29=\\DS3617xs\video\在看
30=\\DS3617xs\home\WU File\backup\settings\Browser\catsxp\
31=\\DS3617xs\home\WU File\backup\settings\Browser
32=\\DS3617xs\home\WU File\Backup\Settings\
33=\\DS3617xs\filebrowser
34=网络
35=\\DS3617xs\docker
36=\\DS3617xs\home\WU File
37=\\DS3617xs\home\
38=\\DS3617xs\
39=\\DS3617xs\video\
40=\\DS3617xs\video\看过\电影\Alita.Battle.Angel.2019.INTERNAL.HDR.2160p.WEB.H265-DEFLATE\
41=\\DS3617xs\video\看过\电影\Avengers.Endgame.2019.INTERNAL.HDR.2160p.WEB.H265-DEFLATE\
42=\\DS3617xs\video\看过\
43=\\DS3617xs\video\看过\电影\
44=\\DS3617xs\video\看过\电影\Bridge.of.Spies.2015.1080p.BluRay.x264-SPARKS[rarbg]\
45=软件\XYplorer\
46=软件\XYplorer\Data\
47=软件
48=Downloads
49=Downloads\XYplorer-26.10.0000\


3) When using PopupMenusGenericIcons=0, with custom file icon disabled, both original recent locations and the recent locations script are slow.

4) The slowness is only present when there is at least some moderate disk IO happening on network location, so it seems to me that recent location function is definitely trying to read from the network location for information but since there are disk IO going on, the response is slow.

5) Using GenericIconsForNetworkLocations=1 seems to work.

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

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by admin »

Thanks, I could see some slowness now and I could do something about it. Check out the next beta.

PS: In that jupe script you should now add the new "generic icons" flag (8):

Code: Select all

$f = popupmenu(regexreplace(<get list_recentlocations>, "^(.+?)$", "$1|$1|$1"),,, 2, 32, 8, <crlf>, "|"); if ($f) { tab("new", $f); }

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

admin wrote: 19 Jun 2024 11:42 Thanks, I could see some slowness now and I could do something about it. Check out the next beta.

PS: In that jupe script you should now add the new "generic icons" flag (8):

Code: Select all

$f = popupmenu(regexreplace(<get list_recentlocations>, "^(.+?)$", "$1|$1|$1"),,, 2, 32, 8, <crlf>, "|"); if ($f) { tab("new", $f); }
I just tried the 26.10.0201, with network location busy on disk IO, with PopupMenusGenericIcons=0, custom file icon enabled, GenericIconsForNetworkLocations=0.

The original recent location is still quite slow.

The recent location script, with the added "generic icons" flag, is instantaneous.
1.gif
You do not have the required permissions to view the files attached to this post.

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

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by admin »

Strange, it's fast now here (and all your network locations don't exist over here). Currently have no better ideas.

terrytw
Posts: 121
Joined: 03 Mar 2023 03:37

Re: Having network locations in "recent location" result in hang time when clicking on "recent location"

Post by terrytw »

admin wrote: 19 Jun 2024 20:17 Strange, it's fast now here (and all your network locations don't exist over here). Currently have no better ideas.
I think using generic icon is good enough of a solution for now. Maybe one day you look at something else and fix this one accidentally haha.

Post Reply