The result of leveraging parallelism, distributing the work of walkingĭirectories and copying their contents across all of your machine's cores. The following shows the result of a benchmark which copies a directory containing 13 different 512 MB files using cp and fcp, with fcp being approximately 1.4x faster on average:įcp's high-performance can be attributed to several factors, but is primarily The following shows the result of a benchmark which copies the source tree of the Linux kernel using cp and fcp, with fcp being approximately 10x faster on average: The following benchmarks were run on a bare-metal AWS EC2 instance (a1.metal, 16 CPUs, 32 GiB RAM, SSD) with XFS as the filesystem. The following shows the result of a benchmark which copies the source tree of the Linux kernel using cp and fcp, with fcp being approximately 6x faster on average: The following shows the result of a benchmark which copies a directory containing 13 different 512 MB files using cp and fcp, with fcp being approximately 822x faster on average (note the units of the axes for each plot) 2: The following benchmarks were run on a 2018 MacBook Pro 1 (2.9 GHz 6-Core Intel Core i9, 16 GiB RAM, SSD) with APFS as the filesystem. As different operating systems displayĭifferent performance characteristics, the same benchmarks were run on both macOS and Linux. DESTINATION_DIRECTORYĬopy each SOURCE into DESTINATION_DIRECTORYįcp doesn't just claim to be faster than cp, it is faster than cp. Copy SOURCE to DESTINATION_FILE, overwriting DESTINATION_FILE if it existsįcp SOURCE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |