Thread (4 messages) 4 messages, 4 authors, 2001-07-18

Re: [PATCH] Separate global/perzone inactive/free shortage

From: Dave McCracken <hidden>
Date: 2001-07-18 15:08:25

--On Wednesday, July 18, 2001 10:54:52 +0200 Mike Galbraith 
[off-list ref] wrote:
Possible solution:

Effectively reserving the last ~meg (pick a number, scaled by ramsize
would be better) of ZONE_DMA for real GFP_DMA allocations would cure
Dirk's problem I bet, and also cure most of the others too, simply by
ensuring that the ONLY thing that could unbalance that zone would be
real GFP_DMA pressure.  That way, you'd only eat the incredible cost
of balancing that zone when it really really had to be done.
Couldn't something similar to this be accomplished by tweaking the 
pages_{min,low,high} values to ZONE_DMA based on the total memory in the 
machine?  It seems to me if you have a large memory machine it'd be simple 
enough to set at least pages_high (and perhaps pages_low?) to a larger 
value.  If we do this, won't it keep the DMA zone from triggering memory 
pressure as much?

Dave McCracken

======================================================================
Dave McCracken          IBM Linux Base Kernel Team      1-512-838-3059
dmc@austin.ibm.com                                      T/L   678-3059

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