Very SLOW reads
Status: Beta
Brought to you by:
kshevetskiy
I use smbnetfs here a lot, and am suffering from very low reading throughput. Some times I have to read large files and can see, that they are read at only about 400-500 KB/s. For comparison, smbclient
on the same machine can download the same files at about 20MB/s. My Samba is of version 4.7.4 at this time.
I first experienced this problem with 0.6.0, but it is still here with 0.6.1. Please, advise.
FWIW, I tried redefining the
COMM_BUF_SIZE
from 4096 to 16384, and even to 65536 -- but the throughput did not improve at all...Please, help.
By adding
direct_io
flag to the list of options ofmount_fusefs
, I was able to raise the throughput to 5-8 megabytes per second depending on the reader's options.Although a spectacular gain, this is still far below the 20MB/s reported by
smbclient
...SMBNetFS isolate samba communication in separate process, so shared memory used to avoid data coping to/from child process. Try increaseasing shared memory size from 128Kb to some large value. See max_rw_block_size config option
Tried setting
max_rw_block_size
to 4194304 and then to 41943040 -- the performance dropped back down to mere hundreds of KB per second,direct_io
or not.