← Back to team overview

desktop-packages team mailing list archive

[Bug 1236619] Re: gvfs smb / cifs file copy performance is terribly slow


I have experienced this bug on two Ubuntu desktop 12.04.5 x64 systems, copying to a debian 7 / samba 3.6 share.
I haven't tried other OS versions though.

Steps to reproduce:

Open remote share so it gets gvfs-mounted under ~/.gvfs
cd ~
cd .gvfs/path/to/remote/samba/share
cp ~/huge_file .

Speed: roughly 5.5 Mbyte/s

sudo mount /remote/samba/share /mnt
cp ~/huge_file /mnt/

Speed: roughly maxes out wire.

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.

  gvfs smb / cifs file copy performance is terribly slow

Status in “gvfs” package in Ubuntu:

Bug description:
  Copying moderate-size files to a samba share using gvfs is
  ridiculously slow compared to doing the same via mount.cifs.  For

  $ ls -sh testfile
  1.2G testfile
  $ time cp testfile ~/mnt/share-gvfs/
  real	2m37.053s
  user	0m0.056s
  sys	0m5.120s
  $ time cp testfile ~/mnt/share/
  real	0m26.134s
  user	0m0.004s
  sys	0m1.724s

  I'm running Xubuntu 13.04 (raring) amd64, gvfs 1.16.1-0ubuntu1.1.

To manage notifications about this bug go to: