Re: CIFS is slooow, gvfs is fast

From: Suresh Jayaraman
Date: Fri Oct 22 2010 - 06:44:56 EST


(Cc linux-cifs@xxxxxxxxxxxxxxx)

On 10/22/2010 05:05 AM, J.A. Magallón wrote:

> 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.

What is the kernel version In which you are seeing the problem? I'm not
seeing this on 2.6.36-rc4. Do you have a wired interface as well? Are
you sure that both are using the same network path?

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

Does the changes reflect in /proc/mounts?


--
Suresh Jayaraman
--
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/