Re: Slow SMB performance over GVFS (quick followup)



On Mon, 2013-10-07 at 21:14 +1100, Will Rouesnel wrote:
Just after writing the email, I stumbled upon this <
https://bugzilla.samba.org/show_bug.cgi?id=7699>

Increasing the CIFS buffer size at modprobe time seems to fix things -
with CIFSMaxBufSize=65536 or larger I get a solid 70-90 mb/s (i.e.
disk limited) with real files. GIO copies from Nemo/Nautilus are still
poorly performant.

At least as far as CIFS performance goes, with dd bs=1M if=bigfile |
dd bs=1M of=/cifsmount I get a good solid 80 mb/s - equivalent to Win
7.

This makes me wonder if there isn't a buffer size somewhere in the
GVFS backend which should be a lot larger?

FYI, we did some block size optimizations in the past:
https://bugzilla.gnome.org/show_bug.cgi?id=588391#c10

Things are not that easy as arbitrarily changing block size.

Also, don't be surprised about slow speeds when going through the FUSE
daemon, it's just a compatibility layer, that translates requests
between two APIs and sometimes emulates things. Still, patches improving
performance are welcome anytime.

-- 
Tomas Bzatek <tbzatek redhat com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]