[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
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

[SOLVED] gvfs: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 3:41 pm

Just upgraded Elektra to 3.11-2.towo-siduction-686-pae. Besides binutils, the kernel is the only thing that got upgraded.

I'm trying to copy a 769MB mp4 file on a FAT32 USB stick (USB 2.0). It's taking more than 1 hour.
USB stick works fine, also Elektra was doing fine with every USB sticks I plugged in. So, I suppose it is kernel related.

Can anyone else confirm?
Last edited by GekkoP on Sat Sep 28, 2013 7:57 pm, edited 1 time in total.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by dkeg » Sat Sep 28, 2013 3:51 pm

there are probably others here that can speak better to this, however, I would not think this is kernel related. Had you done the same prior with the previous version kernel?

Why not boot into a different kernel and copy your file to verify? Maybe the problem lies elsewhere.

Work hard; Complain less

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 3:57 pm

Yes, as I said above, Elektra was copying files to any of my USB sticks with no issues at all. I even copied to an external hd 120GB of videos with no problem.

This on linux noob pointed me to blame the kernel.

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 4:16 pm

Tell you what. I'll do tests with other kernels. Meanwhile, please remove this topic. I'll come back with reports if I'll find that USB works with different kernels.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by pidsley » Sat Sep 28, 2013 5:42 pm

I just dist-upgraded my Coal32 from 3.11.1.towo to 3.11.2.towo, and I can't reproduce this problem. I used coreutils to copy a 771M file to a vfat USB, and both copies took 1m8s.

Did you dist-upgrade, or just upgrade the kernel? What are you using to copy the file?

(moved topic to BBQ support for now)

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 6:46 pm

I did dist-upgrade. I used the command line, a "sudo cp". I'll try with Coal too.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by pidsley » Sat Sep 28, 2013 6:50 pm

That's exactly what I did. I don't have an elektra install to test with.

I'm assuming you formatted the stick as vfat so you can transfer files to a windows box? I just tried the same thing with a stick formatted as NTFS -- the format was slower, but the copy was slightly faster (1m3s).

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 6:53 pm

Yes, you are right. It's vfat because of windows. Since you haven't got this issue with this kernel I suppose I'm missing something else on Elektra. By the way, coreutils is up to date too.

(wrong topic title too, I'm sorry about that)

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by pidsley » Sat Sep 28, 2013 6:56 pm

Did you try Coal? What if you use NTFS on Elektra?

np about the forum and title -- the main reason I care is that some people get automatic updates when posts appear in "upgrade warnings"

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 6:57 pm

Coal is working fine. Copy both to and from the same USB stick. I'll try with NTFS on Elektra.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by pidsley » Sat Sep 28, 2013 7:03 pm

OK then not a kernel issue (unless it's kernel interacting with some other package). Next step is to try to figure out what's different between Coal and Elektra. gvfs? any other file-related packages? Are the sources.list.d files the same between both?

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 7:04 pm

I just did a copy to NTFS, mounted with ntfs-3g. It went fast and everything's fine. So the problem is only fat, then. Now I have to go, I'll check gvfs and source.list.d later and let you know.

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

Re: Kernel towo-siduction 3.11-2: USB transfer slow

Unread post by GekkoP » Sat Sep 28, 2013 7:57 pm

Once again, you're my saviour.
I purged everything gvfs related, and installed only the same packages Coal has. Now it is working at the speed I remember. Shame I can't remember what I did wrong, though. I'm pretty sure dist-upgrade has nothing to do with it, cause only kernel and binutils were upgraded.
I'll fix the topic title, since it is not kernel related. Thanks for the patience and the support, as always.
Last edited by GekkoP on Sat Sep 28, 2013 8:56 pm, edited 1 time in total.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: [SOLVED] gvfs: USB transfer slow

Unread post by pidsley » Sat Sep 28, 2013 8:49 pm

You're welcome. I have never been able to figure out what gvfs does well -- it just seems to cause problems. I think it's supposed to automount drives and manage the trash. I'm still not sure that was the problem, but happy you got it solved.
wikipedia wrote:GVFS is the virtual filesystem for the GNOME desktop, which allows users easy access to remote data via SFTP, FTP, WebDAV, SMB, and local data via Udev integration, OBEX, MTP and others.[1]
archwiki wrote:GVFS is the virtual filesystem for the GNOME desktop, which allows mounting local and remote filesystems as a user along with trash support. It is also used by file managers like Thunar.
Doesn't sound like something I need; no thank you.

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 » Sat Sep 28, 2013 8:57 pm

Well, it's not automounting on my system, that's for sure :D.
I'll try removing it and see if it makes any difference.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: [SOLVED] gvfs: USB transfer slow

Unread post by pidsley » Sat Sep 28, 2013 8:59 pm

gvfs is installed on coal, but not "gvfs-backends" -- I remember that was the one that was causing problems with Thunar before (Thunar took forever to load the first time if that package was installed). I don't know if elektra has gvfs-backends; I'm checking.

Interesting; elektra does not have gvfs or gvfs-backends installed at all. If you had them, they probably got pulled in when you installed something else.

coal has gvfs, but not gvfs-backends. This might not have been the problem at all, or maybe it was. Who knows.

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 5:30 am

^ Hey Pidsley :)
gvfs-backends pulls in libgtk-3-0, IIRC, so i left the backends out from Coal and didn't add gvfs at all to the 'terminal-only' kinds of releases, because naturally people would manually mount in releases that have no GUI file manager.
Best would be to completely leave out gvfs, though you know, if I don't add it in those releases that have a GUI file manager, people complain they cannot access their SAMBA or remote machines, or automount USB, or whatever. I could post some links to existing threads, but - to save your an my stomach acid for something better - I won't, and you know why ;-)
Admittedly, the whole gvfs/dbus/policykit/udisks/logind-construct is a fucking mess. I would completely abandon all of these, and leave it to the user to fuck their brains up themselves.
..gnutella..

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: [SOLVED] gvfs: USB transfer slow

Unread post by DebianJoe » Sun Sep 29, 2013 6:32 am

machinebacon wrote:...because naturally people would manually mount in releases that have no GUI file manager.
Naturally....right?
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

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 7:00 am

^ Dog created humans to manually mount drives.
..gnutella..

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 » Sun Sep 29, 2013 9:34 am

Well, I'll try removing all this gvfs stuff, cause I'm used to mount drives by myself. Thanks to you all I've been using CLI more and more these days and I love it. So, if gvfs is just needed for GUI, might as well throw it away.

Post Reply