You are not logged in.
Today I thought of moving >100MB file to my phone via USB, but executing
cp ~/Desktop/very_big_file /media/Memory\ card/
caused my machine to be nearly unusable. I investigated a little bit and found
load average: 12.27, 6.24, 2.88
in top.
I can reproduce same behaviour when copying files in Nautilus.
I can move my mouse, and gnome-shell is still pretty responsive, music still plays, but chromium doesn't load a thing and applications loads for a while.
What couldn't cause it?
Device itself - I tested it with about 3 other USB devices, including bare USB Stick on 2 different machines running Linux (same problem). On Windows it runs OK.
Hardware limits - copying was running at 1.9 MB/s, so there's no way, that my HDD would overwork itself and hang system. Also I don't have any Swap in HDD.
Wire - Tested with bunch of different wires. Also with same wire Windows worked OK.
Any ideas?
EDIT: Even tough I mentioned FAT32 in title, this behaviour happens in memory storage formatted in NTFS and EXT4 too.
EDIT2: Oh, copying to external HDD, which can pull off speeds, which are near to my internal HDD, doesn't cause this behaviour to happen.
Last edited by nagi (2011-11-30 21:23:35)
Offline
There are tons of threads regarding loss of responsiveness while copying stuff to a USB, no solutions yet.
Offline
Just curious - have you specified your machine's hostname in /etc/hosts?
Offline
Just curious - have you specified your machine's hostname in /etc/hosts?
Yes.
There are tons of threads regarding loss of responsiveness while copying stuff to a USB, no solutions yet.
Can you please link to some of them? It could be a good starting material.
Offline
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
karol wrote:There are tons of threads regarding loss of responsiveness while copying stuff to a USB, no solutions yet.
Can you please link to some of them? It could be a good starting material.
bad I/O when copying to USB or another partition:
https://bbs.archlinux.org/viewtopic.php?id=76553
https://bbs.archlinux.org/viewtopic.php?id=110590 ext* v. NTFS?
https://bbs.archlinux.org/viewtopic.php?id=124856
https://bbs.archlinux.org/viewtopic.php?id=111575
https://bbs.archlinux.org/viewtopic.php?id=112846
https://bbs.archlinux.org/viewtopic.php?id=123929
https://bbs.archlinux.org/viewtopic.php?id=124191
https://bbs.archlinux.org/viewtopic.php?id=124570 linux 3
https://bbs.archlinux.org/viewtopic.php?id=125167
https://bbs.archlinux.org/viewtopic.php?id=125826
https://bbs.archlinux.org/viewtopic.php?id=126261 exFAT
https://bbs.archlinux.org/viewtopic.php?id=120982
https://bbs.archlinux.org/viewtopic.php?id=127051
Offline
Last edited by Montague (2015-07-28 02:36:56)
Offline
Here are a few (the two last ones are about two years old though, so I don't know if they are still relevant)
https://bbs.archlinux.org/viewtopic.php?id=111575
https://bbs.archlinux.org/viewtopic.php?id=70525
https://bbs.archlinux.org/viewtopic.php?id=71131I remember reading somewhere (sorry don't have a link) that this may be related to the 64bit architecture (but I don't know if you are on 32bit or 64bit)
Personnally I have experienced this behavior, but my system is kindof low specs (amd 64 athlon with only 768 MB of RAM), but I am on x86_64 (I sometimes think of going back to i686)
One thing that seemed to help me so far (but it still sometimes lag) is to use the liunux-ck-kx kernel (https://wiki.archlinux.org/index.php/Linux-ck)
YMMV though...
I'm indeed on x86_64. It'll be one more reason to consider moving to i686 too...
Offline
This setting got rid the unresponsiveness on 4 of my machines while copying to usb flash.
edit /etc/security/limits.conf
username - priority -2
and reboot.
This is the only thing that worked for me.
Offline