Messages in this thread | | | Date | Tue, 11 Apr 2006 13:11:37 +0200 | From | Olivier Galibert <> | Subject | What is the most efficient way to copy a bunch of files nowadays? |
| |
After having read-only mucked with the headers of a bunch of files[1] I've selected a subset of 2500 or so with sizes going from 2K to 85M which I want to copy to another directory in the same local filesystem. What is the "best" (CPU usage, fragmentation, wall clock time, system responsiveness during and after the copy) way to copy these files? read+write, mmap+write, read+mmap, mmap+mmap+memcpy, something else? That's with recent kernels, of course.
OG.
[1] Say rpms from a random distribution and its updates for instance - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |