slow browsing on network drives

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
mussor
Posts: 75
Joined: 05 Sep 2022 11:42

Re: slow browsing on network drives

Post by mussor »

i can feel the tension here as well :)))

Code: Select all

XYplorer 26.30.0405  -  Lifetime License Enterprise  -  Windows 11 Pro, 64-bit, Version 23H2, Build 22631.4112 (10.0)  -  2024-08-30 13:16:20
=============================================================================================================================================

    9.852  -  2024-08-30 13:16:14.080  L-N  slobro-bbM-IN: \\server\share\data_share\***\AutoHotKey\old\
        1  -  2024-08-30 13:16:14.081  L-N  slobro-bbMgFB-IN: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.081  L-N  slobro-bbMgFB2-IN: \\server\share\data_share\***\AutoHotKey\old\
       21  -  2024-08-30 13:16:14.102  L-N  slobro-bbMgFB2-OUT: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.102  L-N  slobro-bbMgFB2-3-Do: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.102  L-N  slobro-bbMgFB2-3-add-IN: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
       20  -  2024-08-30 13:16:14.122  L-N  slobro-bbMgFB2-3-add-OUT: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
        0  -  2024-08-30 13:16:14.122  L-N  slobro-bbMgFB2-3-FNF: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.122  L-N  slobro-bbMgFB2-4-Do: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.122  L-N  slobro-bbMgFB2-4-add-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
       16  -  2024-08-30 13:16:14.138  L-N  slobro-bbMgFB2-4-add-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
        0  -  2024-08-30 13:16:14.138  L-N  slobro-bbMgFB2-4-FNF: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.138  L-N  slobro-bbMgFB2-5-Do: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.138  L-N  slobro-bbMgFB2-5-add-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
       19  -  2024-08-30 13:16:14.157  L-N  slobro-bbMgFB2-5-add-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
        0  -  2024-08-30 13:16:14.157  L-N  slobro-bbMgFB2-5-FNF: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.157  L-N  slobro-bbMgFB2-6-Do: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.157  L-N  slobro-bbMgFB2-6-add-IN: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
       20  -  2024-08-30 13:16:14.177  L-N  slobro-bbMgFB2-6-add-OUT: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
        0  -  2024-08-30 13:16:14.177  L-N  slobro-bbMgFB2-6-FNF: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.177  L-N  slobro-bbMgFB2-7-Do: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.177  L-N  slobro-bbMgFB2-7-add-IN: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
       20  -  2024-08-30 13:16:14.197  L-N  slobro-bbMgFB2-7-add-OUT: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
        0  -  2024-08-30 13:16:14.197  L-N  slobro-bbMgFB2-7-FNF: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.197  L-N  slobro-bbMgFB2-8-Do: \\server\share\data_share\***\AutoHotKey\old\
        0  -  2024-08-30 13:16:14.197  L-N  slobro-bbMgFB2-8-add-IN: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
       24  -  2024-08-30 13:16:14.221  L-N  slobro-bbMgFB2-8-add-OUT: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
        0  -  2024-08-30 13:16:14.221  L-N  slobro-bbMgFB2-8-FNF: \\server\share\data_share\***\AutoHotKey\old\
  --------------------------------------------------------------------------------------------------
    2.778  -  2024-08-30 13:16:16.999  L-N  slobro-bbMgFB-OUT: \\server\share\data_share\***\AutoHotKey\old\
      104  -  2024-08-30 13:16:17.103  L-N  slobro-bbM-OUT: \\server\share\data_share\***\AutoHotKey\old\

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

Re: slow browsing on network drives

Post by admin »

