Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1. Assume that a program runs in 60 seconds on a machine, with Addition operations responsible for 20 seconds. How much do you have

image text in transcribed
image text in transcribed
Question 1. Assume that a program runs in 60 seconds on a machine, with Addition operations responsible for 20 seconds. How much do you have to improve the speed of additions, if you want your program to run 4 times faster? (20 Marks) Question 2: You are on the design team for a new processor. The clock of the processor runs at 1000 MHz. The following table gives instruction frequencies for Benchmark B, as well as how many cycles the instructions take, for the different classes of instructions. The CPU execution time on the benchmark is exactly 15 seconds. The hardware expert says that if you double the number of registers, the cycle time must be increased by 20%. Assume that the processor only executes one instruction at a time. a. Calculate the CPI for Benchmark B. When there are 100 instructions like: 60 of them will be loads and stores. 25 of them will be arithmetic instructions. 15 of them will be all others. (10 Marks) b. What is the "native MIPS"' processor speed for the benchmark in MIPS(millions of instructions per second)? (10 Marks) c. What would be the new clock speed be (in MHz ? (10 Marks) d. The compiler expert says that if you double the number of registers, then the compiler will generate code that requires only half the number of Loads \& Stores. What would the new CPI be on 25 of them will be arithmetic instructions. 15 of them will be all others. ( 10 Marks) b. What is the "native MIPS"' processor speed for the benchmark in MIPS(millions of instructions per second)? (10 Marks) c. What would be the new clock speed be (in MHz)? (10 Marks) d. The compiler expert says that if you double the number of registers, then the compiler will generate code that requires only half the number of Loads \& Stores. What would the new CPI be on the benchmark? (10 Marks) e. How many CPU seconds will the benchmark take, if we double the number of registers (considering both changes described above)? Hint: Calculate the Instruction count for 15 seconds and then find out how many Load and Store instructions are processed and then cut it down to half. Finally apply CPU time formula on the new IC, cpi and clock rate values. (10 Marks) Question 3. Write Down all The Key functions of the Kernal in a Operating System. (10 Marks) Question 4. Describe the 7 States of Process Life Cycle. (10 Marks) Question 5. What are the different Performance parameters and explain them in detail? (10 Marks

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_2

Step: 3

blur-text-image_3

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

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions