bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16309: cp is a cpu hog


From: U.Mutlu
Subject: bug#16309: cp is a cpu hog
Date: Tue, 31 Dec 2013 08:37:35 +0100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1

Hello,
there is a big bug with the cp command: it eats all cpu resources,
the system is not responsive while copying a huge file,
say a file of size 10 GB.

There are other _desasterous_ consequences of this behaviour,
if interessted I can tell you.

OS: Debian, 64bit, latest, happens also on other distros like Ubuntu,
see for example these links:
 http://ubuntuforums.org/showthread.php?t=1206936
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/365775

http://stackoverflow.com/questions/4290679/why-high-io-rate-operations-slow-everything-on-linux
 ...

I suggest you just place a nanosleep(a_small_value)
in the loop that does the copy operation.
From my experience in simular situations this helps much.

Best regards & Happy New Year
U.Mutlu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]