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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to