Date: Tue, 27 Jul 2010 16:55:03 -0400 From: John Baldwin <jhb@freebsd.org> To: src-committers@freebsd.org Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r210550 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm Message-ID: <201007271655.04019.jhb@freebsd.org> In-Reply-To: <201007272033.o6RKXoF4002100@svn.freebsd.org> References: <201007272033.o6RKXoF4002100@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, July 27, 2010 4:33:50 pm John Baldwin wrote: > Author: jhb > Date: Tue Jul 27 20:33:50 2010 > New Revision: 210550 > URL: http://svn.freebsd.org/changeset/base/210550 > > Log: > Very rough first cut at NUMA support for the physical page allocator. For > now it uses a very dumb first-touch allocation policy. This will change in > the future. A couple of notes: 1) This is not enabled by default. If you want to try it out on x86, you will need the subsequent commit to add the SRAT parser. You will then need to edit <machine/vmparam.h> and change VM_NDOMAIN to some value > 1. I have been using 4 in my testing. I've only tested it on amd64, but I have tested it both with dual-socket Opteron and i7 systems. The reason this is not enabled by default is that first-touch is a horrible default policy for all but a few very specific workloads. :) 2) There is much more work to be done here to have truly useful NUMA support. The main reason for committing this now is that several folks have started looking at NUMA and it's easier to work on the various different projects with the baseline in the tree. I'm hoping we can at least commit a tweak to use a saner default policy for allocations rather than first-touch relatively soon. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007271655.04019.jhb>