Home / Learn / Chiplets and Memory / NoC Architecture for Manycore Chips
On this page
Why the network matters so muchChoice 1: TopologyChoice 2: RoutingChoice 3: ClusteringChoice 4: Router designChoice 5: Traffic classes and quality of serviceChoice 6: How memory is sharedConnecting to the outsidePowerPhysical designEvaluating a designThe role of softwareCommon questionsRelated guidesNoC Architecture for Manycore Chips
In a manycore chip, the on-chip network decides how well the cores work together. With dozens or hundreds of cores, much of the chip’s activity is communication: cores exchanging data, reaching memory and keeping shared data consistent. The main design choices for the network are its topology, how packets are routed, whether cores are grouped into clusters and how different kinds of traffic are prioritized. They determine performance, power and predictability as much as the cores themselves do.
Why the network matters so much
A processor with a few cores can connect them with a simple shared structure. A processor with a hundred cannot.
As core counts rise, the network carries a growing share of the load.
- Performance. If cores wait on each other or on memory, adding more of them gives diminishing returns.
- Power. The network can account for a substantial fraction of a manycore chip’s energy use.
- Area. Routers, buffers and wires take space that could otherwise hold cores.
- Predictability. Variable delays in the network make the whole chip’s timing uncertain.
A manycore processor is, to a large degree, defined by its interconnect.
Choice 1: Topology
The topology is the pattern of connections.
Mesh. Cores are arranged in a grid, each router linked to its four neighbors. It maps naturally onto the flat surface of a chip, uses only short wires and is regular. It is the most common choice. Its weakness is that the distance between far corners grows with the size of the grid, and traffic concentrates in the middle.
Torus. A mesh with opposite edges connected. Average distances are shorter and load is more even, at the cost of some longer wires.
Concentrated mesh. Several cores share each router. Fewer routers and hops are needed, with more contention at each one.
Hierarchical. A local network within each group of cores, and a second network between groups.
Express links. Extra connections that skip over routers to shorten long journeys.
| Topology | Average distance | Wire length | Regularity | Typical use |
|---|---|---|---|---|
| Mesh | Grows with size | Short | High | General manycore |
| Torus | Shorter | Some long wires | High | Performance-oriented |
| Concentrated mesh | Shorter | Short | High | Area-constrained |
| Hierarchical | Depends on locality | Mixed | Moderate | Clustered designs |
Choice 2: Routing
Routing decides the path each packet takes.
Dimension-ordered routing sends a packet all the way along one axis of the mesh, then along the other. It is simple, needs little logic and cannot deadlock. It ignores congestion.
Adaptive routing can steer around busy regions. It balances load better and needs more complex routers and careful design to avoid deadlock.
Most production designs favor simple, deterministic schemes. Predictability and ease of verification outweigh the benefit of adaptivity in many cases.
Choice 3: Clustering
Many manycore designs do not treat all cores as equal peers on one flat network. They group them.
A cluster is a set of cores, typically a handful to a few dozen, with shared local memory and a fast local interconnect. Clusters are then joined by a chip-wide network.
- Locality. Most communication stays inside the cluster, where it is fast.
- Scalability. The global network carries only traffic between clusters.
- Isolation. Different clusters can run different functions without disturbing each other.
- Predictability. Timing within a cluster is easier to bound.
- Modularity. A cluster is designed once and replicated.
The cost is that software must place communicating tasks in the same cluster to benefit.
Choice 4: Router design
Each router is a small circuit that has to be fast and compact, since it is replicated many times.
- Buffers. More buffering smooths traffic and uses more area and power. Buffers are often the largest part of a router.
- Pipeline depth. A router that takes fewer clock cycles per hop lowers latency. Techniques exist to let packets cross several routers in one cycle when the path is clear.
- Virtual channels. Several logical channels sharing a physical link prevent one stalled packet from blocking others and help separate traffic classes.
- Link width. Wider links carry more data per cycle and use more wiring.
Choice 5: Traffic classes and quality of service
A manycore chip carries several kinds of traffic.
- Data exchanged between cores
- Memory access to shared memories and caches
- Coherence messages that keep copies of shared data consistent.
- Input and output from network and storage interfaces
- Control and management
These have different needs. Some designs carry them on separate physical networks. Others share one network and use priorities or separate virtual channels. Separation prevents dependencies between message types from causing deadlock, and keeps bulk data from delaying time-critical messages.
Where the chip must meet real-time deadlines, the network may guarantee a maximum delay for selected flows.
Choice 6: How memory is shared
How cores share data shapes the traffic the network must carry.
Shared memory with coherent caches. Every core sees one common memory. Software is easier to write. The hardware must exchange many messages to keep caches consistent, and that traffic grows with core count.
Message passing. Cores or clusters have private memory and exchange data explicitly. The network carries only what the software sends. Scaling is better, and software has to be structured around it.
Hybrid. Shared memory within a cluster, message passing between clusters. This gives programmers a familiar model locally while keeping global traffic under control.
Connecting to the outside
A manycore chip used for networking or data processing takes in data at very high rates. Where the input and output interfaces attach to the on-chip network, and how incoming data is spread across cores, strongly affect throughput. Designs often give interfaces direct paths to the clusters that will process their data, avoiding a single congested entry point.
Power
- Clock and power gating of idle routers and links.
- Bypass paths that let packets skip router stages.
- Fewer, wider hops through concentration or express links.
- Low-swing signalling on links.
- Keeping communication local through clustering and good task placement.
Physical design
A regular network is friendlier to physical implementation. A mesh can be built as an array of identical tiles, each containing a core or cluster and its router, placed side by side. One tile is designed and closed for timing, then repeated.
Evaluating a design
Network designs are assessed by simulation, using both synthetic traffic patterns and traces from real applications.
- Latency as load increases
- Throughput at saturation
- Area and power
- Worst-case delay, for real-time uses
- Freedom from deadlock, proven formally
The role of software
Hardware sets what is possible. Software decides how much of it is used. An operating system or runtime that places communicating tasks near each other reduces network load. Programming models that make communication explicit help programmers reason about it. The network and the software that uses it are best designed together.
Common questions
Why do manycore processors use a mesh network?
A mesh fits the two-dimensional layout of a chip, uses only short wires between neighbors and can be built from identical repeated tiles, which simplifies design.
What is a cluster in a manycore chip?
A group of cores with shared local memory and fast local connections. Clusters are linked by a chip-wide network, so most communication stays local.
Does the network slow a manycore chip down?
Communication takes time, and distant cores communicate more slowly than adjacent ones. A well-designed network and software that keeps related tasks close together minimize the cost.