How can I improve performance over SMB/CIFS for an application that has poor write speeds?

Posted by Jeremy on Server Fault See other posts from Server Fault or by Jeremy
Published on 2011-01-07T18:38:15Z Indexed on 2011/01/07 18:55 UTC
Read the original article Hit count: 257

Filed under:
|
|

I have a third party application that reads several large files and generates a third large file. Its performance is quite good when the generated file is stored on "local storage", i.e. either a direct attached or iSCSI-based disk. The source files that are read can be stored remotely on our NAS and accessed via SMB with little effect on performance.

However, if we attempt to write the target file to any kind of SMB/CIFS share (Samba or Windows Server) the performance drops almost ten-fold. This is unacceptably slow in our case.

Writing files to network shares is not otherwise slow. I can copy large files to SMB shares and get great performance - near what I would expect is possible given the disks and network in question.

I have a theory that this application's problem with SMB shares has something to do with a lack of write caching over the share and perhaps lots of network roundtrips. Is this possible and is there anything that can be done about it?

© Server Fault or respective owner

Related posts about Performance

Related posts about SMB