Use-once should avoid *most* of that, though not all; all your .c files
should be read in once each by gcc, and never touched again. Of course the
headers need to be cached, and the .o files will be accessed multiple times
too.
> Obviously the problem is very much lessened, in my case, when
> i put the swap partition on the *other* drive than the root fs.
> Both are ATA100 (40GB 60GXPs), and the system is more responsive
> with swap on hdc while / in on hda, than both on hda.
Hmm... if you've experimented with this, how does this setup compare to a
striped RAID of hda+hdc used for root and swap? (i.e. is the speedup down to
splitting accesses between two spindles?)
James.
-
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/