What is the most efficient way to copy a bunch of files nowadays?

From: Olivier Galibert
Date: Tue Apr 11 2006 - 07:11:44 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/