CIFS is slooow, gvfs is fast

From: J.A. Magallón
Date: Thu Oct 21 2010 - 19:36:03 EST


Hi all...

I have a very strange behaviour with windows networking.
I have an HTPC, which I access from my Linux desktop. It runs Windows 7.
Network is GigaBit, routed by a Linksys WRT320N running latest DD-WRT.
I setup an automount path under /net/htpc with CIFS filesystem.
I can also access the drives in HTPC via gvfs from Gnome DE.

Problem: speed is _VERY_ different.
R/W through the automount point (CIFS fs), is roughly 7-8 MB/s (ridiculous
for gigabit speeds).
R/W through Gnome/gvfs (kind of fuse) goes around 35 - 40 MB/s (400 Mbits/s),
that look much better.

I have tried with different rsize/wsize in mount, but speed is the same
(perhaps I did not get the right values...).

BTW, I'm not alone:

http://ubuntuforums.org/showthread.php?t=1578068
http://ubuntuforums.org/showthread.php?t=1429532
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/471512

but I have not seen any diagnostic anywere.

Any ideas ?

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/