1. We want to compare the computers C1 and C2. C1 has the machine instructions for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. We want to compare the computers C1 and C2. C1 has the machine instructions for the floating-point operations, while C2 has not (FP operations are implemented in the software using several non-FP instructions). Both computers have a clock frequency of 500 MHz. In both we perform the same program, which has the following mixture of commands: Command Type FP addition FP multiplication FP division Non - FP instructions Dynamic Share of instructions in program 16% 10% 8% 66% Instruction duration C1 6 8 10 3 C2 20 32 66 3 a) Calculate the MIPS for the computers C1 and C2. b) Calculate the CPU program execution time on the computers C1 and C2, if there are 24000 instructions in the program? c) At what mixture of instructions in the program will both computers C1 and C2 be equally fast? 2. A program runs in 300 seconds on a machine, with division operations responsible for 160 seconds. You want to improve the speed of the program to run 3 times faster. How much do you have to improve the speed of the division operations? Illustrate the whole process. 3. Consider a 32-bit microprocessor. Assume that, on average, 20% of the operands and instructions are 64 bits long. 40% are 32 bits long, and 40% are 16 bits long. a) Is it possible to double the performance using 64-bit microprocessor having the same bus cycle duration of a 32-bit microprocessor? 4. Assume that a computer has L1 cache with miss ratio of 5% and access time of 1ns, L2 cache with hit ratio of 99% and access time of 10ns, main memory with hit ratio of X% and access time of 50ns. a) What should be the value of X if the effective access time is not more than 1.5ns? b) Design the system. 5. A computer system uses 16-bit memory addresses. It has a 2K-byte cache organized in a direct-mapped manner with 64 bytes per cache block. Assume that the size of each memory word is 1 byte. Show the number of bits in each of the Tag. Block, and Word fields of the memory address and design the cache organization. 1. We want to compare the computers C1 and C2. C1 has the machine instructions for the floating-point operations, while C2 has not (FP operations are implemented in the software using several non-FP instructions). Both computers have a clock frequency of 500 MHz. In both we perform the same program, which has the following mixture of commands: Command Type FP addition FP multiplication FP division Non - FP instructions Dynamic Share of instructions in program 16% 10% 8% 66% Instruction duration C1 6 8 10 3 C2 20 32 66 3 a) Calculate the MIPS for the computers C1 and C2. b) Calculate the CPU program execution time on the computers C1 and C2, if there are 24000 instructions in the program? c) At what mixture of instructions in the program will both computers C1 and C2 be equally fast? 2. A program runs in 300 seconds on a machine, with division operations responsible for 160 seconds. You want to improve the speed of the program to run 3 times faster. How much do you have to improve the speed of the division operations? Illustrate the whole process. 3. Consider a 32-bit microprocessor. Assume that, on average, 20% of the operands and instructions are 64 bits long. 40% are 32 bits long, and 40% are 16 bits long. a) Is it possible to double the performance using 64-bit microprocessor having the same bus cycle duration of a 32-bit microprocessor? 4. Assume that a computer has L1 cache with miss ratio of 5% and access time of 1ns, L2 cache with hit ratio of 99% and access time of 10ns, main memory with hit ratio of X% and access time of 50ns. a) What should be the value of X if the effective access time is not more than 1.5ns? b) Design the system. 5. A computer system uses 16-bit memory addresses. It has a 2K-byte cache organized in a direct-mapped manner with 64 bytes per cache block. Assume that the size of each memory word is 1 byte. Show the number of bits in each of the Tag. Block, and Word fields of the memory address and design the cache organization.
Expert Answer:
Answer rating: 100% (QA)
General Guidance The answer provided below has been developed in a clear step by step manner Step 1 ... View the full answer
Related Book For
Posted Date:
Students also viewed these computer network questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
In future systems, we expect to see heterogeneous computing platforms constructed out of heterogeneous CPUs. We have begun to see some appear in the embedded processing market in systems that contain...
-
Suppose in a given area there are three power plants, each of which emits SO 2 with different intensities. The abatement cost functions for each firm j are: (a) Set up the conditions for the socially...
-
Pacific Rim Publications, Inc., specializes in reference books that keep abreast of political and economic issues in the Pacific Rim countries. The results of the companys operations during the prior...
-
Houses that are built with high levels of insulation improve energy efficiency, help reduce the environmental costs of heating, and generate a positive externality. Many governments provide grants to...
-
What is the focus of tests of controls for fixed asset records?
-
Log Cabins Unlimited constructs vacation houses in the North Carolina Mountains. The company has developed the following value chart: Average Number Operations of Days Receiving materials...
-
When a field goal kicker kicks a football as hard as he can at 45 to the horizontal, the ball just clears the 3-m-high crossbar of the goalposts 45.7 m away. (a) What is the maximum speed the kicker...
-
Red's Furniture Manufacturing produces a line of tables and chairs from specialty hardwoods. It makes three different styles of chairs, and each chair takes about the same amount of direct labour...
-
(d) Make forecasts using the following fitted trend models for years 2017-2019. (Round your answers to the nearest whole number.) Linear 158607 Exponential Quadratic 161301 11 12 159191 163354 13...
-
Define the following mechanical properties: ( i) Strength, (ii) Hardness, (iii) Ductility, and (iv) Toughness.
-
Identify the primary purposes of an initial client interview.
-
Define the following terms: (i) Toughness, (ii) Hardness, (iii) Normalizing, and (iv) Case hardening.
-
Identify some of the kinds of terms individuals may want to include in a premarital agreement that may not be enforceable and explain why. In this context, explain the importance of a severability...
-
What is plain carbon steel? Give the classification of plain carbon steels and their important properties and uses.
-
3.1-If the mass of the earth were to quadruple, and the earths radius remained the same, would we weigh more or less? By how much? 4.2- If the suns radius were to shrink until the sun became a black...
-
Use Stokes' Theorem to evaluate f(y+sin x) dx+(z+cos y) dy+rdz, where C is the rve r(t) = (sint, cost, sin 2t), t = [0, 2].
-
A firm uses labor and machines to produce output according to the production function f(L,M) = 4L1/2M1/2, where L is the number of units of labor used and M is the number of machines. The cost of...
-
As you may have noticed, economics is a difficult major. Are there any rewards for all this effort? The U.S. census publication discussed in the last problem suggests that there might be. There are...
-
The athletic director discussed in the last problem is considering the extra revenue he would gain from three proposals to expand the size of the football stadium. Recall that the demand function he...
-
The time until a chemical reaction is complete (in milliseconds) is approximated by the cumulative distribution function \[ F(x)= \begin{cases}0 & x <0 \\ 1-e^{-0.01 x} & 0 \leq x\end{cases} \]...
-
Consider the time to recharge the flash. The probability that a camera passes the test is 0.8, and the cameras perform independently. What is the probability that the third failure is obtained in...
-
Let the continuous random variable \(X\) denote the current measured in a thin copper wire in milliamperes. Assume that the range of \(X\) is \([4.9,5.1] \mathrm{mA}\), and assume that the...
Study smarter with the SolutionInn App