> I tested this idea by first doing a ls -R on the tree, then
> Linus's find command:
>
> time ls -R linux >/dev/null
> time find linux -type f | xargs cat > /dev/null
> According to your theory the total time for the two commands
> should be less than the second command alone. But it wasn't,
> the two commands together took almost exactly the same time as
> the second command by itself.
Well DUH, your first find isn't doing any readahead on the
inodes either.
> There goes that theory.
You might want to test it first.
cheers,
Rik
-- IA64: a worthy successor to the i860.http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/
- 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/