[Interest] Very slow write to a samba file

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Thu Mar 26 15:11:14 CET 2015


Dear all,

My app is writing a file to a SMB share under windows 7.

It takes about 30s to write a 4MB file, whereas copying a 180MB file with
explorer takes 2s, so there is clearly a performance issue.

When the 4MB file is written to a local folder, it's done almost instantly
(~100ms).

What could be the problem? As initially the file was written by very small
chunks (line by line, this is a log file), I added a buffer so that it is
written by 256kB chunks, but this does not change anything.

Any idea?

Qt 5.4.1, mingw-builds w64 4.9.1

Thanks!

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150326/5d60c2b4/attachment.html>


More information about the Interest mailing list