-
Notifications
You must be signed in to change notification settings - Fork 161
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
Slow LIST performance with mountpoint #945
Comments
Hey, I can confirm that Mountpoint doesn't cache any LIST responses today, so every It would be really helpful to understand access pattern of the |
I would not be comfortable sharing the debug logs as they will contain details about the bucket names/path which may contain sensitive data. But the command is just using the bash
In this case, the content of the root prefix we're recursively listing looks like:
Where there are ~100 prefixes and each prefix contains ~145 objects spread across the subdirs. In this test there were a total of 1900 prefixes traversed |
Thanks for sharing the structure. Seems like the problem will show up only when there is a lot of prefixes to traverse since I didn't face the same issue when trying to reproduce it with a few subdirectories. I will bring it back to the team and find out how we can test this and make directory listing more performant. |
Tell us more about this new feature.
Background
Testing with latest version v1.7.2, I've noticed the performance of LISTs is significantly slower than other methods.
Test Setup
Test setup is recursively listing a prefix hierarchy with ~16,000 objects total
Mountpoint command:
sudo mount-s3 --read-only --allow-other --max-cache-size 50000 --cache /tmp/mtpt_cache --metadata-ttl 300 $BUCKET /tmp/mtpt_test
goofys command:
sudo /usr/local/bin/goofys --type-cache-ttl 60s --stat-cache-ttl 60s --file-mode 0555 --dir-mode 0555 -o ro -o allow_other $BUCKET /tmp/goofys_test
The text was updated successfully, but these errors were encountered: