Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HW 1 - A given program runs in 1 0 s e c on computer A , which has a 1 0 0 M H

HW
1- A given program runs in 10sec on computer A, which has a 100MHz clock. We are trying to help a computer designer build a computer B, that will run this program in 6sec. The designer has determined that a substantial increase in the clock rate is possible, but this increase will affect the rest of the CPU design, causing computer B to require 1.2 times as many clock cycles as computer A for this program. What clock rate should we tell the designer to target
2- Suppose we have 2 implementations of the same instruction set architecture. Computer A has a clock cycle time of 10nsec and a CPI of 2.0 for some program, and computer B has a clock cycle time of 20nsec and CPI of 1.2 for the same program. Which machine is faster for this program
3- Use Amdahl's Law states doubling the speed of floating-point operations sounds like a great idea. But if only 10% of the program execution time T involves floating-point code, then the overall performance improves by just 5%.
4- Suppose a program runs in 200 seconds on a machine, with multiply responsible for 80 seconds of this time. How much do we have to improve the speed of multiplication if we want the program to run 4 times faster?
How about making the program 10 times faster?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

How would you assess the value of an approach like this?

Answered: 1 week ago