lkml.org 
[lkml]   [1998]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmap() versus read()
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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.062 / U:0.120 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site