Re: NUMA allocator on Opteron systems does non-local allocation on node0
From: Andi Kleen
Date: Mon Oct 13 2008 - 06:39:56 EST
[Another copy of the reply with linux-kernel added this time]
> In my setup I'm allocating an array of ~7GiB memory size in a
> singlethreaded application.
> Startup: numactl --cpunodebind=X ./app
> For X=1,2,3 it works as expected, all memory is allocated on the local
> node.
> For X=0 I can see the memory beeing allocated on node0 as long as ~3GiB
> are "free" on node0. At this point the kernel starts using memory from
> node1 for the app!
Hmm, that sounds like it doesn't want to use the 4GB DMA zone.
Normally there should be no protection on it, but perhaps something
broke.
What does cat /proc/sys/owmem_reserve_ratio say?
>
> For parallel realworld apps I've seen a performance penalty of 30%
> compared to older kernels!
Compared to what older kernels? When did it start?
-Andi
--
ak@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/