I now have a suspicion. With a bit of luck, v26.30.0406 (viewtopic.php?p=223569#p223569) will prove the culprit.

mussor
Posts: 75
Joined: 05 Sep 2022 11:42

Re: slow browsing on network drives

Post by mussor »

great, here it is

Code: Select all

XYplorer 26.30.0406  -  Lifetime License Enterprise  -  Windows 11 Pro, 64-bit, Version 23H2, Build 22631.4112 (10.0)  -  2024-08-30 15:44:42
=============================================================================================================================================

   12.151  -  2024-08-30 15:44:34.646  L-N  slobro-aFIL-gCFI-IN: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
        0  -  2024-08-30 15:44:34.646  L-N  slobro-aFIL-gCFI-OUT: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
        0  -  2024-08-30 15:44:34.646  L-N  slobro-aFIL-aIF-IN: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
        1  -  2024-08-30 15:44:34.647  L-N  slobro-aFIL-aIF-OUT: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
        0  -  2024-08-30 15:44:34.647  L-N  slobro-aFIL-Compressed-IN: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
       17  -  2024-08-30 15:44:34.665  L-N  slobro-aFIL-Compressed-OUT: \\server\share\data_share\***\AutoHotKey\old\AhkSpy.ahk
        0  -  2024-08-30 15:44:34.665  L-N  slobro-aFIL-gCFI-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
        0  -  2024-08-30 15:44:34.665  L-N  slobro-aFIL-gCFI-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
        0  -  2024-08-30 15:44:34.665  L-N  slobro-aFIL-aIF-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
        0  -  2024-08-30 15:44:34.665  L-N  slobro-aFIL-aIF-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
        0  -  2024-08-30 15:44:34.665  L-N  slobro-aFIL-Compressed-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
       14  -  2024-08-30 15:44:34.679  L-N  slobro-aFIL-Compressed-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_ClickImage_test1.ahk
        0  -  2024-08-30 15:44:34.679  L-N  slobro-aFIL-gCFI-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
        0  -  2024-08-30 15:44:34.679  L-N  slobro-aFIL-gCFI-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
        0  -  2024-08-30 15:44:34.679  L-N  slobro-aFIL-aIF-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
        0  -  2024-08-30 15:44:34.679  L-N  slobro-aFIL-aIF-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
        0  -  2024-08-30 15:44:34.679  L-N  slobro-aFIL-Compressed-IN: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
       17  -  2024-08-30 15:44:34.696  L-N  slobro-aFIL-Compressed-OUT: \\server\share\data_share\***\AutoHotKey\old\AHK_Other_FMOD_PT.ahk
        0  -  2024-08-30 15:44:34.696  L-N  slobro-aFIL-gCFI-IN: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
        0  -  2024-08-30 15:44:34.696  L-N  slobro-aFIL-gCFI-OUT: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
        0  -  2024-08-30 15:44:34.696  L-N  slobro-aFIL-aIF-IN: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
        0  -  2024-08-30 15:44:34.696  L-N  slobro-aFIL-aIF-OUT: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
        0  -  2024-08-30 15:44:34.696  L-N  slobro-aFIL-Compressed-IN: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
       15  -  2024-08-30 15:44:34.711  L-N  slobro-aFIL-Compressed-OUT: \\server\share\data_share\***\AutoHotKey\old\FMODCopyNames_AHK.ahk
        0  -  2024-08-30 15:44:34.711  L-N  slobro-aFIL-gCFI-IN: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
        1  -  2024-08-30 15:44:34.712  L-N  slobro-aFIL-gCFI-OUT: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
        0  -  2024-08-30 15:44:34.712  L-N  slobro-aFIL-aIF-IN: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
        0  -  2024-08-30 15:44:34.712  L-N  slobro-aFIL-aIF-OUT: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
        0  -  2024-08-30 15:44:34.712  L-N  slobro-aFIL-Compressed-IN: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
       18  -  2024-08-30 15:44:34.730  L-N  slobro-aFIL-Compressed-OUT: \\server\share\data_share\***\AutoHotKey\old\GetEnabled.ahk
        0  -  2024-08-30 15:44:34.730  L-N  slobro-aFIL-gCFI-IN: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
        1  -  2024-08-30 15:44:34.731  L-N  slobro-aFIL-gCFI-OUT: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
        0  -  2024-08-30 15:44:34.731  L-N  slobro-aFIL-aIF-IN: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
        0  -  2024-08-30 15:44:34.731  L-N  slobro-aFIL-aIF-OUT: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
        0  -  2024-08-30 15:44:34.731  L-N  slobro-aFIL-Compressed-IN: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk
       14  -  2024-08-30 15:44:34.745  L-N  slobro-aFIL-Compressed-OUT: \\server\share\data_share\***\AutoHotKey\old\MasterScript.ahk

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

Re: slow browsing on network drives

Post by admin »

Ha, that's a bingo! :party:

Looks like your network location is on a compressed volume, and XY is polling the size on disk using the GetCompressedFileSizeW API, which is obviously bloody slow when on a network location.

The next beta should fix the slowness.

mussor
Posts: 75
Joined: 05 Sep 2022 11:42

Re: slow browsing on network drives

Post by mussor »

a ha! looking forward to it, putting some :beer: :beer: to cool down :)

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

Re: slow browsing on network drives

Post by admin »


mussor
Posts: 75
Joined: 05 Sep 2022 11:42

Re: slow browsing on network drives

Post by mussor »

yees! :)
it's fast now! great job and thank you!
:beer: :beer: :beer:

Now, when we have this working great, there is one more problem that is maybe connected to this.
Anytime I copy something to network disc, browsing that same disc within duration of the copy process is very slow.
say for example that I'm copying a file to
\\server\share\a\b\c\d\a.mp4

when I try to list items in folders c,b or a it's much slower during the copy process. It is not like that in Win Explorer. When I copy with WinExplorer and browse the same location (or folders on that location) the speed is almost not affected by the copy process.
But copying a file to network location with XY and browsing it (like going to different folders) it is slow.

May this be a bit similar issue?

edit: this has been not introduced with this fix. It was like that as far as I can remember.

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

Re: slow browsing on network drives

Post by admin »

Try to uncheck this: Configuration | General | Refresh, Icons, History | Auto-Refresh | Refresh during file operations

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: slow browsing on network drives

Post by highend »

Refresh during file operations
Maybe this could be split into a "In network locations as well" sub point?
One of my scripts helped you out? Please donate via Paypal

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

Re: slow browsing on network drives

Post by admin »

It should be controlled by Configuration | General | Refresh, Icons, History | Auto-Refresh | Include network locations, shouldn't it? (I'm not sure ATM whether this is the case, no time to check.)

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

Re: slow browsing on network drives

Post by admin »

Checked it: Yes, unchecking "Include network locations" overrides "Refresh during file operations" (no refresh will happen during file ops).

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

Re: slow browsing on network drives

Post by admin »

I assume the other victims of slow browsing are happy now, too?

daniel_m
Posts: 192
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: slow browsing on network drives

Post by daniel_m »

Could "Respond to file system notifications" be made to ignore network drives? Auto-refresh works well with a network drive, except when "Respond to file system notifications" is enabled.

Maybe it is easier to understand what I mean by illustrating how this would look like in the settings:

1.png
1.png (32.69 KiB) Viewed 2237 times
(recessed to avoid confusion about the seemingly duplicate "Include network locations")

2.png
2.png (32.69 KiB) Viewed 2237 times
(in-line)
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

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

Re: slow browsing on network drives

Post by admin »

daniel_m wrote: 31 Aug 2024 17:49 Could "Respond to file system notifications" be made to ignore network drives? Auto-refresh works well with a network drive, except when "Respond to file system notifications" is enabled.
I am hearing this for the first time. Could you elaborate?

daniel_m
Posts: 192
Joined: 11 Apr 2010 11:47
Location: Windows 10 Pro 22H2, scaling 100%

Re: slow browsing on network drives

Post by daniel_m »

admin wrote: 01 Sep 2024 08:46 I am hearing this for the first time. Could you elaborate?
This is an issue that we discovered 3 years ago: viewtopic.php?t=23474
In v22.20.0222, you made DisableSHChangeNotifyRegister=1 from XYplorer.ini available as setting Configuration | General | Refresh, Icons, History | Auto-Refresh | Listen (Respond) to file system notifications in the UI.

Now the question is if file system notifications can be made to refresh local drives, but not network drives.
XYplorer x64 (often the latest beta), Windows 10 Pro 22H2, 3840x2160 scaling 100%

Post Reply