[PATCH][CIFS] smb3: improve parallel reads of large files

Steve French smfrench at gmail.com
Mon May 8 05:54:25 UTC 2023

rasize (ra_pages) should be set higher than read size by default
to allow parallel reads when reading large files in order to
improve performance (otherwise there is much dead time on the
network when doing readahead of large files).  Default rasize
to twice readsize.  See attached patch

This improved performance for me (although there may be cases where
setting it more than 2*read_size still could help).  ceph IIRC sets
ra_pages even higher (to 8MB by default).   Any thoughts?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-improve-parallel-reads-of-large-files.patch
Type: text/x-patch
Size: 1145 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20230508/e6dc1123/0001-smb3-improve-parallel-reads-of-large-files.bin>

More information about the samba-technical mailing list