Copy of details provided to the gnome-bugs BTS:
I believe the detail below will clearly show that gvfs is not maxing out
the CPU. Note that a simultaneous transfer of two 1 gig files to the
same destination takes roughly the same time as transferring a single
file. Which is roughly the same amount of time it takes to transfer
both files sequentially using sftp.
$ apt-cache policy openssh-client
openssh-client:
Installed: 1:5.1p1-6ubuntu2
Candidate: 1:5.1p1-6ubuntu2
Version table:
*** 1:5.1p1-6ubuntu2 0
500 http://us.archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status
$ apt-cache policy gvfs-bin
gvfs-bin:
Installed: 1.4.1-0ubuntu1
Candidate: 1.4.1-0ubuntu1
Version table:
*** 1.4.1-0ubuntu1 0
500 http://us.archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status
$ dd if=/dev/urandom bs=1M count=1000 of=test1.img
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 149.168 s, 7.0 MB/s
$ dd if=/dev/urandom bs=1M count=1000 of=test2.img
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 149.596 s, 7.0 MB/s
$ time sftp -b batch 192.168.10.21:
Changing to: /home/jcollins/
sftp> put test1.img
Uploading test1.img to /home/jcollins/test1.img
real 1m31.333s
user 1m9.490s
sys 0m5.320s
$ time gvfs-copy test1.img .gvfs/sftp\ on\ 192.168.10.21/home/jcollins/
real 3m2.778s
user 0m0.120s
sys 0m1.530s
$ time gvfs-copy test1.img .gvfs/sftp\ on\ 192.168.10.21/home/jcollins/ & time
gvfs-copy test2.img .gvfs/sftp\ on\ 192.168.10.21/home/jcollins/
[1] 9095
real 3m18.182s
user 0m0.150s
sys 0m1.160s
[1]+ Done time gvfs-copy test1.img .gvfs/sftp\ on\
192.168.10.21/home/jcollins/
real 3m18.187s
user 0m0.250s
sys 0m2.410s
$ time sftp -b batch-combined 192.168.10.21:
Changing to: /home/jcollins/
sftp> put test1.img
Uploading test1.img to /home/jcollins/test1.img
sftp> put test2.img
Uploading test2.img to /home/jcollins/test2.img
real 2m59.424s
user 2m17.820s
sys 0m10.260s
--
gvfs performs slowly on bulk sftp transfers
https://bugs.launchpad.net/bugs/250517
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs