
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Compare compilers A and B for a
- a. Find the average CPI for each program, given a processor clock cycle time of 2 ns.
- b. If the compiled programs run on two different processors with the same execution times, what is the relative speed of the processor clocks?
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 4 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Can you please help me with this problem and the parts that come with it, can you please do this step by step and can you label the parts as well.arrow_forwardTake the accompanying project fragment for a theoretical CPU having three client registers R1, R2 and R3. Guidance Operation Instruction Size(in words) MOV R1,5000; R1- Memory[5000] MOV R2, (R1); R2 - Memory[(R1)] ADD R2, R3; MOV 6000, R2; 2 1 R2 - R2 + R3 1 Memory [6000] – R2 End Machine ends 1 Leave the clock cycles needed for different tasks alone as follows: Register to/from memory move: 3 clock cycles ADD with the two operands in register : 1 clock cycle Instruction get and unravel : 2 clock cycles for each word The absolute number of clock cycles needed to execute the program isarrow_forwardComputer Organ & Architecturearrow_forward
- Using a better optimizing compiler is most likely to result in which one of the following improvements? Group of answer choices a) A lower CPI for ALU instructions b) Fewer ALU instructions being executed c) A faster clock frequencyarrow_forwardi need the answer quicklyarrow_forwardCalculate the CPU execution time (expressed in milliseconds) of a program with 10 million instructions on a 2.5 GHz CPU with the following basic instruction-type breakdowns and CPIs: Arithmetic: 60%, CPI = 2 Load & Store (assuming perfect caches): 25%, CPI = 5 Branching: 15%, CPI = 3 In addition, you are told that the overall cache miss rate for instructions is 1%, the overall cache miss rate for data is 3%, and the cache miss penalty is 100 cycles. You can ignore the hit time (consider it zero).arrow_forward
- Consider the execution of a program that results in the execution of 8 million instructions on a 400-MHz processor. The program consists of four major types of instructions. The instruction mix and the CPI for each instruction type are given below. What is the program execution time in the second? Instruction Type Arithmetic and logic Load/store with cache hit Branch Floating-point arithmetic operation Execution Time: sec CPI 3 4 3 9 Instruction Mix (%) 60 20 12 8arrow_forwardTrace the execution of the following "Super Simple CPU" program and for a) each step record the values of the Accumulator, Mem[10] (memory location 10), Mem[11], and Mem[12]. The values before the execution starts are shown. LOD 11 XXX ТОР JZR JNG SUB 10 STO 11 YYY JMP TOP XXX LDI 1 STO 12 STP LDI 0 YYY STO 12 STP Mem[10] Mem[11] Mem[12] Accumulator 12 24 15arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education