LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2018, 10:52 AM   #1
AoiHana
LQ Newbie
 
Registered: Feb 2016
Posts: 26

Rep: Reputation: Disabled
transfer from one device to another always is fast for half the transfer, then block and I have to wait a lot (loooot) of time


Yes, and it's like this for years at least. I've always been on debian.
Command line moving/copying do the same stuff. It never bothered me that much, but that I've enough of it.
Do you have the same problem ?
Even for short transfer, like 200 Mo to a kindle. It definetely shouldn't take 50 friggin' minutes ! Especially since it seems really BLOCKED !

Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
 
Old 12-15-2018, 01:08 PM   #2
dc.901
Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 997

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Please forgive my ignorance here, but when you say transfer from one device to another, does this mean from your disk drive to a USB and vice versa?
Or file transfers for NFS or SMB?
 
Old 12-15-2018, 02:25 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,510

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by AoiHana View Post
Yes, and it's like this for years at least. I've always been on debian.
Command line moving/copying do the same stuff. It never bothered me that much, but that I've enough of it.
Do you have the same problem ?
Even for short transfer, like 200 Mo to a kindle. It definetely shouldn't take 50 friggin' minutes ! Especially since it seems really BLOCKED !

Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
What dialect of the English language is this? Urban Jungle perhaps? Even the title is confusing

Anyway, sounds like your post is nothing more than ranting, because if you wanted help, you would include relevant information such as the computer make, model and specs, the distribution version in use, graphics drivers in use etc.

Because it sounds like your computer resources are maxed out.

Last edited by Brains; 12-15-2018 at 02:27 PM.
 
Old 12-15-2018, 05:04 PM   #4
AoiHana
LQ Newbie
 
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
It was junk talk, indeed.
I just discovered that sending a file to a FAT32 seems to be slower than to an ext-whatyouwant.
But since it's a Kindle, to use it it must be a Fat32, so no solution.
I have an idea how the device's filesystem has been corrupted.

But did someone have had a similar problem with fat/fat16/fat32 ? You start transfering a file from your computer to the device, it goes until a moment, where it pauses, then resume 4 to 10 minutes later.
 
Old 12-15-2018, 05:27 PM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Current: Fedora and OpenSUSE. Past: Debian, Arch, RedHat (pre-RHEL). FreeBSD & OpenBSD, macOS (hack)
Posts: 1,222
Blog Entries: 7

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Have you checked system logs for anomalies? Are your USB bus and other devices supported?

It's been the case for a long time where file managers would show a near instant copy, jump to near completion, then show no progress for a while.

However, you mention time frames like 50 minutes, it leads me to believe a driver or device may be at fault.
For example, recently, I ran an upgrade in which the kernel was upgraded, but did not reboot, and forgot about it. I tried to copy some files to a USB device (FAT32) to watch on my TV, and frustratingly it took 30 minutes to copy 55 MEGAbytes. I rebooted, and all kernel modules and kernel versions matched, and things were back to normal.

- Make sure you're running the latest kernel
- Make sure the module versions match the running kernel
- Make sure your chipset is supported and the proper drivers are loaded.
- Make sure you're using the right port. Sometimes trying to use a USB 3 in a USB 2 (or the opposite) port can cause funny issues.
- Make sure the device you're copying is properly formatted. Don't rely on the filesystem from the factory.

Next time it happens, tail the syslog, see if any errors are reported.
 
Old 12-15-2018, 05:28 PM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,510

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Well, you did not mention external HDD or memory sticks, only devices and Kindle.

For what it's worth, if I hook my Galaxy smart phone via USB to transfer files to the SD card, the process is retardedly slow. If I remove the SD card and plug it into a card reader it is acceptable.

It is related to the interface between the computer and the storage medium, the interface(s) through a device apparently have a lot more hoops to go through.
 
Old 12-15-2018, 06:40 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,671

Rep: Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935Reputation: 3935
When you give actual, useful information, we have more chance of helping.
Quote:
Originally Posted by AoiHana View Post
I just discovered that sending a file to a FAT32 seems to be slower than to an ext-whatyouwant.
So it's more likely a FAT issues than USB itself.
Quote:
But since it's a Kindle, to use it it must be a Fat32, so no solution.
I have an idea how the device's filesystem has been corrupted.
When you plug it in, it will warn you if it's corrupt. I use FAT for the boot partition on my Raspberry pi3s, and they almost always report as corrupt on reboot even though it doesn't get updated in normal running.
Quote:
But did someone have had a similar problem with fat/fat16/fat32 ? You start transfering a file from your computer to the device, it goes until a moment, where it pauses, then resume 4 to 10 minutes later.
Have a read of this.
 
Old 12-15-2018, 06:41 PM   #8
AoiHana
LQ Newbie
 
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
It happens exactly as you described, goumba, except it's not a thing of the past. Usually, the time frame is 5 minutes at max. But on the Kindle (no other way to transfer books except through a USB cable, no card to plug in a card reader). The 50 min might have been slightly over-exagerated...
Honnestly, I don't get it. After reinistializing the Kindle (it recreates itself a filesystem and hierarchy), no problem anymore.
Once it is corrupted ( a file transfer interrupted forcefully), it seems fsck alone can't correct it properly.
I'll try with other fat32 usb sticks if the problem still occur.

Thanks for the explanation.
 
Old 12-15-2018, 06:54 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), Slack15, win10 that is just there beacuse I have a copy of it
Posts: 10,092

Rep: Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159
well I've been moving over 200GB across usb3 to usb2 bottle necking ... and its been going on for a really really long time, hours even, and it is still moving files as I write this.

