files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
33.77k stars 2.16k forks source link

Bug: SMB servers load 10x slower than in Windows' File Explorer #12704

Open life036 opened 1 year ago

life036 commented 1 year ago

Description

Just like the title says. In addition, I have a folder on my local HD that just has shortcuts to about a dozen SMB servers (standard shortcuts to locations like \ServerName), and it takes 30-40 seconds for that folder to load, vs instantly in Windows' File Explorer.

Something strange is going on with the way Files interacts with SMB servers.

Steps To Reproduce

  1. Connect to any SMB server on your LAN (\ServerName) and compare how quickly it loads to the native file explorer.

  2. Create a local folder on your HD with shortcuts to a handful of SMB servers on your network, and compare how quickly it loads to the native file explorer

Requirements

SMB locations, and folders full of shortcuts to SMB locations, should load just as fast (or nearly as fast) as the native File Explorer.

Files Version

2.5.1.0

Windows Version

10.0.22621.1848

Log File

debug.log

Josh65-2201 commented 1 year ago

Thanks for the report. Can you give the following information.

life036 commented 1 year ago

Thanks for the report. Can you give the following information.

  • Is the issue with loading the contents of a network drive or the folder containing the links to the network drives

Both situations have similar issues

  • How many items does the folder contain

My particular folder has 12 items, but the issue happens no matter how many shortcuts you have in there. The problem is just more pronounced when you have more items in the folder. It also seems to stutter longer on shortcuts whose endpoints aren't available; like Files checking the validity of the shortcut before loading it.

Josh65-2201 commented 1 year ago

Thanks for the information, I've added this to the project board.