[Bug 252358] cp(1) of large files is causing 100% CPU utilization and poor transfer of ~168M/minute
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 2 20:02:18 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252358
Bug ID: 252358
Summary: cp(1) of large files is causing 100% CPU utilization
and poor transfer of ~168M/minute
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: guru at unixarea.de
While using cp(1) to copy large files (seen with 36GByte) on UFS file systems
with something like:
# cp -p guru-20210102.tar.gz xxx
the CPU utilization is 100% while the copied amount of data is poor (some
168MByte per minute). The cp(1) process shows in truss(1) only
copy_file_range(2) sys calls with low frequency:
# truss -p 37655
copy_file_range(0x3,0x0,0x4,0x0,0x200000,0x0) = 2097152 (0x200000)
copy_file_range(0x3,0x0,0x4,0x0,0x200000,0x0) = 2097152 (0x200000)
copy_file_range(0x3,0x0,0x4,0x0,0x200000,0x0) = 2097152 (0x200000)
copy_file_range(0x3,0x0,0x4,0x0,0x200000,0x0) = 2097152 (0x200000)
copy_file_range(0x3,0x0,0x4,0x0,0x200000,0x0) = 2097152 (0x200000)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list