hdd spin speeds, read write,type of HDD, or sdd (now days) ssd to hdd, or hdd to sdd, slower to a faster ssd is not going to pick up the speed either, then their is bottle necking across your MO between USB Ports. cable quality, connection quality, many things go in to actual transferrer speeds and yes the distro too can play into it in how they have whatever transpires via them as well.

no one is stopping you from trying a different distro, and their is plenty out there to try. Instead of complaining about it.

if you got it plugged into a Kindle then Kindle too plays a big part in transfer speeds .what CPU speed is that running at? it has to process all of that it has to do with its system plus the transferring of files.

Last edited by BW-userx; 12-15-2018 at 07:06 PM.
 
Old 12-15-2018, 07:01 PM   #10
AoiHana
LQ Newbie
 
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
That's the kind of thing I have on a regular basis (usb stick, dunno usb2 or3, dunno how I could know either, other than looking at the motherboard):
Quote:
[25108.639432] sd 9:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[25108.862047] sde: sde1
[26141.980445] fat__get_entry: 6 callbacks suppressed
[26141.980446] FAT-fs (sdd1): Directory bread(block 12288) failed
[26141.980451] FAT-fs (sdd1): Directory bread(block 12289) failed
[26141.980454] FAT-fs (sdd1): Directory bread(block 12290) failed
[26141.980456] FAT-fs (sdd1): Directory bread(block 12291) failed
[26141.980458] FAT-fs (sdd1): Directory bread(block 12292) failed
[26141.980461] FAT-fs (sdd1): Directory bread(block 12293) failed
[26141.980463] FAT-fs (sdd1): Directory bread(block 12294) failed
[26141.980465] FAT-fs (sdd1): Directory bread(block 12295) failed
[26141.980467] FAT-fs (sdd1): Directory bread(block 12296) failed
[26141.980470] FAT-fs (sdd1): Directory bread(block 12297) failed
[26182.909987] sde: detected capacity change from 1432354816 to 0
 
Old 12-15-2018, 07:07 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), Slack15, win10 that is just there beacuse I have a copy of it
Posts: 10,092

Rep: Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159Reputation: 2159
that is what you do, lsusb for linux,
Code:
$ lsusb
Bus 004 Device 005: ID 03f0:231d HP, Inc Broadcom 2070 Bluetooth Combo
Bus 004 Device 004: ID 0461:4dce Primax Electronics, Ltd
Bus 004 Device 007: ID 1f75:0621 Innostor Technology Corporation
Bus 004 Device 006: ID 1058:25fa Western Digital Technologies, Inc.
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 005: ID 4971:8013 SimpleTech
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
the blue connector on a lap top to indicate 3.0 usb. black is 2.0 or lesser.
 
Old 12-16-2018, 03:43 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037
Quote:
Originally Posted by AoiHana View Post
Command line moving/copying do the same stuff.
how can you even know how cp and mv behave internally - there's no progress bar.

Quote:
Even for short transfer, like 200 Mo to a kindle. It definetely shouldn't take 50 friggin' minutes !
that can't be right.
otoh, i never had a kindle.
maybe they have a very slow connection.

Quote:
Originally Posted by goumba View Post
It's been the case for a long time where file managers would show a near instant copy, jump to near completion, then show no progress for a while.
linux software designer probably thought:
"Let's make it like on Windows: just pretend that it copies really fast, then add all sorts of safety measures to prevent the user from pulling the stick too soon...

Quote:
Originally Posted by syg00 View Post
Have a read of this.
i oonce experienced similar problems (or at least thought so at the time) and had a good read of that article.
don't remember what i did or if it helped. it was years ago.

one thing i'm definitely avoiding nowadays is to start several copy or move actions at once.
are you doing that, AoiHana???

i also seem to notice that some GUI filemanagers are worse at this than others.

spacefm enqueues copy/move actions instead of trying to push them through all at once.
 
Old 12-16-2018, 06:35 AM   #13
AoiHana
LQ Newbie
 
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
I do only one file management operation on the same device at once. Usually in all the system also, but it depends. You're "software designer thought excerpt" makes a LOT of sense. Sure, I don't know about the commands' internals. Can I do that, by the way ? Sort of "dmesg" with more details about file system operations ?
 
Old 12-16-2018, 10:30 AM   #14
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally Posted by Brains View Post
What dialect of the English language is this? Urban Jungle perhaps? Even the title is confusing

Anyway, sounds like your post is nothing more than ranting, because if you wanted help, you would include relevant information such as the computer make, model and specs, the distribution version in use, graphics drivers in use etc.

Because it sounds like your computer resources are maxed out.
Dear Brains, LQ is proud to be a friendly and constructive forum. You could simply ask about the relevant information. Thanks!
 
1 members found this post helpful.
Old 12-16-2018, 10:43 AM   #15
AoiHana
LQ Newbie
 
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
No problem ! I laughed to my heart's content thanks to him. No offense, on the contrary.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] replace half line in file by another half line of file komalp Linux - Newbie 3 04-18-2013 05:29 PM
how to understand user time, sys time, wait time, idle time of CPU guixingyi Linux - Server 1 08-24-2010 11:10 AM
[SOLVED] Rsync half a directory to one folder, other half to another folder, based on name anon091 Linux - Newbie 25 01-21-2010 10:52 AM
I download then wait and download and wait... jsheffie SUSE / openSUSE 1 11-04-2005 05:43 PM
Command ls --color=always, can always be always Kevin Tough Linux - Newbie 1 09-09-2005 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration