From: "J.A. =?ISO-8859-1?B?TWFnYWxs824=?=" Subject: Re: CIFS is slooow, gvfs is fast Date: Sat, 30 Oct 2010 00:33:57 +0200 Message-ID: <20101030003357.029b4e02@werewolf.home> References: <20101022013544.0fdab0e0@werewolf.home> <4CC16B1E.4060709@suse.de> <20101023004636.1acdd81c@werewolf.home> <20101024013038.057442c0@werewolf.home> <4CC55894.5040509@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: Linux Kernel , Linux CIFS Return-path: In-Reply-To: <4CC55894.5040509-l3A5Bk7waGM@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Mon, 25 Oct 2010 15:44:44 +0530, Suresh Jayaraman wrote: > On 10/24/2010 05:00 AM, J.A. Magall=C3=B3n wrote: > > On Sat, 23 Oct 2010 00:46:36 +0200, "J.A. Magall=EF=BF=BDn" wrote: > >=20 > >> > >> 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 anythi= ng... > >> things get reversed depending if you use a gui or commandline. > >>update > >> Weird, really weird... > >> > >=20 > > 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...). > >=20 > > Can anybody tell me whats going here...?? > > It looks just like gui tools behave just in reverse of cli, and tha= t a plain > > smbclient is faster that cifs. I'm really confused... > >=20 >=20 > Could you try mounting from commandline with something like > `mount -t cifs //server/share /mnt/point -o user=3Duser1` > (commenting out the fstab entry) and try copying the file? >=20 >=20 Same results, cli copy takes about 7.5 seconds (thats around 40MB/s), a= nd gui copy says it runs at 7.8 MB/s. This could be the normal behaviour I could expect, gui is slower as it = has to update progress bars, move flying sheets, or even does a sync from time= to time. The misbehaviour I see is the other way aroung, FUSE/GVFS is fast from = GUI and slow from CLI. And, the best, why are there any difference ??? --=20 J.A. Magallon \ Software is lik= e sex: \ It's better when it'= s free