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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"