Question

In: Computer Science

6.5 The time taken by machines A, B, and C to execute a given task is...

6.5 The time taken by machines A, B, and C to execute a given task is

A 16m, 9s

B 14m, 12s

C 12m, 47s

What is the performance of each of these machines relative to machine A?

6.6 Why is clock rate a poor metric of computer performance? What are the relative strengths and weaknesses of clock speed as a performance metric?

6.7 What are the relative strengths and weaknesses of the MIPS as a metric of computer performance?

Solutions

Expert Solution

6.5

For finding the performance of a machine relative to another machines, divide the execution time of the machine to the execution time of another machine.

It is given that execution time of machine A is 16m, 9s = 969 s

Execution time of machine B is 14m, 12s = 852 s

Execution time of machine C is 12m, 47s = 767 s

Performance of machine B relative to machine A

= Execution time of A/Execution time of B

= 969/852

= 1.13

Performance of machine C relative to machine A

= Execution time of A/Execution time of C

= 969/767

= 1.26

6.6

The speed at which the internal tasks and operations are performed within the computer is the clock rate. There are computers often without clocks and some have various clocks for different parts like CPU, the Bus and the memory.

Weakness

The clock rate is not a good metric for computer because the clock rate does not give insights about the amount of work being done.

The performance depends on different factors like the cache memory and the instruction set.

Strength

The clock rate may however be suitable for comparing two identical processes whose software environments are similar.

6.7

Strength of MIPS as a metric of computer performance

MIPS (Million instructions per second) is a better metric in comparison to clock cycle rate. It provides more information indicating the number of instructions per second.

Weakness

The system hardware and software are not considered and the amount of work which is done by the instructions are not taken into account.


Related Solutions

Task Task Time (seconds) Tasks that must Precede A 50 -- B 40 -- C 20...
Task Task Time (seconds) Tasks that must Precede A 50 -- B 40 -- C 20 A D 45 C E 20 C F 25 D G 10 E H 35 B,F,G The above tasks must be performed on an assembly line in the sequence and times specified. The workstation cycle time is 72 seconds. Using the longest task time to balance the assembly line, the first workstation include, the second workstation include , the third workstation include , and...
Use any C program without using PTHREADS calculate time taken to execute program. Write same program...
Use any C program without using PTHREADS calculate time taken to execute program. Write same program of question 1 using PTHREADS. Calculate time taken to execute program.(1 mark) Identify data races in above program and explain why this situation occurred with an example (1 mark) Rewrite the code to avoid data races should use any of the THREE techniques.(1.5 marks) please I need the c code.. critical section mutex solution semaphore functions Barriers Read-Write Locks Run program using 1, 2,...
Use any C program without using PTHREADS calculate time taken to execute program. Write same program...
Use any C program without using PTHREADS calculate time taken to execute program. Write same program of question 1 using PTHREADS. Calculate time taken to execute program. Identify data races in above program and explain why this situation occurred with an example Rewrite the code to avoid data races should use any of the THREE techniques. critical section mutex solution semaphore functions Barriers Read-Write Locks Run program using 1, 2, 4, and 8 threads Comparison study Number of threads Implementation...
A manufacturer has three machines A, B, and C. Machines A and B can be operated...
A manufacturer has three machines A, B, and C. Machines A and B can be operated for at most 12 hours whereas machine C must be operated for at least 5 hours a day. These three machines produce only two items X and Y. Product X requires 1 hour from machine A, two hours from machine B and 1 hour from machine C. Product Y requires 2 hours from machine A, one hour from machine B and 1.25 hours from...
The following data is given for an assembly line: Task Time(Minutes) Precedents A 5 None B...
The following data is given for an assembly line: Task Time(Minutes) Precedents A 5 None B 3 A C 4 B D 3 B E 6 C F 1 C G 4 D,E,F H 2 G The pace is 8. Balance the assembly line. What is the efficiency of the assembly line? Suppose market conditions required a reduction of pace by 30 percent. What would you recommend?
TASKS Predecessor Task Time A Warm tortilla -none 20 sec B Rice -A 10 sec C...
TASKS Predecessor Task Time A Warm tortilla -none 20 sec B Rice -A 10 sec C Beans -B 10 sec D Meat -B 10 sec E Salsa -C, D 10 sec F Cheese -E 5 sec G Sour Cream -E 10 sec H Lettuce -E 10 sec I Wrap -F, G, H 15 sec J Bag -I 5 sec K Checkout/pay -J 25 sec What is the total task time (sum of tasks). What is the minimum C.T., and the...
For the set of tasks given below, do the following: Task Task Time(seconds) Immediate Predecessor A...
For the set of tasks given below, do the following: Task Task Time(seconds) Immediate Predecessor A 45 - B 11 A C 9 B D 50 - E 26 D F 11 E G 12 C H 10 C I 9 F, G, H J 10 I 193 b. Determine the minimum and maximum cycle times in seconds for a desired output of 500 units in a seven-hour day. (Round your answers to 1 decimal place.)    The minimum cycle...
A random sample of 20 subjects was asked to perform a given task. The time in...
A random sample of 20 subjects was asked to perform a given task. The time in seconds it took each of them to complete the task is recorded below: 49, 26, 46, 40, 37, 39, 33, 47, 31, 35, 39, 43, 28, 38, 41, 29, 38, 34, 45, 41 If we assume that the completion times are normally distributed, find a 95% confidence interval for the true mean completion time for this task. Then complete the table below. Carry your...
_________financial assets. (a) Buildings are (b) The land is c) The machines are (d) None of...
_________financial assets. (a) Buildings are (b) The land is c) The machines are (d) None of the above _________financial assets. (a) Buildings are (b) The land is c) The machines are (d) None of the above The companies of investment help investors by a) arrange the purchase or sale of shares of other companies at the request of the investor b) provide investment recommendations in relation to specific actions c) issue their own shares insured by a portfolio of diversified...
6 C++ Questions 13. True/False: every while loop is guaranteed to execute at least one time....
6 C++ Questions 13. True/False: every while loop is guaranteed to execute at least one time. 14. Assume there is a file named "cards.txt" in the current directory which contains 3 ints. Write a code snippet which reads in the three ints and outputs their average (mean) to the screen. 15. True/False: the following function prototype takes an array and its size as its parameters. If you change the value of the array's elements within the function, the changes persist...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT