https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252358
Rick Macklem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Rick Macklem <[email protected]> --- Created attachment 221214 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221214&action=edit fix the problem by using a large "len" argument for copy_file_range(2) This patch modifies "cp" so that it uses a large "len" argument to copy_file_range(2). This results in far fewer copy_file_range(2) syscalls, each of which will do a SEEK_DATA and SEEK_HOLE. I suspect that these SEEK_DATA/SEEK_HOLE operations are slow for large non-sparse files and doing a large number of them caused the slowdown. -- 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]"
