Menu

#7 Very SLOW reads

v1.0 (example)
open
nobody
None
5
2018-02-01
2018-01-29
Mikhail T.
No

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.

Discussion

  • Mikhail T.

    Mikhail T. - 2018-01-31

    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.

     
  • Mikhail T.

    Mikhail T. - 2018-01-31

    By adding direct_io flag to the list of options of mount_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...

     
  • Mikhail Kshevetskiy

    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

     
  • Mikhail T.

    Mikhail T. - 2018-02-01

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.