Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We wish to compare the performance of two different machines: M1 and M2. The following measurements have been made on these machines: Program Time on

We wish to compare the performance of two different machines: M1 and M2. The following measurements have been made on these machines:

Program

Time on M1

Time on M2

1

4 seconds

2.5 seconds

2

6 seconds

12 seconds

a) Which computer is faster for each program, and how many times as fast is it?

b) If the following additional measurements were made:

Program

Instructions executed on M1

Instructions executed on M2

1

5x 109

6x 109

and the clock rates of machine M1 and M2 are 2.5GHz and 2GHz respectively, find the clock cycles per instruction (CPI) for program 1 on each computer.

c) Assuming that CPI for program 2 on each computer is the same as the CPI for program 1 found in b), find the instruction count for program 2 running on each computer using the execution times from the first table.

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago