Re: Swap vs. ext2 fragmentation avoidance?

Alexander Kjeldaas (astor@guardian.no)
Sun, 26 Apr 1998 22:02:29 +0200


On Sun, Apr 26, 1998 at 05:46:26AM +0200, ralf@uni-koblenz.de wrote:
> 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%.
>

Is this for the 2nd level cache? I thought the primary cache on MIPS
were indexed by virtual addresses.

astor

-- 
 Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
 http://www.guardian.no/

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