I have had this problem for a while now and just fixed it by adding "noatime,nodiratime" to the mount options in fstab, as suggested at http://kerneltrap.org/node/14148 .
The problem was on a SATA drive I use for storage. Copying a 676mb file from an IDE to the SATA drive before the fix:
> time cp test.tar /storage/.
real 1m38.573s
user 0m0.032s
sys 0m4.132s
And after:
> time cp test.tar /storage/.
real 0m7.128s
user 0m0.004s
sys 0m2.892s
The cpu usage during transfer was about 3%, now it ranges from 15-50%. I don't notice it, but I just thought I should say.
I have had this problem for a while now and just fixed it by adding "noatime, nodiratime" to the mount options in fstab, as suggested at http:// kerneltrap. org/node/ 14148 .
The problem was on a SATA drive I use for storage. Copying a 676mb file from an IDE to the SATA drive before the fix:
> time cp test.tar /storage/.
real 1m38.573s
user 0m0.032s
sys 0m4.132s
And after:
> time cp test.tar /storage/.
real 0m7.128s
user 0m0.004s
sys 0m2.892s
The cpu usage during transfer was about 3%, now it ranges from 15-50%. I don't notice it, but I just thought I should say.