MinBD: Minimally-Buffered Deflection Routing for Energy-Efficient Interconnect Chris Fallin, Greg Nazario, Xiangyao Yu*, Kevin Chang, Rachata Ausavarungnirun,

Slides:



Advertisements
Similar presentations
Coherence Ordering for Ring-based Chip Multiprocessors Mike Marty and Mark D. Hill University of Wisconsin-Madison.
Advertisements

A Novel 3D Layer-Multiplexed On-Chip Network
Application-Aware Memory Channel Partitioning † Sai Prashanth Muralidhara § Lavanya Subramanian † † Onur Mutlu † Mahmut Kandemir § ‡ Thomas Moscibroda.
Presentation of Designing Efficient Irregular Networks for Heterogeneous Systems-on-Chip by Christian Neeb and Norbert Wehn and Workload Driven Synthesis.
Flattened Butterfly Topology for On-Chip Networks John Kim, James Balfour, and William J. Dally Presented by Jun Pang.
Aérgia: Exploiting Packet Latency Slack in On-Chip Networks
Evaluating Bufferless Flow Control for On-Chip Networks George Michelogiannakis, Daniel Sanchez, William J. Dally, Christos Kozyrakis Stanford University.
$ A Case for Bufferless Routing in On-Chip Networks A Case for Bufferless Routing in On-Chip Networks Onur Mutlu CMU TexPoint fonts used in EMF. Read the.
CHIPPER: A Low-complexity Bufferless Deflection Router Chris Fallin Chris Craik Onur Mutlu.
CCNoC: On-Chip Interconnects for Cache-Coherent Manycore Server Chips CiprianSeiculescu Stavros Volos Naser Khosro Pour Babak Falsafi Giovanni De Micheli.
Montek Singh COMP Nov 10,  Design questions at various leves ◦ Network Adapter design ◦ Network level: topology and routing ◦ Link level:
Allocator Implementations for Network-on-Chip Routers Daniel U. Becker and William J. Dally Concurrent VLSI Architecture Group Stanford University.
1 Lecture 17: On-Chip Networks Today: background wrap-up and innovations.
NETWORK ON CHIP ROUTER Students : Itzik Ben - shushan Jonathan Silber Instructor : Isaschar Walter Final presentation part A Winter 2006.
1 Lecture 12: Interconnection Networks Topics: dimension/arity, routing, deadlock, flow control.
Lei Wang, Yuho Jin, Hyungjun Kim and Eun Jung Kim
1 Lecture 21: Router Design Papers: Power-Driven Design of Router Microarchitectures in On-Chip Networks, MICRO’03, Princeton A Gracefully Degrading and.
1 Lecture 13: Interconnection Networks Topics: flow control, router pipelines, case studies.
1 Lecture 25: Interconnection Networks Topics: flow control, router microarchitecture Final exam:  Dec 4 th 9am – 10:40am  ~15-20% on pre-midterm  post-midterm:
1 Lecture 24: Interconnection Networks Topics: topologies, routing, deadlocks, flow control Final exam reminders:  Plan well – attempt every question.
1 Lecture 24: Interconnection Networks Topics: topologies, routing, deadlocks, flow control.
1 Lecture 26: Interconnection Networks Topics: flow control, router microarchitecture.
Orion: A Power-Performance Simulator for Interconnection Networks Presented by: Ilya Tabakh RC Reading Group4/19/2006.
1 On-Chip Networks from a Networking Perspective: Congestion and Scalability in Many-Core Interconnects George Nychis ✝, Chris Fallin ✝, Thomas Moscibroda.
Dragonfly Topology and Routing
Performance and Power Efficient On-Chip Communication Using Adaptive Virtual Point-to-Point Connections M. Modarressi, H. Sarbazi-Azad, and A. Tavakkol.
Switching, routing, and flow control in interconnection networks.
McRouter: Multicast within a Router for High Performance NoCs
Approaching Ideal NoC Latency with Pre-Configured Routes George Michelogiannakis, Dionisios Pnevmatikatos and Manolis Katevenis Institute of Computer Science.
1 The Turn Model for Adaptive Routing. 2 Summary Introduction to Direct Networks. Deadlocks in Wormhole Routing. System Model. Partially Adaptive Routing.
Interconnect Basics 1. Where Is Interconnect Used? To connect components Many examples  Processors and processors  Processors and memories (banks) 
High-Performance Networks for Dataflow Architectures Pravin Bhat Andrew Putnam.
Elastic-Buffer Flow-Control for On-Chip Networks
Networks-on-Chips (NoCs) Basics
Déjà Vu Switching for Multiplane NoCs NOCS’12 University of Pittsburgh Ahmed Abousamra Rami MelhemAlex Jones.
1 Application Aware Prioritization Mechanisms for On-Chip Networks Reetuparna Das Onur Mutlu † Thomas Moscibroda ‡ Chita Das § Reetuparna Das § Onur Mutlu.
SMART: A Single- Cycle Reconfigurable NoC for SoC Applications -Jyoti Wadhwani Chia-Hsin Owen Chen, Sunghyun Park, Tushar Krishna, Suvinay Subramaniam,
Author : Jing Lin, Xiaola Lin, Liang Tang Publish Journal of parallel and Distributed Computing MAKING-A-STOP: A NEW BUFFERLESS ROUTING ALGORITHM FOR ON-CHIP.
Scalable Many-Core Memory Systems Optional Topic 5: Interconnects Prof. Onur Mutlu HiPEAC ACACES Summer School.
George Michelogiannakis William J. Dally Stanford University Router Designs for Elastic- Buffer On-Chip Networks.
George Michelogiannakis, Prof. William J. Dally Concurrent architecture & VLSI group Stanford University Elastic Buffer Flow Control for On-chip Networks.
Design and Evaluation of Hierarchical Rings with Deflection Routing Rachata Ausavarungnirun, Chris Fallin, Xiangyao Yu, ​ Kevin Chang, Greg Nazario, Reetuparna.
CS 8501 Networks-on-Chip (NoCs) Lukasz Szafaryn 15 FEB 10.
1 Lecture 15: Interconnection Routing Topics: deadlock, flow control.
University of Michigan, Ann Arbor
Yu Cai Ken Mai Onur Mutlu
Computer Architecture: Interconnects (Part I) Prof. Onur Mutlu Carnegie Mellon University.
Lecture 16: Router Design
Interconnect Networks Basics. Generic parallel/distributed system architecture On-chip interconnects (manycore processor) Off-chip interconnects (clusters.
Topology-aware QOS Support in Highly Integrated CMPs Boris Grot (UT-Austin) Stephen W. Keckler (NVIDIA/UT-Austin) Onur Mutlu (CMU) WIOSCA '10.
1 Buffering Strategies in ATM Switches Carey Williamson Department of Computer Science University of Calgary.
1 Lecture 22: Router Design Papers: Power-Driven Design of Router Microarchitectures in On-Chip Networks, MICRO’03, Princeton A Gracefully Degrading and.
Virtual-Channel Flow Control William J. Dally
Predictive High-Performance Architecture Research Mavens (PHARM), Department of ECE The NoX Router Mitchell Hayenga Mikko Lipasti.
HAT: Heterogeneous Adaptive Throttling for On-Chip Networks Kevin Kai-Wei Chang Rachata Ausavarungnirun Chris Fallin Onur Mutlu.
1 Lecture 29: Interconnection Networks Papers: Express Virtual Channels: Towards the Ideal Interconnection Fabric, ISCA’07, Princeton Interconnect Design.
1 Lecture 22: Interconnection Networks Topics: Routing, deadlock, flow control, virtual channels.
Chris Fallin Carnegie Mellon University
Effective mechanism for bufferless networks at intensive workloads
Pablo Abad, Pablo Prieto, Valentin Puente, Jose-Angel Gregorio
Rachata Ausavarungnirun, Kevin Chang
Exploring Concentration and Channel Slicing in On-chip Network Router
Lecture 23: Router Design
OpenSMART: Single-cycle Multi-hop NoC Generator in BSV and Chisel
Computer Architecture: Interconnects (Part I)
Rahul Boyapati. , Jiayi Huang
Natalie Enright Jerger, Li Shiuan Peh, and Mikko Lipasti
Lecture: Interconnection Networks
Lecture 25: Interconnection Networks
A Case for Bufferless Routing in On-Chip Networks
Presentation transcript:

MinBD: Minimally-Buffered Deflection Routing for Energy-Efficient Interconnect Chris Fallin, Greg Nazario, Xiangyao Yu*, Kevin Chang, Rachata Ausavarungnirun, Onur Mutlu Carnegie Mellon University *CMU and Tsinghua University

Motivation In many-core chips, on-chip interconnect (NoC) consumes significant power Intel Terascale: ~28% of chip power Intel SCC: ~10% MIT RAW: ~36% Recent work 1 uses bufferless deflection routing to reduce power and die area 2 CoreL1 L2 Slice Router 1 Moscibroda and Mutlu, “A Case for Bufferless Deflection Routing in On-Chip Networks.” ISCA 2009.

Bufferless Deflection Routing Key idea: Packets are never buffered in the network. When two packets contend for the same link, one is deflected. Removing buffers yields significant benefits  Reduces power (CHIPPER: reduces NoC power by 55%)  Reduces die area (CHIPPER: reduces NoC area by 36%) But, at high network utilization (load), bufferless deflection routing causes unnecessary link & router traversals  Reduces network throughput and application performance  Increases dynamic power Goal: Improve high-load performance of low-cost deflection networks by reducing the deflection rate. 3

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 4

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 5

Destination Bufferless Deflection Routing Key idea: Packets are never buffered in the network. When two packets contend for the same link, one is deflected Baran, “On Distributed Communication Networks.” RAND Tech. Report., 1962 / IEEE Trans.Comm., 1964.

Bufferless Deflection Routing Input buffers are eliminated: flits are buffered in pipeline latches and on network links 7 North South East West Local North South East West Local Deflection Routing Logic Input Buffers

Deflection Router Microarchitecture 8 Inject/Eject Reassembly Buffers Reassembly Buffers InjectEject Stage 1: Ejection and injection of local traffic Stage 2: Deflection arbitration Fallin et al., “CHIPPER: A Low-complexity Bufferless Deflection Router”, HPCA 2011.

Issues in Bufferless Deflection Routing Correctness: Deliver all packets without livelock  CHIPPER 1 : Golden Packet  Globally prioritize one packet until delivered Correctness: Reassemble packets without deadlock  CHIPPER 1 : Retransmit-Once Performance: Avoid performance degradation at high load  MinBD 9 1 Fallin et al., “CHIPPER: A Low-complexity Bufferless Deflection Router”, HPCA 2011.

Key Performance Issues 1. Link contention: no buffers to hold traffic  any link contention causes a deflection  use side buffers 2. Ejection bottleneck: only one flit can eject per router per cycle  simultaneous arrival causes deflection  eject up to 2 flits/cycle 3. Deflection arbitration: practical (fast) deflection arbiters deflect unnecessarily  new priority scheme (silver flit) 10

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 11

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 12

Addressing Link Contention Problem 1: Any link contention causes a deflection Buffering a flit can avoid deflection on contention But, input buffers are expensive:  All flits are buffered on every hop  high dynamic energy  Large buffers necessary  high static energy and large area Key Idea 1: add a small buffer to a bufferless deflection router to buffer only flits that would have been deflected 13

How to Buffer Deflected Flits 14 Baseline Router Eject Inject 1 Fallin et al., “CHIPPER: A Low-complexity Bufferless Deflection Router”, HPCA Destination DEFLECTED

How to Buffer Deflected Flits 15 Side-Buffered Router Eject Inject Step 1. Remove up to one deflected flit per cycle from the outputs. Step 2. Buffer this flit in a small FIFO “side buffer.” Step 3. Re-inject this flit into pipeline when a slot is available. Side Buffer Destination DEFLECTED

Why Could A Side Buffer Work Well? Buffer some flits and deflect other flits at per-flit level  Relative to bufferless routers, deflection rate reduces (need not deflect all contending flits)  4-flit buffer reduces deflection rate by 39%  Relative to buffered routers, buffer is more efficiently used (need not buffer all flits)  similar performance with 25% of buffer space 16

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 17

Addressing the Ejection Bottleneck Problem 2: Flits deflect unnecessarily because only one flit can eject per router per cycle In 20% of all ejections, ≥ 2 flits could have ejected  all but one flit must deflect and try again  these deflected flits cause additional contention Ejection width of 2 flits/cycle reduces deflection rate 21% Key idea 2: Reduce deflections due to a single-flit ejection port by allowing two flits to eject per cycle 18

Addressing the Ejection Bottleneck 19 Single-Width Ejection Eject Inject DEFLECTED

Addressing the Ejection Bottleneck 20 Dual-Width Ejection Eject Inject For fair comparison, baseline routers have dual-width ejection for perf. (not power/area)

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 21

Improving Deflection Arbitration Problem 3: Deflections occur unnecessarily because fast arbiters must use simple priority schemes Age-based priorities (several past works): full priority order gives fewer deflections, but requires slow arbiters State-of-the-art deflection arbitration (Golden Packet & two-stage permutation network)  Prioritize one packet globally (ensure forward progress)  Arbitrate other flits randomly (fast critical path) Random common case leads to uncoordinated arbitration 22

Fast Deflection Routing Implementation Let’s route in a two-input router first: Step 1: pick a “winning” flit (Golden Packet, else random) Step 2: steer the winning flit to its desired output and deflect other flit  Highest-priority flit always routes to destination 23

Fast Deflection Routing with Four Inputs 24 Each block makes decisions independently Deflection is a distributed decision N E S W N S E W

Unnecessary Deflections in Fast Arbiters How does lack of coordination cause unnecessary deflections? 1. No flit is golden (pseudorandom arbitration) 2. Red flit wins at first stage 3. Green flit loses at first stage (must be deflected now) 4. Red flit loses at second stage; Red and Green are deflected 25 Destination all flits have equal priority unnecessary deflection!

Improving Deflection Arbitration Key idea 3: Add a priority level and prioritize one flit to ensure at least one flit is not deflected in each cycle Highest priority: one Golden Packet in network  Chosen in static round-robin schedule  Ensures correctness Next-highest priority: one silver flit per router per cycle  Chosen pseudo-randomly & local to one router  Enhances performance 26

Adding A Silver Flit Randomly picking a silver flit ensures one flit is not deflected 1. No flit is golden but Red flit is silver 2. Red flit wins at first stage (silver) 3. Green flit is deflected at first stage 4. Red flit wins at second stage (silver); not deflected 27 Destination At least one flit is not deflected red flit has higher priority all flits have equal priority

Minimally-Buffered Deflection Router 28 Eject Inject Problem 1: Link Contention Solution 1: Side Buffer Problem 2: Ejection Bottleneck Solution 2: Dual-Width Ejection Problem 3: Unnecessary Deflections Solution 3: Two-level priority scheme

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration 29

Outline: This Talk Motivation Background: Bufferless Deflection Routing MinBD: Reducing Deflections  Addressing Link Contention  Addressing the Ejection Bottleneck  Improving Deflection Arbitration Results Conclusions 30

Methodology: Simulated System Chip Multiprocessor Simulation  64-core and 16-core models  Closed-loop core/cache/NoC cycle-level model  Directory cache coherence protocol (SGI Origin-based)  64KB L1, perfect L2 (stresses interconnect), XOR-mapping  Performance metric: Weighted Speedup (similar conclusions from network-level latency)  Workloads: multiprogrammed SPEC CPU randomly-chosen workloads Binned into network-load categories by average injection rate 31

Methodology: Routers and Network Input-buffered virtual-channel router  8 VCs, 8 flits/VC [Buffered(8,8)]: large buffered router  4 VCs, 4 flits/VC [Buffered(4,4)]: typical buffered router  4 VCs, 1 flit/VC [Buffered(4,1)]: smallest deadlock-free router  All power-of-2 buffer sizes up to (8, 8) for perf/power sweep Bufferless deflection router: CHIPPER 1 Bufferless-buffered hybrid router: AFC 2  Has input buffers and deflection routing logic  Performs coarse-grained (multi-cycle) mode switching Common parameters  2-cycle router latency, 1-cycle link latency  2D-mesh topology (16-node: 4x4; 64-node: 8x8)  Dual ejection assumed for baseline routers (for perf. only) 32 1 Fallin et al., “CHIPPER: A Low-complexity Bufferless Deflection Router”, HPCA Jafri et al., “Adaptive Flow Control for Robust Performance and Energy”, MICRO 2010.

Methodology: Power, Die Area, Crit. Path Hardware modeling  Verilog models for CHIPPER, MinBD, buffered control logic Synthesized with commercial 65nm library  ORION 2.0 for datapath: crossbar, muxes, buffers and links Power  Static and dynamic power from hardware models  Based on event counts in cycle-accurate simulations  Broken down into buffer, link, other 33

Deflection Reduced Deflections & Improved Perf. 34 Rate 28%17%22%27%11%10% 1.All mechanisms individually reduce deflections 2. Side buffer alone is not sufficient for performance (ejection bottleneck remains) 3. Overall, 5.8% over baseline, 2.7% over dual-eject by reducing deflections 64% / 54% 5.8% 2.7%

Overall Performance Results 35 Improves 2.7% over CHIPPER (8.1% at high load) Similar perf. to Buffered 25% of buffering space 2.7% 8.1% 2.7%8.3% Within 2.7% of Buffered (4,4) (8.3% at high load)

Overall Power Results 36 Buffers are significant fraction of power in baseline routers Buffer power is much smaller in MinBD (4-flit buffer) Buffers are significant fraction of power in baseline routers Buffer power is much smaller in MinBD (4-flit buffer) Dynamic power increases with deflection routing Dynamic power reduces in MinBD relative to CHIPPER

Performance-Power Spectrum 37 Most energy-efficient (perf/watt) of any evaluated network router design Buf (4,4) Buf (4,1) More Perf/PowerLess Perf/Power Buf (8,8) AFC CHIPPER MinBD

Die Area and Critical Path 38 Only 3% area increase over CHIPPER (4-flit buffer) Reduces area by 36% from Buffered (4,4) Only 3% area increase over CHIPPER (4-flit buffer) Reduces area by 36% from Buffered (4,4) Increases by 7% over CHIPPER, 8% over Buffered (4,4) +3% -36% +7%+8%

Conclusions Bufferless deflection routing offers reduced power & area But, high deflection rate hurts performance at high load MinBD (Minimally-Buffered Deflection Router) introduces:  Side buffer to hold only flits that would have been deflected  Dual-width ejection to address ejection bottleneck  Two-level prioritization to avoid unnecessary deflections MinBD yields reduced power (31%) & reduced area (36%) relative to buffered routers MinBD yields improved performance (8.1% at high load) relative to bufferless routers  closes half of perf. gap MinBD has the best energy efficiency of all evaluated designs with competitive performance 39

THANK YOU! 40

MinBD: Minimally-Buffered Deflection Routing for Energy-Efficient Interconnect Chris Fallin, Greg Nazario, Xiangyao Yu*, Kevin Chang, Rachata Ausavarungnirun, Onur Mutlu Carnegie Mellon University *CMU and Tsinghua University

BACKUP SLIDES 42

Correctness: Golden Packet The Golden Packet is always prioritized long enough to be delivered (hop latency * (max # hops + serialization delay))  “Epoch length”: e.g. 4x4: 3 * (7 + 7) = 42 cycles (pick 64 cyc) Golden Packet rotates statically through all packet IDs  E.g. 4x4: 16 senders, 16 transactions/sender  256 choices Max latency is GP epoch * # packet IDs  E.g., 64*256 = 16K cycles Flits in Golden Packet are arbitrated by sequence # (total order) 43

Correctness: Retransmit-Once Finite reassembly buffer size may lead to buffer exhaustion What if a flit arrives from a new packet and no buffer is free? Answer 1: Refuse ejection and deflect  deadlock! Answer 2: Use large buffers  impractical Retransmit-Once (past work): operate opportunistically & assume available buffers  If no buffer space, drop packet (once) and note its ID  Later, reserve buffer space and retransmit (once) End-to-end flow control provides correct endpoint operation without in-network backpressure 44

Correctness: Side Buffer Golden Packet ensures delivery as long as flits keep moving What if flits get “stuck” in a side buffer? Answer: buffer redirection  If buffered flit cannot re-inject after C threshold cycles, then: 1. Force one input flit per cycle into buffer (random choice) 2. Re-inject buffered flit into resulting empty slot in network If a flit is golden, it will never enter a side buffer If a flit becomes golden while buffered, redirection will rescue it after C threshold * BufferSize (e.g.: 2 * 4 = 8 cyc) Extend Golden epoch to account for this 45

Why does Side Buffer Alone Lose Perf.? Adding a side buffer reduces deflection rate  Raw network throughput increases But ejection is still the system bottleneck  Ejection rate remains nearly constant Side buffers are utilized  more traffic in flight Hence, latency increases (Little’s Law): ~10% 46

Overall Power Results – – – – 0.50 > 0.50 AVG

MinBD vs. AFC AFC:  Combines input buffers and deflection routing  In a given cycle, all link contention is handled by buffers or by deflection (global router mode)  Mode-switch is heavyweight (drain input buffers) and takes multiple cycles  Router has area footprint of buffered + bufferless, but could save power with power-gating (assumed in Jafri et al.)  Better performance at highest loads (equal to buffered) MinBD:  Combines deflection routing with a side buffer  In a given cycle, some flits are buffered, some are deflected  Smaller router and no mode switching  But, loses some performance at highest load 48

Related Work Baran, 1964  Original “hot potato” (deflection) routing BLESS (Moscibroda and Mutlu, ISCA 2009)  Earlier bufferless deflection router  Age-based arbitration  slow (did not consider critical path) CHIPPER (Fallin et al., HPCA 2011)  Assumed baseline for this work AFC (Jafri et al., MICRO 2010)  Coarse-grained bufferless-buffered hybrid SCARAB (Hayenga et al., MICRO 2009), BPS (Gomez+08)  Drop-based deflection networks  SCARAB: dedicated circuit-switched NACK network 49