An Algebraic Multigrid Solver for Analytical Placement With Layout Based Clustering Hongyu Chen, Chung-Kuan Cheng, Andrew B. Kahng, Bo Yao, Zhengyong Zhu.

Slides:



Advertisements
Similar presentations
05/11/2005 Carnegie Mellon School of Computer Science Aladdin Lamps 05 Combinatorial and algebraic tools for multigrid Yiannis Koutis Computer Science.
Advertisements

CSE 245: Computer Aided Circuit Simulation and Verification Matrix Computations: Iterative Methods (II) Chung-Kuan Cheng.
Design Rule Generation for Interconnect Matching Andrew B. Kahng and Rasit Onur Topaloglu {abk | rtopalog University of California, San Diego.
Intel Research Internet Coordinate Systems - 03/03/2004 Internet Coordinate Systems Marcelo Pias Intel Research Cambridge
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Solving POMDPs Using Quadratically Constrained Linear Programs Christopher Amato.
LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational.
A Size Scaling Approach for Mixed-size Placement Kalliopi Tsota, Cheng-Kok Koh, Venkataramanan Balakrishnan School of Electrical and Computer Engineering.
Computer Science & Engineering Department University of California, San Diego SPICE Diego A Transistor Level Full System Simulator Chung-Kuan Cheng May.
1 Numerical Solvers for BVPs By Dong Xu State Key Lab of CAD&CG, ZJU.
1 Physical Hierarchy Generation with Routing Congestion Control Chin-Chih Chang *, Jason Cong *, Zhigang (David) Pan +, and Xin Yuan * * UCLA Computer.
CS 290H 7 November Introduction to multigrid methods
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA
Geometric (Classical) MultiGrid. Hierarchy of graphs Apply grids in all scales: 2x2, 4x4, …, n 1/2 xn 1/2 Coarsening Interpolate and relax Solve the large.
Consistent Placement of Macro-Blocks Using Floorplanning and Standard-Cell Placement Saurabh Adya Igor Markov (University of Michigan)
Multi-Project Reticle Floorplanning and Wafer Dicing Andrew B. Kahng 1 Ion I. Mandoiu 2 Qinke Wang 1 Xu Xu 1 Alex Zelikovsky 3 (1) CSE Department, University.
FastPlace: Efficient Analytical Placement using Cell Shifting, Iterative Local Refinement and a Hybrid Net Model FastPlace: Efficient Analytical Placement.
Algebraic MultiGrid. Algebraic MultiGrid – AMG (Brandt 1982)  General structure  Choose a subset of variables: the C-points such that every variable.
Toward Better Wireload Models in the Presence of Obstacles* Chung-Kuan Cheng, Andrew B. Kahng, Bao Liu and Dirk Stroobandt† UC San Diego CSE Dept. †Ghent.
1 EE 616 Computer Aided Analysis of Electronic Networks Lecture 5 Instructor: Dr. J. A. Starzyk, Professor School of EECS Ohio University Athens, OH,
Fast, Multiscale Image Segmentation: From Pixels to Semantics Ronen Basri The Weizmann Institute of Science Joint work with Achi Brandt, Meirav Galun,
Supply Voltage Degradation Aware Analytical Placement Andrew B. Kahng, Bao Liu and Qinke Wang UCSD CSE Department {abk, bliu,
Local Unidirectional Bias for Smooth Cutsize-delay Tradeoff in Performance-driven Partitioning Andrew B. Kahng and Xu Xu UCSD CSE and ECE Depts. Work supported.
Fast and Area-Efficient Phase Conflict Detection and Correction in Standard-Cell Layouts Charles Chiang, Synopsys Andrew B. Kahng, UC San Diego Subarna.
Geometric (Classical) MultiGrid. Linear scalar elliptic PDE (Brandt ~1971)  1 dimension Poisson equation  Discretize the continuum x0x0 x1x1 x2x2 xixi.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
Jana van Greunen - 228a1 Analysis of Localization Algorithms for Sensor Networks Jana van Greunen.
CDCTree: Novel Obstacle-Avoiding Routing Tree Construction based on Current Driven Circuit Model Speaker: Lei He.
Radial Basis Function Networks
More Realistic Power Grid Verification Based on Hierarchical Current and Power constraints 2 Chung-Kuan Cheng, 2 Peng Du, 2 Andrew B. Kahng, 1 Grantham.
Incomplete Graphical Models Nan Hu. Outline Motivation K-means clustering Coordinate Descending algorithm Density estimation EM on unconditional mixture.
Dose Map and Placement Co-Optimization for Timing Yield Enhancement and Leakage Power Reduction Kwangok Jeong, Andrew B. Kahng, Chul-Hong Park, Hailong.
A Multigrid Solver for Boundary Value Problems Using Programmable Graphics Hardware Nolan Goodnight Cliff Woolley Gregory Lewin David Luebke Greg Humphreys.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Fast Thermal Analysis on GPU for 3D-ICs with Integrated Microchannel Cooling Zhuo Fen and Peng Li Department of Electrical and Computer Engineering, {Michigan.
New method to optimize Force-directed layouts of large graphs Meva DODO, Fenohery ANDRIAMANAMPISOA, Patrice TORGUET, Jean Pierre JESSEL IRIT University.
TSV-Aware Analytical Placement for 3D IC Designs Meng-Kai Hsu, Yao-Wen Chang, and Valerity Balabanov GIEE and EE department of NTU DAC 2011.
PiCAP: A Parallel and Incremental Capacitance Extraction Considering Stochastic Process Variation Fang Gong 1, Hao Yu 2, and Lei He 1 1 Electrical Engineering.
March 20, 2007 ISPD An Effective Clustering Algorithm for Mixed-size Placement Jianhua Li, Laleh Behjat, and Jie Huang Jianhua Li, Laleh Behjat,
Hans De Sterck Department of Applied Mathematics University of Colorado at Boulder Ulrike Meier Yang Center for Applied Scientific Computing Lawrence Livermore.
Gordian Placement Tool: Quadratic and Linear Problem Formulation Ryan Speelman Jason Gordon Steven Butt EE 201A
Analytic Placement. Layout Project:  Sending the RTL file: −Thursday, 27 Farvardin  Final deadline: −Tuesday, 22 Ordibehesht  New Project: −Soon 2.
ParCFD Parallel computation of pollutant dispersion in industrial sites Julien Montagnier Marc Buffat David Guibert.
Quadratic and Linear WL Placement Using Quadratic Programming: Gordian & Gordian-L Shantanu Dutt ECE Dept., Univ. of Illinois at Chicago Acknowledgements:
Multilevel Generalized Force-directed Method for Circuit Placement Tony Chan 1, Jason Cong 2, Kenton Sze 1 1 UCLA Mathematics Department 2 UCLA Computer.
Partition-Driven Standard Cell Thermal Placement Guoqiang Chen Synopsys Inc. Sachin Sapatnekar Univ of Minnesota For ISPD 2003.
Register Placement for High- Performance Circuits M. Chiang, T. Okamoto and T. Yoshimura Waseda University, Japan DATE 2009.
Zibin Zheng DR 2 : Dynamic Request Routing for Tolerating Latency Variability in Cloud Applications CLOUD 2013 Jieming Zhu, Zibin.
Xianwu Ling Russell Keanini Harish Cherukuri Department of Mechanical Engineering University of North Carolina at Charlotte Presented at the 2003 IPES.
An Efficient Linear Time Triple Patterning Solver Haitong Tian Hongbo Zhang Zigang Xiao Martin D.F. Wong ASP-DAC’15.
Distributed Computation: Circuit Simulation CK Cheng UC San Diego
*Man-Cheol Kim, Hyung-Jo Jung and In-Won Lee *Man-Cheol Kim, Hyung-Jo Jung and In-Won Lee Structural Dynamics & Vibration Control Lab. Structural Dynamics.
Introduction to Scientific Computing II Multigrid Dr. Miriam Mehl.
Lecture 21 MA471 Fall 03. Recall Jacobi Smoothing We recall that the relaxed Jacobi scheme: Smooths out the highest frequency modes fastest.
Unsupervised Auxiliary Visual Words Discovery for Large-Scale Image Object Retrieval Yin-Hsi Kuo1,2, Hsuan-Tien Lin 1, Wen-Huang Cheng 2, Yi-Hsuan Yang.
Unified Quadratic Programming Approach for Mixed Mode Placement Bo Yao, Hongyu Chen, Chung-Kuan Cheng, Nan-Chi Chou*, Lung-Tien Liu*, Peter Suaris* CSE.
Global Clustering-Based Performance-Driven Circuit Partitioning Jason Cong University of California Los Angeles Chang Wu Aplus Design.
Circuit Simulation using Matrix Exponential Method Shih-Hung Weng, Quan Chen and Chung-Kuan Cheng CSE Department, UC San Diego, CA Contact:
A Parallel Hierarchical Solver for the Poisson Equation Seung Lee Deparment of Mechanical Engineering
1 Double-Patterning Aware DSA Template Guided Cut Redistribution for Advanced 1-D Gridded Designs Zhi-Wen Lin and Yao-Wen Chang National Taiwan University.
Hui Liu University of Calgary
Andrew B. Kahng and Xu Xu UCSD CSE and ECE Depts.
Haihua Su, Sani R. Nassif IBM ARL
CSE 245: Computer Aided Circuit Simulation and Verification
GPU Implementations for Finite Element Methods
mPL 5 Overview ISPD 2005 Placement Contest Entry
Introduction to Scientific Computing II
University of Virginia
Transient Analysis of Power System
Presentation transcript:

An Algebraic Multigrid Solver for Analytical Placement With Layout Based Clustering Hongyu Chen, Chung-Kuan Cheng, Andrew B. Kahng, Bo Yao, Zhengyong Zhu University of California, San Diego Nan-Chi Chou, John F. MacDonald, Peter Suaris Mentor Graphics Corporation

Outline Analytical placement background Analytical placement background Algebraic multigrid solver Algebraic multigrid solver Layout based clustering Layout based clustering Experimental results Experimental results Conclusions Conclusions

Analytical Placement Successfully introduced and applied for 20 years Successfully introduced and applied for 20 years Minimize quadratic wire length Minimize quadratic wire length Basic formulation is a quadratic programming (QP) Basic formulation is a quadratic programming (QP) Optimal solution is given by the linear equation systems Optimal solution is given by the linear equation systems CX+d x =0 CY+d y =0

Matrix Solver Is the Key Need additional force to make cell distribution even Need additional force to make cell distribution even (Eisenmann & Johannes, DAC 1998) e x is based on cell density, need iterations to update e x is based on cell density, need iterations to update Key observation Key observation Linear equations with the same system matrix C is to be solved for many times A fast matrix solver is the key technology for analytical placement A fast matrix solver is the key technology for analytical placement

Ever Increasing Problem Dimensions ITRS roadmap ITRS roadmap –1 billion transistors integration in year 2007 –Millions of unknowns for the linear equation Number of transistors in a typical MPU/ASIC design (Millions) Year (source: ITRS Roadmap 2002 update)

Hierarchy Is the Way to Go Placement Placement –T.Chan, J. Cong, et al, Multilevel Optimization for Large-scale Circuit Placement, ICCAD 2000 –X.Hong, et al, CASH, ASP-DAC 2000 –Hsun Cheng Lee, et al, Multilevel Floorplanning for Large-Scale Building Block Design, DAC 2003 Graph partitioning/clustering Graph partitioning/clustering –G. Karypis and V. Kumar, hMETIS, 1998 –C.J.Alpert, et al, Multilevel Circuit Partitioning, 1998 Multigrid Multigrid –W.L.Briggs, V.E.Henson, S.F.McCormic, A Multigrid Tutorial, 2000 –K.Stüben, A Review of Algebraic Multigrid, 1999

AMG – a Good Candidate Algebraic MultiGrid – a new branch of the multigrid method Algebraic MultiGrid – a new branch of the multigrid method The method is scalable The method is scalable –O(n) time complexity theoretically. –SOR and PCG are O(nlogn). Guaranteed convergence and optimality Guaranteed convergence and optimality Overcome the restriction of classic multigrid, can be applied to linear systems without regular structure. Overcome the restriction of classic multigrid, can be applied to linear systems without regular structure. A hierarchy of linear systems are derived directly from the original equation. A hierarchy of linear systems are derived directly from the original equation.

AMG Idea (1): A Hierarchy of Problems Defined by a clustering scheme Defined by a clustering scheme  (0) A (0) X (0) =b (0)  (1) A (1) X (1) =b (1) 2 1  (2) A (2) X (2) =b (2) Original Problem

AMG Idea (2) : Solution Mapping Between Levels Coarse level node position is the average of fine level components Coarse level node position is the average of fine level components  (1) 2 1  (2) Interpolation : Interpolation : Restriction : Restriction :

AMG Idea (3): V-cycle Iterations Description of the algorithm in 2 levels Description of the algorithm in 2 levels A (1) X (1) = b (1)  (0)  (1) A (0) X (0) = b (0) Iterate => Start with Interpolation :  Restriction:  Iterate => Extend to multi-levels Extend to multi-levels Update R (0), b (1)

Derive Linear Systems for All Levels Galakin operation Galakin operation A is symmetric positive definite A is symmetric positive definite Easy operation with interpolation and restriction operators, only addition performed Easy operation with interpolation and restriction operators, only addition performed It introduces overhead to the solution process It introduces overhead to the solution process

Why Iterate at Coarse Levels ? Smaller problem => less CPU time Smaller problem => less CPU time Coarse level iterate is more efficient in reducing errors Coarse level iterate is more efficient in reducing errors –Iterations on each level are efficient only in reducing high frequency errors to that level –Restriction operation will transform low frequency errors into high frequency ones, which can be efficiently reduced at coarse level Idea of multigrid: Idea of multigrid: –Iterations to reduce high frequency error in each level, leave the low frequency error for the coarser level.

Aggregate-type of AMG Our approach turns out to be aggregate-type of AMG Our approach turns out to be aggregate-type of AMG –Interpolation: one fine level node depends only on one coarse level node. Pros Pros –Can be used with any clustering scheme –Simple derivation of the problems and simple solution mapping, less overhead Cons Cons –Piecewise linear interpolation, less effective.

Layout Based Clustering Motivation: identify which cells stay close together in the placement. Motivation: identify which cells stay close together in the placement. The clustering is needed for the AMG process. The clustering is needed for the AMG process. Layout based clustering Layout based clustering –Edge coarsening –Edge weight is according to the distance info –Collapse the edge with shortest distance first Alternatives Alternatives –hMETIS –Random

Distance Information of An Edge Distance information is calculated based on trials of placement Distance information is calculated based on trials of placement “Blown-up” placement “Blown-up” placement Starting point All cells at the same position Iterations on solving equations Snapshot of the placement when the standard deviation of cell coordinates is max

Deriving the Distance of An Edge Distance between cell i and j, d ij Distance between cell i and j, d ij d ij = d ij (ll) + d ij (lr) + d ij (ul) + d ij (ur) (1)(2) (3)(4)

Experimental Settings Two experiments Two experiments –Convergence comparison with SOR and PCG solvers SOR (  = 1.95 ) SOR (  = 1.95 ) PCG ( Incomplete Cholesky factorization precondition) PCG ( Incomplete Cholesky factorization precondition) –Comparison with different clustering algorithms Layout based clustering Layout based clustering hMETIS clustering hMETIS clustering Random clustering Random clustering Solve the system Ax=b once Solve the system Ax=b once Check relative error, e r =||X-X*|| ∞ / ||X*|| ∞ Check relative error, e r =||X-X*|| ∞ / ||X*|| ∞ Test cases from ISPD #cells 12k to 200k Test cases from ISPD #cells 12k to 200k

Comparison of the Solvers CPU time to converge to relative error CPU time to converge to relative error Case Number CPU Time (sec) AMG PCG SOR

Example Convergence Histories AMG solver converges fast at the beginning AMG solver converges fast at the beginning erer CPU Time (sec) AMG PCG SOR

Comparison of the Clustering Methods (1) CPU time to reach relative error CPU time to reach relative error Layout HMetis Random Case Number CPU Time (sec)

Layout HMetis Random Comparison of the Clustering Methods (2) Clustering time comparison Clustering time comparison CPU Time (sec) Case Number

Conclusions A hierarchical solver is important for large scale analytical placement problem A hierarchical solver is important for large scale analytical placement problem Algebraic multigrid method converges very fast at the beginning stage of iterations. It is a promising technology for solving linear equations in analytical placement Algebraic multigrid method converges very fast at the beginning stage of iterations. It is a promising technology for solving linear equations in analytical placement Layout based clustering scheme is useful for AMG solver Layout based clustering scheme is useful for AMG solver

Thank you !