Bug 985823 - gvfs smb and sftp transfer speed 2-3 times slower than their cli counterparts with single large file
Summary: gvfs smb and sftp transfer speed 2-3 times slower than their cli counterparts...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 19
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 10:27 UTC by Benjamin Kingston
Modified: 2015-02-17 16:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 16:13:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 704970 0 None None None Never

Description Benjamin Kingston 2013-07-18 10:27:01 UTC
Description of problem:
cli performance is between 60-90MBps, depending on protocol used.
gvfs performance will not pass 30MBps, even with extensive kernel and service tuning on file host.

Version-Release number of selected component (if applicable):
1.16.3

How reproducible:
Always

Steps to Reproduce:
1.root@host#pv /mnt/files/largefile |nc 10.0.2.254 3890
  user@client#nc -p 38902 -l|pv > /dev/null
  >record stable transfer rate

2.user@client#mount -t cifs -o user=user //fileserver.domain.com/share /mnt/cifs
  user@client#pv /mnt/cifs/largefile > /dev/null
  >record stable transfer rate

3.user@client#sftp root.com
  get /mnt/files/largefile /dev/null
  >record stable transfer rate

4.Open nautilus or gvfs utility of choice
  connect to server at smb://fileserver.domain.com/share
  user@client# pv /run/user/1000/gvfs/smb-share\:server\=fileserver.domain.com\,share\=share/largefile > /dev/null
  >record stable transfer rate

5.Open nautilus or gvfs utility of choice
  connect to server at sftp://root.com/mnt/files
  user@client# pv /run/user/1000/gvfs/sftp\:host\=file0-san0\,user\=root/mnt/storage/content/seed.random > /dev/null
  >record stable transfer rate
  
Actual results:
nc result: [91.9MiB/s]
mount.cifs result: [72.8MiB/s]
sftp result: 63.9MB/s
gvfs-smb result: [31.2MiB/s]
gvfs-sftp result: [30.8MiB/s]

Expected results:
gvfs-smb and gvfs-sftp performance should be on par with sftp and mount.cifs

Additional info:
If the issue is deeper than gvfs please inform me so that I may report this to the correct project.

I do not expect any results to be the same as nc since there is only tcp overhead in that example, I provided it only as a baseline for the capacity of my network link, as well as to demonstrate the host storage performance is not a limiting factor. I also directed the pv to /dev/null to eliminate any variable of the client's storage. It can be assured that transfers from host disk to client disk are similar.

#INVOLVED SYSTEMS
-Client is a Westmere i5 3.3Ghz with ext4/lvm/intel RAID10, and 8GB of DDR3 RAM, 16GB of swap, 1G ethernet with 9000MTU, and running latest Fedora 19 packages at time of posting
-Host is a kvm guest, 2 vCPUs, 512MB of RAM (balloon can increase), 1024MB swap, iSCSI storage, virtio ethernet witn 9000MTU over macvtap/bridge mode, and running latest RHEL 6.4 compatible packages (with extra repository packages)
-iSCSI host is also a kvm guest, 1 vCPU 256MB of RAM (balloon can increase), 1024MB of swap, aesni_intel module loaded and fips verified, storage is gvfs2/luks/linear md/RAID10 md/USB 3.0 disks which is physically connected to a VT-d exported USB3.0 pci-e card, virtio ethernet witn 9000MTU over macvtap/bridge mode, and running latest RHEL 6.4 compatible packages (with extra repository packages)
-KVM hypervisor is a Westmere Xeon 2.4Ghz which stores VM disk images on lvm/luks/intel RAID 10, aesni_intel is loaded and fips verified, 24GB DDR3 ECC RAM, 20GB swap, 2x 1G ethernet LACP bonded interface with 9000MTU
-Connecting switch is a Cisco 24 port 2960-S 1G with 9000MTU, 2 of which ports are LACP bonded to the hipervisor system, ports are a mix of access and trunked VLANS

This is all personal use, which means two things in this situation: There is no traffic on the network other than minor internet data, which is allowing for 100% of real 1G bandwidth (~730Mbps per nc) for each data test. It also means that I can test anything that may be useful for this bug without concern for uptime.

#BUG COMMENTS
This has been a long reported issue with GVFS I'm sure many people would like to see resolved. There are bug reports going back to EOL or nearing EOL versions of Fedora that have not been thoroughly addressed, either due to lack of sufficient communication from the reporting user to the bugzilla team, or possibly other factors.

I believe very strongly in the GNOME environment and I am very satisfied with the progress it has made over the recent years, however this has been a major short coming for me that I hope is addressed. I am prepared to provide any requested information (however names will be changed to protect the innocent files), on either the client or server.

I am not developer level in debugging these issues technically, yet I am well versed in Linux systems so instructions on how to retrieve proper debug information will be understood. I hope that my offer to lay myself and my lab systems at your disposal is not interpreted to be egotistic, I merely want to offer anything I can to solve a bug that effects my needs.

Comment 1 Fedora End Of Life 2015-01-09 18:59:06 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-02-17 16:13:43 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.