Inside the Machines SN1
Inside the Origin 3000 Family
Origin 3000 and Onyx 3000 as a rack of bricks: C, R, I, V, G and N bricks, routers, controllers and InfiniteReality3 pipes.
The Origin 200, 2000, 300 and 350 are each one chassis, or a few cabled together. An Origin 3000 is not a chassis at all. It is a rack of single-purpose boxes called bricks. One brick holds processors and memory, another holds only a router, another holds only I/O cards, another holds only graphics. The system exists in the cables between them.
That decomposition is the unusual thing about the family. The node controller is the same Bedrock as in the Origin 300, and the I/O bridge is the same XBridge. But a processor brick has no I/O, an I/O brick has no processors, and which I/O brick belongs to which processor brick is a fact of the cabling that no register reports. The page on the Origin 200 covers the node-first addressing and interrupts-as-writes that all of this inherits.
The bricks
| Brick | Holds | Connects by |
|---|---|---|
| C-brick | one Bedrock, one or two two-processor modules, up to eight DIMMs, an L1 | one NUMAlink 3 port (LINK) and one XIO port |
| R-brick | one router chip with eight NUMAlink 3 ports, an L1, a USB hub | NUMAlink only |
| I-brick | one XBridge, the IO7 base I/O card, an L1 | two Crosstown2 (XIO) ports toward compute |
| P-brick | three XBridges, six PCI buses, twelve PCI slots | two XIO ports |
| X-brick | one XBridge serving four legacy XIO slots | two XIO ports |
| D-brick | Fibre Channel disks | Fibre Channel loop |
| V-brick | one or two VPro (V12) graphics pipes behind an XBridge | XIO |
| G-brick | one or two InfiniteReality pipes, a Ktown2 interface | two Crosstown2 links, through an I-, X- or N-brick |
| N-brick | four XBridges joining up to four C-bricks to up to four pipes | XIO |
| Cx-brick | up to four node boards and a router in one box | external NUMAlink and XIO ports |
A module is named by rack, brick type and slot: 001c04 is rack 1, a C-brick, slot 4. The
emulator builds the C-, R-, I-, V-, G-, N-, D- and Cx-bricks into running machines, and keeps the
P- and X-bricks as reference compositions. Two later I/O bricks, the IX-brick and the PX-brick, carry
PIC bridges in place of the XBridge; the project has datasheets for them but no model.
The parts, and how they connect
This is the Origin 3400: one R-brick, four C-bricks and an I-brick.
The pattern is what matters. Processors reach each other over NUMAlink through the router. Every C-brick has a second connector, XIO, for I/O, and only the first C-brick has anything cabled to it. The other three processor bricks have no local I/O at all and reach the I-brick’s disk through the network.
Memory is still addressed by node
Each Bedrock is one node. The node number is the same seven bits above a 33-bit offset as on the Origin 300, so each node owns an 8 GiB slice of physical address space whatever it has fitted. A C-brick holds 512 MiB to 8 GiB in up to eight DIMM positions, filled in pairs. The stock PROM finds the nodes by discovery and numbers them itself.
The Origin 3900 shows why that matters. Its Cx-brick holds four node boards in one chassis, and the emulator models each as a Bedrock with its own router port. The PROM’s reset window, at node field zero, is relative to the reader: each processor sees its own node there. If memory references took that alias too, processors on nodes 1 to 3 would read their own node’s copy of node 0’s pages, which is how the Origin 3900 first panicked at 2 GiB per node. Memory references name memory by node number, and only firmware references stay relative to the reader.
The router
An R-brick holds one router chip with eight NUMAlink 3 ports, lettered A to H and numbered 1 to 8. Ports 2 to 5 carry USB in the cable alongside the data, and C-bricks go there. Ports 1, 6, 7 and 8 are for router-to-router links. A full group is four C-bricks per router. Larger systems add MetaRouters and repeat routers, which are the same box with different cabling.
A message is made of 128-bit micropackets, each with an 8-bit sideband. A header micropacket names one of 512 destinations, a direction and an age field, and the last micropacket carries a tail bit.
The model’s R-brick presents all eight ports and answers synthetic diagnostics, so the PROM sees a router and four nodes. Each node prints one failed vector read and a “bad link” message while discovering the network, whose cause has not been diagnosed.
The Origin 3200 has no router: two C-bricks are cabled directly, LINK to LINK, beside an I-brick. The Origin 3900 places the router inside the Cx-brick.
The I-brick and its XBridge
The I-brick is the Origin 300’s XBridge on its own. It has eight ports: two Crosstown2 ports, A and B, which face compute; four Crosstalk ports, 8, 9, C and D; and two PCI ports, E and F. In the I-brick E and F become widgets 0xe and 0xf, the same numbers as on the Origin 300. The IO7 base I/O card hangs off head F:
| PCI device | Function |
|---|---|
| 1 | QLogic 2200 Fibre Channel |
| 4 | IOC3: Ethernet, serial port A, Timekeeper |
| 5 | OHCI USB controller |
| 6 | TI TSB12LV22 IEEE 1394 (left out of the emulator) |
An interrupt from one of these goes up the active host port, as an XIO write to the C-brick’s Bedrock, where a pending bit is set for a processor chosen by software. The I-brick’s pin-to-bit mapping follows the bridge family’s default and is inferred from the bridge drivers, not observed.
The emulator’s Fibre Channel path took three corrections before the PROM drove the card. The PROM waits for a command bit to clear that the card never cleared; it loads and reads back firmware before any firmware runs; and it lays out its control block for a 64-bit data phase, so the card declares itself 64-bit and the slot drives the signal that makes the XBridge reverse doublewords. Two other facts are approximations: the IO7’s time-of-day part is unidentified, so it carries the Origin 300’s M48T35-compatible clock, and IRIX issues four Fibre Channel mailbox commands that the card refuses and finds its NVRAM empty, because the commands’ meaning is not in any public source. The system continues.
Controllers: L1, L2 and L3
Every brick except the D-brick has an L1, a small controller that monitors fans, temperature and voltage, reads the serial ID EEPROMs, drives the front display and serves the serial console. A C-brick’s L1 logic sits on its motherboard. The L1 talks to its node over a packet protocol that carries the operator console. In an Origin 3200 without a router, the two C-brick L1s talk to each other through the NUMAlink cable. In a routed system, USB in the cable reaches the router-brick’s hub.
An L2 is a rack-level controller that coordinates the L1s, and L3 is workstation software that
talks to the L2 over Ethernet. Neither is modelled. L1 is modelled as a per-brick profile: the
cbrick, ibrick and Cx-brick profiles each answer the identity, inventory and discovery
requests the PROM and kernel send. Some replies are approximations, and the L1 type letters for
the G- and N-bricks are model choices.
Graphics bricks
Graphics in an Onyx 3000 is a separate brick, and a system has G-bricks or V-bricks, never both.
A V-brick holds one or two VPro pipes, each a V12 board. The Onyx 3000 model cables a one-pipe V-brick directly to the second C-brick’s XIO connector and fits a V12 by default. The model places the V12 at the XBridge’s Crosstalk port 8. IRIX boots to a login on this system and runs the 4Dwm desktop on the V12 with USB keyboard and mouse. The V-brick’s controller answers as an X-brick, the one personality the stock PROM and IRIX accept for it, so IRIX names the module an Xbrick and lists the V12. That identity is inferred from the shipped controller firmware, not read from a real V-brick.
A G-brick holds one or two InfiniteReality pipes. A pipe is a set of boards: a Ktown2 interface shared by both pipes, a geometry engine (GE16-4), one to four raster managers (RM10) and a display generator (DG5). It has no processors or memory. A pipe reaches its C-brick through an I-, X- or N-brick, never directly. A V-brick pipe needs a C-brick of its own, and a G-brick pipe probably does.
The N-brick is four XBridges and nothing else: each chip joins one C-brick to one pipe, using two of its ports. It stands in for the four I- or X-bricks that would otherwise sit between four C-bricks and four pipes. The Onyx 3400 with InfiniteReality3 is the guide’s figure of four C-bricks on one R-brick, an I-brick, an N-brick and two G-bricks. The emulator cables all four pipes.
The pipe appears to the host as a Crosstalk widget whose identity matches the Onyx2’s pipe. That is inferred, because no source shows an Onyx 3000 pipe’s identity. Neither the Ktown2 board nor the cable presents a widget of its own.
Multi-pipe
The topology’s pipe limit is the smaller of what SGI sold and what the composition cables. An Onyx 3400 supports eight pipes, and the emulator’s composition cables four. A node board controls at most one pipe, and the second pipe in a G-brick takes one or two raster managers. IRIX boots to login with two and with four pipes and draws a 4Dwm desktop on every one. The story of lifting the one-pipe limit is in Onyx 3400: four pipes in one machine.
Each pipe’s DG5-2 has two display channels. A combination stored with ircombine runs the next time
graphics initializes. Once a combination is loaded, gfxinfo -v lists channels 0 and 1 at 1280 by 1024 and
60 Hz, and a stored two-channel combination makes X manage a 2560 by 1024 screen across two
heads. The pipe’s flash is a store of machine state, so a stored combination survives a fresh
QEMU process.
Two approximations are required to make the pipes work. The stock PROM asks an I/O brick’s controller which bricks are attached once a pipe makes the second Crosstown2 port alive, and drops the chip without an answer, so the I-brick and N-brick controllers answer that request. And IRIX needs two empty PCI heads on each N-brick chip before it brings up a pipe behind it, which the model supplies though the real brick may not present them.
Firmware, boot and install
The same unchanged PROM 6.210 runs the Origin 300, 3200, 3400 and 350, and IRIX 6.5.30 is the guest.
The PROM reports its node count, processors and memory, and ends with ALL DIAGS PASSED with one
known failure: it reports the missing IEEE 1394 controller as a configuration-space error. IRIX
installs from the network onto the I-brick’s Fibre Channel disk: the PROM netboots a standalone
program through the IOC3, the miniroot sees the disk, and the installer finishes. The Origin 3200’s installed disk
then boots to a login on every topology, with the right processors and memory counted: 8 processors
in the Origin 3200, 16 in the Origin 3400 and 3900.
Sizes
| Topology | Bricks | Processors | Memory |
|---|---|---|---|
| Origin 3200 | 2 C, 1 I | 8 × 400 MHz R12000 | 8 GiB |
| Origin 3400 | 1 R, 4 C, 1 I | 16 × 400 MHz R12000 | 16 GiB |
| Onyx 3000 | 2 C, 1 I, 1 V with a V12 | 8 × 400 MHz R12000 | 8 GiB |
| Onyx 3400 with InfiniteReality3 | 1 R, 4 C, 1 I, 1 N, 2 G | 16 × 400 MHz R12000 | 16 GiB |
| Origin 3900 | 1 Cx with 4 node boards, 1 I | 16 × 700 MHz R16000 | 8 GiB |
| Origin 3900 with IP59 | 1 Cx with 4 IP59 node boards, 1 I | 16 × 1 GHz R16000 | 8 GiB |
No source fixes a given C-brick’s processors, caches or memory in the Onyx or 3400 configurations. They take the Origin 3200’s fit, an approximation. The Origin 3900 takes the Origin 350’s IP53 fit, or with IP59 boards the 1 GHz fit of the Origin 350’s IP59 build.
What the emulator does not model
| Not modelled | Why |
|---|---|
| L2 controller, L3 software, router-brick USB traffic | Wire interfaces are not specified in public sources |
| P-brick and X-brick running systems | Reference compositions only |
| IEEE 1394 on the I-brick | No PHY or bus model; the PROM reports the missing controller |
| Cx-brick as one module | The PROM forces four modules plus a router module, where a real Cx-brick is one |
| Zero-processor node boards, a second Cx-brick, external Cx NUMAlink ports | Not built |
| A second R-brick and the guide’s two-processor C-bricks | Not built |
| A two-pipe V-brick, a second host on a V-brick, VPro on a G-brick system | Not built or documented as one system |
| Real link speeds | No source gives them; the node’s L1 answers the PROM’s link-speed request with 400 MHz. On the Cx-brick that answer is in the emulator’s source and in no release yet |
| Pairing of C-bricks, N-brick connectors and pipes | Not documented; the pairing is a model choice |
| Bedrock ECC, error and memory-protection behavior | Not documented in public sources |
A run shows what the stock PROM and IRIX 6.5.30 do on the model. It does not show what a real Origin 3000 does. For the first boots, see IRIX on the Origin 3000 family and from stock PROM to sixteen processors. The Origin 350 family carries the same Bedrock on a different I/O chain.