fuse: how to enlarge the max pages per request
Hi Miklos,
From my test, a fuse write req can only contain 128KB which seems limited by FUSE_DEFAULT_MAX_PAGES_PER_REQ in kernel. I wonder if I could enlarge this macro to get more bandwidth, or some other adaption should be done?
Up to now, many userspace filesystem is designed for big data which needs big bandwidth, such as 2MB or more. So could we add a feature to let the user config the max pages per request? Looking forward for your reply.
Thanks,
Jun
ping?
Quoted 15 lines · piaojun
Hi Miklos,
Quoted 1 line
From my test, a fuse write req can only contain 128KB which seems
limited by
FUSE_DEFAULT_MAX_PAGES_PER_REQin kernel. I wonder if I could enlarge this macro to get more bandwidth, or some other adaption should be done?Up to now, many userspace filesystem is designed for big data which needs big bandwidth, such as 2MB or more. So could we add a feature to let the user config the max pages per request? Looking forward for your reply.
Thanks,
Jun
Quoted 11 lines · piaojun
Hi Miklos,
From my test, a fuse write req can only contain 128KB which seems limited by
FUSE_DEFAULT_MAX_PAGES_PER_REQin kernel. I wonder if I could enlarge this macro to get more bandwidth, or some other adaption should be done?Up to now, many userspace filesystem is designed for big data which needs big bandwidth, such as 2MB or more. So could we add a feature to let the user config the max pages per request? Looking forward for your
Currently maximum 1MB per write request is possible by setting FUSE_MAX_PAGES flag and max_pages=256 in INIT reply.
Thanks,
Miklos
Quoted 9 lines · Miklos Szeredi
Quoted 8 lines · piaojun
Hi Miklos,
From my test, a fuse write req can only contain 128KB which seems limited by
FUSE_DEFAULT_MAX_PAGES_PER_REQin kernel. I wonder if I could enlarge this macro to get more bandwidth, or some other adaption should be done?
Quoted 6 lines
Quoted 3 lines
Up to now, many userspace filesystem is designed for big data which needs big bandwidth, such as 2MB or more. So could we add a feature to let the user config the max pages per request? Looking forward for your
Currently maximum 1MB per write request is possible by setting
FUSE_MAX_PAGESflag and max_pages=256 in INIT reply.
Thanks for your reply. I got the point.
Jun