1819 Pages

Lecture13

Course: CME 212, Fall 2009
School: Stanford
Rating:
 
 
 
 
 

Word Count: 113949

Document Preview

Lecture CME212 13 Optimization Blockers, ILP, Pipelines Function Side Effects A function side effect occurs when you modify something other than the return value of the function Global variables Function arguments (call-by-reference) Example d = max(dist(p,q),dist(q,r)) What if dist modifies q? More on Side Effects int func1(x) { return f(x)+f(x)+f(x)+f(x); } int func2(x) { return 4*f(x); } Is it safe to...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Stanford >> CME 212

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Lecture CME212 13 Optimization Blockers, ILP, Pipelines Function Side Effects A function side effect occurs when you modify something other than the return value of the function Global variables Function arguments (call-by-reference) Example d = max(dist(p,q),dist(q,r)) What if dist modifies q? More on Side Effects int func1(x) { return f(x)+f(x)+f(x)+f(x); } int func2(x) { return 4*f(x); } Is it safe to replace func1 by func2 to save 3 function calls? Side Effects, contd What if f() is defined as follows? int counter = 0; int f(int x) { return counter++; } func1() will return 6 and func2() will return 0 const-correctness In ANSI C you add the keyword const to arguments that are read-only The memory object will never be written to Can also be used for variables to make them into constants Helps the compiler to do analysis v is pointing to a readonly object const double pi = 3.14159; double norm(const double *v, int length) Side Effect Example if ( (x < y) || foo(x) ) Where x and y are floats. foo() is function returning an int (boolean). If foo(x) does not change its input, then there are cases (where x>=y) when the function foo() does not have to be evaluated (short-circuit evaluation) Saves work if foo() is expensive If foo() does change its input, if statement might not behave reliably Branches if-statements always introduce overhead, since a conditional must be evaluated jumps in the executable code (originating from ifstatements or loops) make life hard for modern processors (they disturb the instruction pipelining) Sometimes it is possible to reduce the overhead by performing the tests or evaluating the conditional in another way If possible, use the case-construct (switch statement in C). This reduces the risk of redundant tests In an if-elseif-hierarchy or a case-construct, one or a few cases are often more frequent than the others. Test for these cases first, to reduce the average number of tests Branches, contd The evaluation of the conditional is normally performed from left to right, and the evaluation is stopped as soon as a decision can be made. This should be exploited when constructing the conditional: BAD: if(i<ExpensiveComputation() && i>0)... BETTER: if(i>0 && i<ExpensiveComputation())... SAFEST: if(i>0) { if(i<ExpensiveComputation())... } Loop-independent conditionals Placing the conditional inside the loop should always be avoided if it is loop-independent for(i=0;i<N;i++) if(a==0) b[i]=2*i; should be if(a==0) for(i=0;i<N;i++) b[i]=2*i; Vector ADT length data 0 1 2 length1 Procedures vec_ptr new_vec(int len) Create vector of specified length int get_vec_element(vec_ptr v, int index, int *dest) Retrieve vector element, store at *dest Return 0 if out of bounds, 1 if successful int *get_vec_start(vec_ptr v) Return pointer to start of vector data Similar to array implementations in Pascal, ML, Java e.g., always do bounds checking Combine Operation void combine1(vec_ptr v, int *dest) { int i; *dest = 0; for (i = 0; i < vec_length(v); i++) { int val; get_vec_element(v, i, &val); *dest += val; } } Procedure Compute sum of all elements of integer vector Store result at destination location Vector data structure and operations defined via abstract data type Pentium II/III Performance: Clock Cycles / Element 42.06 (Compiled -g) 31.25 (Compiled -O2) Understanding Loop Inefficiency Procedure vec_length called every iteration Even though result always the same void combine1-goto(vec_ptr v, int *dest) { int i = 0; int val; *dest = 0; if (i >= vec_length(v)) goto done; loop: 1 iteration get_vec_element(v, i, &val); *dest += val; i++; if (i < vec_length(v)) goto loop done: } Move vec_length Call Out of Loop Optimization Move call to vec_length out of inner loop Value does not change from one iteration to next Code motion void combine2(vec_ptr v, int *dest) { int i; int length = vec_length(v); *dest = 0; for (i = 0; i < length; i++) { int val; get_vec_element(v, i, &val); *dest += val; } } CPE: 20.66 (Compiled O2) vec_length requires only constant time, but significant overhead Code Motion Example #2 Procedure to Convert String to Lower Case void lower(char *s) { int i; for (i = 0; i < strlen(s); i++) if (s[i] >= 'A' && s[i] <= 'Z') s[i] -= ('A' - 'a'); } Lower Case Conversion Performance Time quadruples when double string length Quadratic performance lower1 1000 100 CPU Seconds 10 1 0.1 0.01 0.001 0.0001 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 String Length Convert Loop To Goto Form strlen executed every iteration strlen linear in length of string Must scan string until finds '\0' void lower(char *s) { int i = 0; if (i >= strlen(s)) goto done; loop: if (s[i] >= 'A' && s[i] <= 'Z') s[i] -= ('A' - 'a'); i++; if (i < strlen(s)) goto loop; done: } Overall performance is quadratic Improving Performance Move call to strlen outside of loop Since result does not change from one iteration to another Form of loop invariant code motion void lower(char *s) { int i; int len = strlen(s); for (i = 0; i < len; i++) if (s[i] >= 'A' && s[i] <= 'Z') s[i] -= ('A' - 'a'); } Lower Case Conversion Performance Time doubles when double string length Linear performance 1000 100 CPU Seconds 10 1 0.1 0.01 0.001 0.0001 0.00001 0.000001 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 String Length lower1 lower2 Optimization Blocker: Procedure Calls Why couldnt the compiler move vec_len or strlen out of the inner loop? Function may have side effects Alters global state each time called Function may not return same value for given arguments Depends on other parts of global state Procedure lower could interact with strlen Why doesnt compiler look at code for vec_len or strlen? Linker may overload with different version Unless declared static Interprocedural optimization is not used extensively due to cost Warning: Compiler treats procedure call as a black box Weak optimizations in and around them Reduction in Strength void combine3(vec_ptr v, int *dest) { int i; int length = vec_length(v); int *data = get_vec_start(v); *dest = 0; for (i = 0; i < length; i++) { *dest += data[i]; } Optimization Avoid procedure call to retrieve each vector element Get pointer to start of array before loop Within loop just do pointer reference Not as clean in terms of data abstraction CPE: 6.00 (Compiled -O2) Procedure calls are expensive! Bounds checking is expensive Eliminate Unneeded Memory Refs void combine4(vec_ptr v, int *dest) { int i; int length = vec_length(v); int *data = get_vec_start(v); int sum = 0; for (i = 0; i < length; i++) sum += data[i]; *dest = sum; } Optimization Dont need to store in destination until end Local variable sum held in register Avoids memory 1 read, 1 memory write per cycle CPE: 2.00 (Compiled -O2) Memory references are expensive! General forms of combining void abstract_combine4(vec_ptr v, data_t *dest) { int i; int length = vec_length(v); data_t *data = get_vec_start(v); data_t t = IDENT IDENT; for (i = 0; i < length; i++) t = t OP data[i]; *dest = t; } Data Types Use different declarations for data_t int float double Operations Use different definitions of OP and IDENT + / 0 * / 1 Machine-independent Opt. Results Method + gcc -g gcc -O2 Move vec_length data access Accum. in temp 42.06 31.25 20.66 6.00 2.00 Integer * 41.86 33.25 21.25 9.00 4.00 Floating Point + * 41.44 31.25 21.15 8.00 3.00 160.00 143.00 135.00 117.00 5.00 When using multiplication, the combine operation corresponds to a factorial. FP units will overflow at i=34 and i=171. After overflow, you will only compute with NaNs which is much slower (compare to denorms). When accum. in temp an 80-bit register is used which does not overflow, see page 423-424 in OHallaron Software Optimization The compiler is our fundamental tool Debuggers and profilers too! Example of tasks Remove optimization blockers Rule out pathological cases Remove unnecessary overheads Inlining Algebraic optimizations Code motion In some cases we must act as compilers Requires deep understanding of both compilers and hardware CPU Improvements CPUs are made out of transistors Technology Moores law predicts that the number of transistors that can be put into a single chip doubles every 18th month. Incredibly small transistors Currently we are at 90nm Will probably go to 65nm this year and maybe 45nm next year An atom is about 0.3nm Small transistors have faster switching time Speeding up CPUs Faster transistors means higher performance More transistors means more logic to do intelligent things More transistors means more cache memory Increase clock frequency The von Neumann Model Memory Fetches instructions from the memory referenced by the program conter (PC) and computes results based on the data the instruction specified The Arithmetical-Logic Unit (ALU) does the actual work In this simple model, access times to memory is uniform PC Registers ALU How long is a CPU cycle? 1982: 5MHz 200ns 60 m (in vacuum) 2002: 3GHz clock 0.3ns 0.3ns 10cm (in vacuum) 3mm (on silicon) Instruction Stages Instructions need to be fetched from memory Encoded in the ISA of the chip They have to be decoded To know which parts of the CPU logic that are going to be used Many instructions fetch memory into registers Both reads and writes Arithmetic work needs to be done once data is safely stored into the registers The different stages are performed using logic from different parts of the chip Timing Signals traveling Instruction Stages, Example Instructions can often be divided into several independent parts (stages) 1. 2. 3. 4. 5. Instruction fetch (IF) Instruction decode/register fetch (ID) Execution/effective address (EX) Memory access (MEM) Write-back (WB) Branch instructions require 2 stages, stores 4 stages and the rest 5 Observations All steps are performed in succession Steps are waiting for work most of the time Logic is idling The average CPI is about 4.54 if we assume a branch frequency of 12% and a store frequency of 10% Solution: use pipelining Start a new instruction each cycle Each of the clock cycles becomes a pipe stage Use all logic more Real-World Pipelines: Car Washes Sequential Parallel Idea Pipelined Divide process into independent stages Move objects through stages in sequence At any given times, multiple objects being processed Pipelines 1 Inst 1 IF Inst 2 Inst 3 Inst 4 Inst 5 2 ID IF 3 EX ID IF 4 MEM EX ID IF 5 WB 6 7 8 9 MEM WB EX ID IF MEM WB EX ID MEM WB EX MEM WB Pipeline Speedup For a 5 stage pipeline we can execute one instruction per cycle if pipe is full 5 times speedup In general a pipe of length n will give a speedup of n if we ignore startup cost Asymptotic performance Same technique used in fabrication industry Cars, mobile phones, etc. Problems with Pipelines Works fine if we can start a new instruction every clock cycle Instructions are independent If the pipeline detects a hazard it stalls, causing pipeline bubble Branch hazards Instructions are started every clock cycle A branch can make instructions halfway through the pipe unneccessary The pipe needs to be flushed Other hazards include structural hazards (chip resources) and data hazards (dependencies) Example: We are out of steering wheels, must wait Unusual to get a CPI of 1.0 More on Pipelines Some operations, such as floating point operations, take much longer time to decode and operate upon More logic used Functional unit Int ADD Int MUL FP MUL FP DIV Typical cost in cycles 1 2 4 29 Dealing with Data Hazards Dependent instructions might stall if Memory access takes a long time We are out of registers Use a lot of logic (FP DIV) We can fill the bubble with other instructions that do not depend on the stalling instruction Instruction scheduling Decreases CPI Sometimes not possible Today: ~10-20 stages and 4-6 pipes I Issue logic I I I R R R R Regs Mem B M MW B M MW B M MW Instruction Scheduling Compilers know which resources are available and how long instructions take Compilers schedule the instructions Tries to minimize pipeline bubbles Keep all resources busy (increase parallelism) Sometimes we will have bubbles due to hazards Can be improved using Branch prediction Out-of-order execution Branch Prediction We can guess the outcome of a branch and let the branch instruction travel through the pipeline Less bubbles If our guess was wrong, we have to kill operations in the pipeline that depend on the misspredicted branch Roll back Very good accuracy 90-95% correct predictions for SPECcpu Out-of-order Execution Dynamic instruction scheduling Overcomes data hazards Lets independent instructions pass blocking instructions in the pipeline Size of reorder buffer determines how far in the future we can see Putting it all Together 6-8 pipelines 2 load/store, 2 int, 4 floating point Complex Many pipeline stages allow high clock frequencies Small amount of logic in each step Large out-of-order buffers Complex Problems with interupts and exceptions Advanced branch prediction Complex Lots of logic, still hard to get instruction-level parallelism CPU Capabilities of Pentium III Multiple Instructions Can Execute in Parallel 1 load 1 store 2 integer (one may be branch) 1 FP Addition 1 FP Multiplication or Division Some Instructions Take > 1 Cycle, but Can be Pipelined Instruction Latency Load/Store 3 Integer Multiply 4 Integer Divide 36 Double/Single FP Multiply 5 Double/Single FP Add 3 Double/Single FP Divide 38 Cycles/Issue 1 1 36 2 1 38 Limit of ILP
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Stanford - BBI - 1035
US District Court Civil Docket as of 8/22/2007 Retrieved from the court on Thursday, September 04, 2008U.S. District Court Northern District of Texas (Dallas) CIVIL DOCKET FOR CASE #: 3:05-cv-02213-NCongregation Ezra Sholom v. Blockbuster, Inc. et
Stanford - NATIONALPA - 1012
Stanford - CMM - 1004
INTHE UNITED STATES DISTRICT (`E~EU CO FOR THE DISTRICT OF MARYLAND-~W-1MAR 3 0 200 0A 1 lJ Y1Gw .l4&quot;.i 1: _In re CRIIMI MAE, INC . SECURITIES LITIGATIONCLERK U.3.DISTRI LX?l~R` DISTRICT OF MA R RYLANDRv0VUTV- Master File No . DKC 98
Stanford - FWHT - 1034
UNITED STATES DISTRICT COURT MIDDLE DISTRICT OF FLORIDA FORT MYERS DIVISIONIN RE: MIVA, INC., Securities LitigationCase No.2:05-cv-201-FtM-29DNFOPINION AND ORDER This matter Certify Class a Response plaintiffs defendants comes before the Cour
Stanford - AEI - 1035
US District Court Civil Docket as of 01/23/2006 Retrieved from the court on Monday, February 27, 2006U.S. District Court Western District of Kentucky (Louisville)CIVIL DOCKET FOR CASE #: 3:00-cv-00382-CRS-JDMLawson, et al v. Advanced Equities, e
Stanford - NATIONALPA - 1012
US District Court Civil Docket as of 05/02/2006 Retrieved from the court on Wednesday, August 02, 2006U.S. District Court Central District Of California (Western Division - Los Angeles)CIVIL DOCKET FOR CASE #: 2:98-cv-07035-DDP-AJWIn Re Real Est
Stanford - MRCH - 1016
US District Court Civil Docket as of 07/25/2006 Retrieved from the court on Wednesday, July 26, 2006United States District Court Northern District of Illinois (Chicago)CIVIL DOCKET FOR CASE #: 1:00-cv-06676Sutton, et al v. marchFIRST Inc, et al
Stanford - LGND - 1031
Stanford - SPF - 1039
14JOON M. KHANG (#188722) LEE HONG DEGERMAN KANG &amp; SCHMADEKA 660 S. Figueroa Street, Suite 2300 Los Angeles, California 90017 Telephone: (213) 623-2221 Facsimile : (213) 623-2211 Email : jkhang@ lhlaw.com Attorneys for Plaintiff Vinod Patel';.,
Stanford - AFCE - 1027
US District Court Civil Docket as of 09/30/2005 Retrieved from the court on Tuesday, February 14, 2006U.S. District Court Northern District of Georgia (Atlanta)CIVIL DOCKET FOR CASE #: 1:03-cv-00817-TWTNugent, et al v. AFC Enterprises, Inc, et a
Stanford - EE - 486
IEEE TRANSACTIONS ON COMPUTERS, VOL. 46, NO. 4, APRIL 1997495Efficient Initial Approximation for Multiplicative Division and Square Root by a Multiplication with Operand ModificationMasayuki Ito, Naofumi Takagi, Member, IEEE, and Shuzo Yajima, S
Stanford - BIOCHEM - 201
DNA TOPOLOGYBiochemistry 201 Advanced Molecular Biology January 7, 2000 Doug Brutlag Introduction The double-stranded structure of DNA has many implications for biological function. Replication, at first appeared facilitated because genetic informat
UCSD - JACK - 865
1Image Enhancement for Fluid Lens Camera Based on Color CorrelationJack Tzeng*, Student Member, IEEE, Truong Q. Nguyen, Fellow, IEEEAbstractThe novel eld of uid lens cameras introduces unique image processing challenges. Intended for surgical ap
Rochester - ECE - 234
revisedDepartment of Electrical &amp; Computer Engineering ECE434 Homework #8 due: 26 March, 2008 -1) Starting with the transmission matrices for the individual 2port networks in the cascaded system below, use matrix multiplication to find the coeffici
East Los Angeles College - G - 5085
AnalysisCOURSE DOCUMENT Spring and Summer 2009Lecturer Prof. Erik Burman Telephone: (67)8933 Email: E.N.Burman@sussex.ac.uk Web: http:/www.maths.sussex.ac.uk/ erik Spring term oce hours Mantell Building, Room 2A16: Tuesday 11.00 to 13.00. Lectures
Alabama - FI - 302
Fi302 Business Finance Prof. DownsExam 4 Fall 20071. AP11b Capital market line price of risk and incremental risk premium Analysts tell you that the risk-free rate of return equals 6.5% and the market portfolios required rate of return and risk (
Alabama - CH - 437
J. Org. Chem., Vol. 70, No. 1, 2005 17AGuidelines for AuthorsRevised January 2005Major changes for 2005 b All manuscripts are submitted as digital files on the ACS Paragon Web site. Mailed hardcopy manuscripts are no longer accepted. x The defin
Alabama - CH - 237
Grading Cover Sheet - Experiment 7: Synthesis of Isopentyl Acetate (Banana Oil) student: _ section: _ TA: _Prelab (8 pts) : balanced equation for reaction (2) reaction mechanism (2) table of materials &amp; properties (including hazards) (2) outline of
Rochester - PHY - 246
Alabama - EC - 471
Implementing and Interpreting Sample Selection ModelsBy Kevin Sweeney Political Research LabWe will kick off the methods lunch today with my presentation on sample selection models. This is an appropriate topic because sample selection problems a
Stanford - CS - 140
CS 140 - Summer 2008 - Handout #24: Protection &amp; SecurityReadings! Silberchatz, Galvin, Gagne: 7th edition: chapters 14, 15 6th edition: chapters 18, 19Protection!The purpose of a protection system is to prevent accidental or intentional mis
Alabama - CS - 205
CS205AdvancedWebsiteDesignwithJavaScriptSPRING2009 (30)3hours OutlineofTopics:historyandstructureoftheInternet,Web2.0,XHTML,CSS,JavaScript,DOM,XML CourseObjective:Tosensitizestudentstothevalidprinciplesofwebsitedesignandincreasestudentsskills whenwo
Alabama - CS - 340
CS340LegalandEthicalIssuesinComputingSPRING20093hoursPrerequisite:CS102orequivalent CourseObjective:Toincreaseawarenessoftheethicalandlegalissuesofcomputingandresponsibleuse. CourseDescription:Bywayofcasestudy,wewillfindandframeissues.Attheconclusio
Alabama - CS - 205
CS 205 - Advanced Website Design with JavaScript Spring 2008 (3-0) 3 hours Outline of Topics: history and structure of the Internet, Web 2.0, XHTML, CSS, JavaScript, DOM, XML Course Objective: To sensitize students to the valid principles of web
Rochester - AAH - 255
Stanford - C - 0805263
Monte Carlo for the SNO Proportional CountersB. Beltran, J. Monroe, N. S. Oblath, G. Prior, K. Rielage, R. G. H. Robertson, H. S. Wan Chan Tseungfor the SNO CollaborationIntroductionThe Sudbury Neutrino Observatory (SNO) is a heavy-water Cheren
N.C. State - ARE - 201
ARE 201 Spring 2009, Test 2Name _KEY_I. Complete the sentence or provide the short answer on the answer sheet. 1. Business costs unrelated to how much output is produced are called fixed costs. 2. Business costs that change as the amount of outpu
N.C. State - ARE - 201
Lecture 5: Costs and Producing 1. Types of business organizations sole proprietorship: one owner runs everything partnership: multiple owners corporation: shareowners own the business; shares can be bought and sold; shareholders hire a CEO (chief exe
N.C. State - EC - 201
Stanford - C - 020909
Development of an Active Pixel Sensor Vertex DetectorH. Matis, F. Bieser, G. Rai, F. Retiere, S. Wurzel, H. Wieman, E. Yamamato, LBNL S. Kleinfelder, K. Singh, UCI H. Bichel, U. WashingtonSTAR Needs a Thin Vertex Detector to Measure Charm at RHIC
N.C. State - EC - 202
NCSU Department of EconomicsEC-202 PRINCIPLES OF MACROECONOMICS Summer 2008 CHAPTER 1 Economics: Foundations and Models.1. Reasons to study economics: Understand what's going on. Make right decisions. Prepare for other careers. To be an infor
N.C. State - EC - 202
NCSU Department of EconomicsEC-202 PRINCIPLES OF MACROECONOMICS Summer 2008 CHAPTER 10 Long-Run Economic Growth: Sources and Policies1. Economic Growth Over Time and Around the World Until 1300 A.D. most people survived with barely enough to eat
N.C. State - EC - 202
NCSU Department of EconomicsEC-202 PRINCIPLES OF MACROECONOMICS Summer 2008CHAPTER 13 Money, Banks, and the Federal Reserve System 1. What Is Money and Why Do We Need It? Money is any asset that people are generally willing to accept in exchange
N.C. State - EC - 201
N.C. State - CSC - 791
Quality of Protection (QoP): A Quantitative Unifying Paradigm to Protection Service GradesOri Gerstel and Galen SasakiNortel Networks and the University of Hawaii. Email: ori@ieee.org, sasaki@spectra.eng.hawaii.eduIn this paper we provide a quanti
N.C. State - CSC - 791
CSC/ECE 791B Survivable NetworksFinal test: Issued 4/24/07, Due 5/8/07 (mid-day) Answer any three of the following six questions. Question on p-Cycles In the various papers on p-Cycles including [Grover-Stamatelakis-DRCN00], the point has been made
N.C. State - CSC - 791
An Efficient Search Algorithm Find the Elementary Circuits of a GraphJAMES C. TIERNANtothe pictorial form of a graph each vertex is represented by a point and the relation vi E F (v~) is represented by an arc (a directed line) from the point vl
N.C. State - CSC - 791
2846JOURNAL OF LIGHTWAVE TECHNOLOGY, VOL. 23, NO. 10, OCTOBER 2005Survivable Traffic Grooming With Path Protection at the Connection Level in WDM Mesh NetworksWang Yao, Student Member, IEEE, and Byrav Ramamurthy, Member, IEEEAbstract-Survivable
N.C. State - CSC - 791
Deploying Sensor Networks with Guaranteed Capacity and Fault ToleranceJonathan L. BredinErik D. DemaineMohammadTaghi Hajiaghayi Daniela RusDepartment of Mathematics Colorado College 14 East Cache la Poudre Street Colorado Springs, CO 80903,
N.C. State - CSC - 791
single points of failureWhite PaperWhat is Split Multi-Link Trunking?Typical resilient Ethernet networks consist of wiring closet (edge) switches dual homed to network center aggregation (core) switches in a building or campus. More and more, ne
N.C. State - CSC - 791
Proceedings o ICCT2003 fIntegrated Multilayer Survivability Strategy with Inter-layer SignalingJijun Zhao*, Lei Lei, Yuefeng Ji, Daxiong Xu2Beijing University of Posts and Telecommunications Hebei Institute of Architectural Science and Technology
N.C. State - CSC - 791
SIAM J. COMPUT. Vol. 1, No. 2, June 1972DEPTH-FIRST SEARCH AND LINEAR GRAPH ALGORITHMS*ROBERTTARJAN&quot;Abstract. The value of depth-first search or &quot;bacltracking&quot; as a technique for solving problems is illustrated by two examples. An improved ver
N.C. State - CSC - 791
Outline1. Protection Switching ArchitecturesCSC/ECE 791B Survivable Networks SONET Protection SwitchingGeorge N. RouskasDepartment of Computer Science North Carolina State University2. SONET Ring Types 3. Two-Fiber Protection 4. Four-Fiber Pr
N.C. State - CSC - 791
SIAM J. COMPUT. Vol. 2, No. 3, September 1973ENUMERATION OF THE ELEMENTARY CIRCUITS OF A DIRECTED GRAPH*ROBERT TARJANfAbstract. An algorithm to enumerate all the elementary circuits of a directed graph is presented. The algorithm is based on a ba
N.C. State - CSC - 791
Outline1. MotivationCSC/ECE 791B Survivable Networks IntroductionRudra Dutta, George N. RouskasDepartment of Computer Science North Carolina State University2. Failure Types 3. Failure ImpactsCSC/ECE 791B, Spring 2007: IntroductionCopyrig
Rochester - V - 103
UNIVERSITY OF ROCHESTER LABORATORY FOR LASER ENERGETICSVolume 103 AprilJune 2005 DOE/SF/19460-626LLE ReviewQuarterly ReportAbout the Cover:The cover shows a picture of Dr. Riccardo Betti, director of the newly formed University of Rochester F
Stanford - IFIN - 1034
UNITED STATES DISTRICT COURT DISTRICT OF MASSACHUSETT SROBERT FAUSSNER, Individually and On Behalf of All Others Similarly Situated, Plaintiff,VS .CIVIL ACTION NO .CLASS ACTION COMPLAINTINVESTORS FINANCIAL SERVICES CORP ., KEVIN J. SHEEHAN,
Stanford - RGF - 1034
Case 1:05-cv-04186-JESDocument 46Filed 02/27/2007Page 1 of 89UNITED STATES DISTRICT COURT SOUTHERN DISTRICT OF NEW YORK ECF CASE IN RE R&amp;G FINANCIAL CORPORATION SECURITIES LITIGATION This Document relates to All Actions MASTER FILE NO. 05 Civ
Stanford - RGF - 1034
UNITED STATES DISTRICT COURT SOUTHERN DISTRICT OF NEW YOR KANTHONY CAPONS , Individually and On Behalf of All Others Similarly Situated, Plaintiff, vs. R&amp;G FINANCIAL CORPORATION, VICTOR J GALAN, and JOSEPH R . SANDOVAL ,CIVIL ACTION NO.CLASS AC
Stanford - RGF - 1034
UNITED STATES DISTRICT COURT SOUTHERN DISTRICT OF NEW YORK RUSSELL J. HEBETS, Individually and On Behalf of All Others Similarly Situated, Plaintiff, v. R&amp;G FINANCIAL CORPORATION, VICTOR J. GALN, JOSEPH R. SANDOVAL, JOHN A. KOEGEL and RAMN PRATS, Def
Stanford - OMC - 1024
t-dUNITED STATES DISTRICT COURT SOUTHERN DISTRICT OF NEW YORKIN RE OMNICOM GROUP, INC . SECURITIES LITIGATION02-CV-4483 (RCC) JURY TRIAL DEMANDEDCORRECTED CONSOLIDATED CLASS ACTION COMPLAIN TElaine S . Kusel (EK-2753) MILBERG WEISS BERSHAD
Stanford - MSANDE - 223
MS&amp;E 223 Simulation Peter J. HaasLecture Notes #4 Input Distributions Spring Quarter 2005-06Input DistributionsRef: Sections 9.1 and 9.2 in Leemis and Park, or Chapter 6 in Law and Kelton To specify a simulation model for a discrete-event system
Alabama - MATH - 208
Math 208, Section 5.1 solutions: The Meaning of Multiplication and Ways to Show Multiplication1. A bakery makes four different kinds of cake. Each cake can have three different kinds of frosting. Each frosted cake can be decorated in two different
Stanford - MATH - 220
Math 220B - Summer 2003 Homework 1 Due Thursday, July 3, 20031. Consider the eigenvalue problem X = X X satises symmetric B.C.s. Suppose f (x)f (x)|x=a 0 for all real-valued functions f (x) which satisfy the boundary conditions. Show there are no n
Stanford - EE - 477
EE477 Universal Schemes in Information TheoryHandout #7 Wednesday, October 20, 2004Solutions to Homework Set #3We shall assume X = {Xn } to be a stationary process on a finite alphabet A. n=1 1. Pointwise universality implies universality: Let
Stanford - MSANDE - 322
MS&amp;E 322 Stochastic Calculus and Control Prof. Peter W. GlynnMS&amp;E 322 Problem Set 1Due Date: Feb 1st(Fri) 5:00pmProblem 1 Suppose that the Rd -valued stochastic process X = (X(t) : t dX(t) = (X(t) dt + (X(t) dB(t) 0) satises the SDE (1)where
Stanford - EE - 477
EE477 Universal Schemes in Information TheoryHandout #8 Wednesday, October 20, 2004Homework Set #4 Due: Wednesday, October 27, 2004.1. Encoding of integers: Let Z+ be the set of positive integers. (a) Construct a uniquely decodable code C0 (x),
Stanford - EE - 477
EE477 Universal Schemes in Information TheoryHandout #6 Wednesday, October 13, 2004Homework Set #3 Due: Wednesday, October 20, 2004.We shall assume X = {Xn } to be a stationary process on a nite alphabet A. n=1 1. Pointwise universality implies
Stanford - POLISCI - 152
Solutions to Problem Set 2 Political Science 152/352 1. Assume the relation on X satises asymmetry and negative transitivity. Let x, y, z X and assume that x y and y z. To establish the transitivity of we need to show that x z. Since x y, negative t
Stanford - MATH - 210
Dedekind DomainsDefinition 1 A Dedekind domain is an integral domain that has the following three properties: (i) Noetherian, (ii) Integrally closed, (iii) All non-zero prime ideals are maximal. Example 1 Some important examples: (a) A PID is a Dede
Stanford - C - 070910
MENU 2007 11th International Conference on Meson-Nucleon Physics and the Structure of the Nucleon September10-14, 2007 IKP, Forschungzentrum Jlich, GermanyON AMBIGUITIES AND UNCERTAINTIES IN PWA A. Svarc ,1 , S. Ceci , B. Zauner Rudjer Bokovi Inst