Re: Making diff(1) of linux kernels faster

Marco C. Mason (mason@ntr.net)
Thu, 18 Oct 2001 08:39:19 -0400


Paul--

Paul Gortmaker wrote:
> + if (recursive && preread_dir)
> + {
> + preread(inf[0].name);
> + preread(inf[1].name);
> + }

While looking over your patch, I notice that you preload *both*
directories. (At least, that's what the code above appears to do).
Have you tried just preloading one? This may still give you the speed
benefit (as you'll most likely reduce the seeking) and put less pressure
on the memory system.

--marco

-
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/