Thread (5 messages) 5 messages, 3 authors, 2002-08-01

Re: severely bloated slabs

From: William Lee Irwin III <hidden>
Date: 2002-08-01 18:15:17

On July 30, 2002 01:53 pm, William Lee Irwin III wrote:
quoted
Mostly a question of response time and long idle times being a good
indicator of upcoming workload shifts. I'd say it's behaving as
designed, but not as desired.
On Tue, Jul 30, 2002 at 08:13:01PM -0400, Ed Tomlinson wrote:
Was this with full rmap + slablru or with a linus kernel?  With slablru
I would expect this to happen to some extent.  When vm pressure picks
up slablru is fast to free the 'old' slabs...  On the other hand, if periodic
prunes are really a good idea, it would be easy to have slablru do them
for us.  As it stands now, slablru adds a flag bit to each slab cache telling
slablru to prune the cache instead of just the page encounted.  This flag
gets set when we are able to add a page to the lru (when the pagemap_lru
lock is busy).  I would not be hard to set this flag under other conditions.
Sounds reasonable, not sure what the general consensus is on periodic
prunes, though. I'm mostly thinking of the desktop workload for this
one, as servers are probably not going to really care. But I'm not a good
testcase for this one as even my "desktop" usage patterns are atypical.


Cheers,
Bill
--
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-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help