Thread (2 messages) 2 messages, 2 authors, 2000-05-31

Re: [PATCH] VM bugfix + rebalanced + code beauty

From: Rik van Riel <hidden>
Date: 2000-05-31 21:19:55

On 31 May 2000, Christoph Rohland wrote:
Rik van Riel [off-list ref] writes:
quoted
I'm testing stuff now, but seem unable to reproduce your
observation. However, I *am* seeing high cpu usage by
kswapd ;)
I do these tests regularly 8way/8GB and the latest kernel is
definitely a step back.
I have tracked down why. Shrink_mmap uses a bit more CPU
due to the page aging, but because we really want to free
an SHM page, shrink_mmap won't find anything suitable (yes,
aging works) and just waste some CPU before falling through
to shm_swap.
quoted
I guess we really want to integrate the SHM swapout routine
with shrink_mmap...
I would love to integrate the whole shm page handling into the
page cache.
That would be great. If we have this we can weigh page cache,
swap cache and shm pages equally. Not only will this result in
better page replacement, but it will also save on kswapd cpu
usage.

Even better, having this will allow us to (trivially) insert
the active/inactive queue idea into the kernel, fixing the
"write stall" problems for a lot of situations.

regards,

Rik
--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

Wanna talk about the kernel?  irc.openprojects.net / #kernelnewbies
http://www.conectiva.com/		http://www.surriel.com/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help