Re: CIFS is slooow, gvfs is fast

From: Suresh Jayaraman
Date: Mon Oct 25 2010 - 06:14:56 EST


On 10/24/2010 05:00 AM, J.A. MagallÃn wrote:
> On Sat, 23 Oct 2010 00:46:36 +0200, "J.A. Magallïn" <jamagallon@xxxxxxx> wrote:
>
>>
>> If you mean hardware network path (cabling, router), yes.
>> For file paths, CIFS fs is under /net/htpc/media, and gvfs uses a mount
>> point on '~/.gvfs/media on htpc'.
>>
>> And here comes the weird part. To rule out the desktop environment factor,
>> I tried a dd in both paths. On /net, I get 16.6 MB/s, and on
>> ~/.gvfs/xxx, I just get 5.5 MB/s. I really don't understand anything...
>> things get reversed depending if you use a gui or commandline.
>>
>> Weird, really weird...
>>
>
> Well, to sort things out, I did some more tests (this does not mean things
> get any closer to be clear for me at least...).
>
> Can anybody tell me whats going here...??
> It looks just like gui tools behave just in reverse of cli, and that a plain
> smbclient is faster that cifs. I'm really confused...
>

Could you try mounting from commandline with something like
`mount -t cifs //server/share /mnt/point -o user=user1`
(commenting out the fstab entry) and try copying the file?


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