Re: Swap vs. ext2 fragmentation avoidance?

ralf@uni-koblenz.de
Sun, 26 Apr 1998 05:46:26 +0200


On Sat, Apr 25, 1998 at 09:56:15PM -0400, Anthony Barbachan wrote:

> Paging make memory fragmentation irrelevent as a page may be located on any
> 4kb block. And there is no speed difference when accessing memory at
> different locations.

There may be a significant difference. For good performance pages should
be allocated with their physical addresses choosen such that maximum
cache hit rates can be achived. That's something which the current
buddy system for the free pages doesn't support. For RISC/os and IRIX
the performance difference accounts for 5 - 10%.

Ralf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu