On Mon, 6 Nov 2006, Andrew Morton wrote: > But doesn't this patch introduce considerable risks of the above problems > occurring? In the two-nodes-have-lots-of-free-memory scenario? If two nodes have lots of memory then we will alternate between both nodes. If one of the nodes is going below the interleave limit then we will indeed only allocate from that single node. At some point both are dropping below the limit and we will revert back to alternating. We can avoid the phase where we only allocate from one node by checking the node weight of the available nodes instead of checking for an empty node mask. For systems with less than 3 nodes the approach will not be useful. What I had in mind when writing this patch were systems with a large number of nodes segmented by cpusets into smaller slices. The segments would still be greater than 4 nodes. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Avoid allocating during interleave from almost full nodes
- Prev by Date: Re: PATCH? hrtimer_wakeup: fix a theoretical race wrt rt_mutex_slowlock()
- Next by Date: Re: [x86_64] soft lockup with sunrpc/nfsd (also DWARF2 unwinder stuck)
- Previous by thread: Re: Avoid allocating during interleave from almost full nodes
- Next by thread: Re: Avoid allocating during interleave from almost full nodes
- Index(es):