[SOLVED] gvfs: USB transfer slow

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [SOLVED] gvfs: USB transfer slow

Unread post by wuxmedia » Sun Sep 29, 2013 10:01 am

Just to butt in after all the fun, thunar still seems to mount stuff after a gvfs purge.
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: [SOLVED] gvfs: USB transfer slow

Unread post by machinebacon » Sun Sep 29, 2013 10:13 am

Because it uses udisks2.
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [SOLVED] gvfs: USB transfer slow

Unread post by wuxmedia » Sun Sep 29, 2013 10:54 am

ok for my own reference, after a reboot, no gvfs makes thunar no worky, put the gvfs backends in and thunar can see/mount my tablet.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: [SOLVED] gvfs: USB transfer slow

Unread post by ivanovnegro » Sun Sep 29, 2013 8:41 pm

Solved but I will jump in. The slow tranfer rate is something I am living forever with. I stopped to care on this old laptop.

But gvfs-backends is indeed not needed for Thunar to work properly or even to automount stuff. Gvfs only seems to be needed for non-Grillmeisters. ;)

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: [SOLVED] gvfs: USB transfer slow

Unread post by GekkoP » Wed Oct 02, 2013 11:52 am

After other random tests on Elektra (always via CLI):
- ntfs: mounting with ntfs-3g, fast and smooth;
- fat16: transfer works. Slow, but it has always been like this AFAIR, and I got only one old fat16 USB stick so whatever;
- fat32: weird beast. Sometimes it works (though on Coal is faster, despite PC's older than my laptop), others it just goes slow.

kernel's not the issue, gvfs changes speed transfer only with fat16.
Since I don't need fat32 sticks, I'll just format them all to ntfs. It's the only one giving me no problems at all.

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: [SOLVED] gvfs: USB transfer slow

Unread post by xaos52 » Wed Oct 02, 2013 12:16 pm

^ Could be a driver problem. when it is slow check if kernel module uhci is loaded instead of ehci using the 'lsmod' command.
Connected. Take this REPL, brother, and may it serve you well.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: [SOLVED] gvfs: USB transfer slow

Unread post by GekkoP » Wed Oct 02, 2013 3:29 pm

Here's what I got.

Code: Select all

uhci_hcd               16306  0 
ehci_pci                2664  0 
ehci_hcd               29572  1 ehci_pci
usbcore               113052  6 uhci_hcd,uvcvideo,usb_storage,ehci_hcd,ehci_pci,usbhid

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: [SOLVED] gvfs: USB transfer slow

Unread post by GekkoP » Wed Oct 02, 2013 4:12 pm

Again, other tests, and now I got decent transfer speed mounting fat32 stick with this line

Code: Select all

sudo mount -t vfat /dev/sdb1 /media/usb -o async,uid=1000,gid=1000,utf8,dmask=027,fmask=137

User avatar
xaos52
The Good Doctor
Posts: 190
Joined: Thu Aug 15, 2013 11:59 am
Location: Eernegem, Belgium

Re: [SOLVED] gvfs: USB transfer slow

Unread post by xaos52 » Wed Oct 02, 2013 4:23 pm

Code: Select all

usbcore               113052  6 uhci_hcd,uvcvideo,usb_storage,ehci_hcd,ehci_pci,usbhid
This is the one that matters. uhci_hcd has been loaded before ehci-hcd, and you will get poor performance.
In that case try to unload uhci_hcd.

In some circumstances - perhaps depending on which usb slot you use first, or which usb device, the slower driver will be loaded - and used - first.

Search for 'uhci ehci' for more information.

Ah, the 'async' mount argument plays an important role too. Mounting a usb device 'sync' will make it a lot slower.
Connected. Take this REPL, brother, and may it serve you well.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: [SOLVED] gvfs: USB transfer slow

Unread post by GekkoP » Wed Oct 02, 2013 4:48 pm

Thanks, I'll check those modules then and remember to use async.

Post Reply