GNU bug report logs - #16309
cp is a cpu hog

Previous Next

Package: coreutils;

Reported by: "U.Mutlu" <um <at> mutluit.com>

Date: Tue, 31 Dec 2013 19:23:01 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "U.Mutlu" <um <at> mutluit.com>
To: 16309 <at> debbugs.gnu.org
Subject: bug#16309: cp is a cpu hog
Date: Tue, 31 Dec 2013 08:37:35 +0100
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




This bug report was last modified 6 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.