From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-07 03:34:25 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!fido.engr.sgi.com!rigden.engr.sgi.com!rpw3 From: rpw3@rigden.engr.sgi.com (Rob Warnock) Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Compaq kills Alpha Date: 7 Jul 2001 10:34:31 GMT Organization: Silicon Graphics Inc., Mountain View, CA Message-ID: <9i6ojn$1jt25$1@fido.engr.sgi.com> References: <9hsnb2$jd7$1@bob.news.rcn.net> <9hsvq <3B42376B.C151A023@us.ibm.com> NNTP-Posting-Host: rigden.engr.sgi.com X-Trace: fido.engr.sgi.com 994502071 1700933 163.154.34.115 (7 Jul 2001 10:34:31 GMT) X-Complaints-To: news@fido.engr.sgi.com NNTP-Posting-Date: 7 Jul 2001 10:34:31 GMT Xref: archiver1.google.com comp.sys.dec:5360 comp.unix.tru64:3194 comp.arch:13272 Greg Pfister wrote: +--------------- | Bill, with one exception I agree with all you said here... ... | It's possible for I/O to be physically attached just to one | physical unit (processor(s) and/or memory) with its own I/O bus, | making it available to others via the memory hierarchy. E.g., if | the bus is memory-mapped, all the busses are in the memory space | of all the processors, no matter which unit the bus is in. | | It's still the case then that every processor has the same | "logical" capabilities; just one of them does it a tad faster | than others. +--------------- And this is exactly the situation with the SGI Origin 2000/3000 family. "Nodes" (node cards in O2k; "C-Bricks" in O3k) are the unit of CPU & memory modularity (2 CPUs/4GB in O2k; 4 CPUs/8GB in O3k), interconnected via the ccNUMA "NUMAlink". I/O busses (of which a single system can have hundreds!) are each connected through a small crossbar via "XIO" to (up to) two nodes, one of which is assigned at boot time to be the "master" node for that particular bus. In the case of PCI, up to six PCI busses share the XIO crossbar to a pair of nodes, and (usually) each node is the "master" for half of the busses. PIOs from any CPU in the system to a device on some bus must travel across the NUMAlink to the directly-attached "master" node for that bus. Likewise, DMA from a device on that bus must flow through its assigned master node[*] into node-local memory or across the NUMAlink to any other memory in the system. Though the access times vary depending on relative locations, all CPUs can PIO to all devices on all busses, and all devices can DMA directly to all memory in the system[**]. Notes: [*] The GSN (HIPPI-6400) interface is the sole exception to the "access only through the master node" rule. Through some careful extensions to the usual Origin protocols, GSN (which optionally has two XIO connections into the system) can actually be doing DMA through as many as *four* separate nodes at once (which it needs, given its rate). [**] Because they only provide 32 bits of DMA address, "A32" PCI devices (whether they're D32 or D64) can only access a subset of main memory at any instant. However, the mapping may be (and is) changed dynamically by host software (though obviously there's a performance cost for that). A64-capable PCI devices have no such restriction, and thus are greatly preferred to A32-only (but many commodity PC cards are A32-only!!). +--------------- | This is all "SMP" means, anyway. The software may or may not be | optimized to deal with the performance asymmetries. +--------------- In the case of Irix on Origin, I dare say the software *is* highly tuned to deal with the asymmetries!! E.g., NUMA-aware drivers can choose (or not) to preferentially allocate memory for descriptor rings, mailboxes, and "busy" buffers on the master node for a device. Any CPU can be assigned to handle interrupts from any device, but the software tries to assign a CPU on the master node for a device, or (if those are overbooked) to some CPU on a "nearby" node. [And of course you can manually override those assignments with config files, if you know what you're doing -- useful for massive real-time I/O apps like media streaming.] Of course there are still areas we can improve on... -Rob ----- Rob Warnock, 31-2-510 SGI Network Engineering [until 8/15] 1600 Amphitheatre Pkwy. Phone: 650-933-1673 Mountain View, CA 94043 PP-ASEL-IA [Note: aaanalyst@sgi.com and zedwatch@sgi.com aren't for humans ]