Re: Swap vs. ext2 fragmentation avoidance?

George (linker@nightshade.ml.org)
Sun, 26 Apr 1998 00:44:40 -0400 (EDT)


On Sat, 25 Apr 1998, Anthony Barbachan wrote:

> -----Original Message-----
> From: James Mastros <root@jennifer-unix.dyn.ml.org>
> To: linux-kernel <linux-kernel@vger.rutgers.edu>
> Date: Friday, April 24, 1998 9:57 PM
> Subject: Swap vs. ext2 fragmentation avoidance?
>
>
> >Somthing has occured to me reading the discussions on
> >memory-fragmentation: why we can't effectivily use ext2fs's
> >fragmentation-avoidiance with our memory? I'm shure I'm missing somthing
> >/really/ simple here, but I don't know what it is.
> >
> > -=- James Mastros
>
> 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. Unless that page has been swapped out the the disk.

Wrong. :)

Many kernel tasks require contiguous blocks of memory at many times 4k in
size. Kernel memory can become so fragmented that it's impossible to
allocate such memory.

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