2 Jun 2003 20:26
Re: Simple NUMA library for AMD64
Matthew Dobson <colpatch <at> us.ibm.com>
2003-06-02 18:26:21 GMT
2003-06-02 18:26:21 GMT
I'd like to have commented on this sooner, but I've been busy with some other work. This looks really interesting, and I'd love to help any way I can. Now, on to more specific comments. Andi Kleen wrote: > Hallo, > <SNIP> > > It only deals with nodes, not CPUs. One reason for this is that it is > AMD64 centric where CPU equals node, but even on other architectures with > multiple CPUs per node more finegrained settings than nodes do not seem to be > commonly used. Inside a node conventional SMP tunings can be used, no need > for an NUMA library. > > The only possible exception is the CPU binding (numa_run_on_node*), but > node granuality seems to be enough for that too. If it should be a problem > the application can call sched_setaffinity directly. I like this. Working with CPUs can be a pain because they tend to be used in groups anyway, ie: nodes (as you pointed out), they tend not to have physical memory directly associated with them (make membinding tricky), they force bitmasks to be much larger (ie: a 32bit bitmask of nodes covers a larger array of systems than a 32 bit bitmask of CPUs), etc.(Continue reading)
RSS Feed