Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

federation shares with many directories / files slow down navigation #26214

Closed
ferdiga opened this issue Mar 19, 2021 · 2 comments
Closed

federation shares with many directories / files slow down navigation #26214

ferdiga opened this issue Mar 19, 2021 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@ferdiga
Copy link

ferdiga commented Mar 19, 2021

NC 20.08 and 20.0.4

federation sharing seems only to perform with a very low number of shares and directories.

once sharing
find . -type d |wc -l
1342
find . -type f |wc -l
6241

navigation operations become so slow to become "unusable" - response time 4-5 minutes.

"mounting" a federation share remains in state "Pending" for a long time until it displays the size of the mounted share.

I guess that the calculation of the size of a folder is redone every time the folder is accessed and is not performance optimized.

Example
Trying to move a 1kb file from such a shared folder to a local folder causes a delay of displaying the target directories,

  • the first choice obviously is the the source directory, where the file resides - the size is calculated
  • the second choice is the the parent of the source directory, where the file resides - the size is calculated again
  • the 3 choice is a local directory - this works reasonable fast.
@ferdiga ferdiga added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Mar 19, 2021
@sunjam
Copy link

sunjam commented Mar 20, 2021

This has also been by experience as well when mounting Nextcloud or WebDAV shares to external storage. #8459 could help with this... being able to optionally keep a copy of the federated share on your local server rather than constantly attempting to access it.

@szaimen
Copy link
Contributor

szaimen commented Jun 25, 2021

Duplicate of #4339

@szaimen szaimen marked this as a duplicate of #4339 Jun 25, 2021
@szaimen szaimen closed this as completed Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

3 participants