Messages in this thread | | | Date | Thu, 20 May 2004 23:37:34 -0700 | From | "Martin J. Bligh" <> | Subject | Re: How can I optimize a process on a NUMA architecture(x86-64 specifically)? |
| |
> Say you have a bunch of single-threaded processes on a NUMA machine. > Does the kernel make sure to prefer allocations using a certain CPU's > memory, preferring to run a given process on the CPU which contains > its memory? Or should I use the NUMA API(libnuma) to spell this out > to the kernel? Does the kernel do the right thing in this case?
The kernel will generally do the right thing (process local alloc) by default. In 99% of cases, you don't want to muck with it - unless you're running one single app dominating the whole system, and nothing else is going on, you probably don't want to specify anything explicitly.
M.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |