Re: mmap() versus read()

Pavel Machek (pavel@elf.ucw.cz)
Tue, 10 Mar 1998 12:36:40 +0100


Hi!

> > Why does Linux page executables from their original location? Isn't
> > that slower than putting it into the swapfile because you have to
> > wade through the filesystem layer when you need to page in? Or is
> > the penalty for writing it into the swap bigger than the filesystem
> > overhead?
>
> Yes.

:-)

Ok. Is there easy way to change it? On my system, swap is order of
magnitude faster than disk. I would like linux to take advantage of
it.
Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

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