Replies: 1 comment 7 replies
-
You strace'd what? mergerfs or the app? Can you please provide details as requested in the support section of the docs? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was setting up mergerfs for someone on their NAS, the way they have it set up, they have a folder where they save files from a CAD program and over the years they have accumulated over 5000 files in a single folder. This folder is served through samba. Serving the drive directly through samba has no issues.
However, we found that trying to use mergerfs, whenever they try to save a new file from their CAD program, it would take a considerable amount of time, the save file dialog would just sit there for anywhere from 15-30 seconds before saving. Using strace, I found that it was calling newfstatat on every file in the directory and that is adding a ton of time to the save operation.
Is there any options I can enable/disable/change to try and speed this up? I've tried disabling security_capability, xattr=noattr and nosys, and enabling/disabling the various caches.
I'm on mergerfs 2.40.2, ubuntu 22.04 arm64
Beta Was this translation helpful? Give feedback.
All reactions