mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #813] FUSE request size #470
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kunallillaney on GitHub (Aug 30, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/813
Is there a way to change the FUSE request size for S3FS? As of now, it seems that s3fs-fuse only supports 4KB request sizes in FUSE. But, libfuse does allows large I/O sized requests, up to 128KB (Reference).
Is there a plan on the roadmap to expose this as a user-defined parameter?
@kahing commented on GitHub (Sep 11, 2018):
Do have you logs that show this? For example, if you do
dd if=/dev/zero of=/mnt/file.out bs=1M count=1, ands3fs -o dbglevel=info, do you see that s3fs is getting a smaller write size than expected?@kunallillaney commented on GitHub (Sep 11, 2018):
Here is the screenshot. I ran slightly different commands then you mentioned to enable the debug mode in FUSE:
s3fs kunalfs /data/testfs -o parallel_count=4 -o multipart_si16 -o use_cache=/data/ramdisk -o debuganddd if=/dev/zero of=file.out bs=1M count=100.AFAIK, there is no parameter or constant in S3FS which allows us to change this.
@kunallillaney commented on GitHub (Sep 11, 2018):
@kahing goofys uses 128KB (even though it seems 1MB is specified?). Here are the logs for goofys

@kahing commented on GitHub (Sep 11, 2018):
github.com/jacobsa/fuse@cd3959611b/connection.go (L164)enabled the equivalent big write for goofys@kunallillaney commented on GitHub (Sep 11, 2018):
@kahing My comments did imply that it was enabled for goofys thus the 128KB. FUSE does not allow you any larger I/O sizes (even though I was making 1MB block size calls).
@kahing commented on GitHub (Sep 11, 2018):
Understood, I am merely pointing out where it's set
@ggtakec commented on GitHub (Sep 17, 2018):
@kunallillaney @kahing I'm sorry for my late reply.
I merged #820 just now.