Re: mmap() versus read()

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Tue, 10 Mar 1998 21:46:20 +0100 (MET)


On Tue, 10 Mar 1998, Pavel Machek wrote:

> 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.

There is something easier to change. We could make Linux:
- age buffer and cache pages
- not age usermode pages, so it swaps them immediately
- flag the swap area as 'fast', so Linux doesn't swapcache
that area and it swaps more kilobytes to that area

That way, your upper 8megs will be used more frequently
and efficiently.

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+

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