answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vivado
16 days ago
14

Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, a

nd C) in the instruction set. M1 has a clock rate of 80 MHz and M2 has a clock rate of 100 MHz. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows:
Instruction Class Machine M1 Machine M2 Frequency
Cycles/Instruction
Frequency
A 1 2 60%
B 2 3 30%
C 4 4 10%
(a) Calculate the average CPI for each machine, M1, and M2.(b) Calculate the average MIPS ratings for each machine, M1 and M2.(c) Which machine has a smaller MIPS rating? Which individual instruction class CPI do you need to change, and by how much, to have this machine have the same or better performance as the machine with the higher MIPS rating (you can only change the CPI for one of the instruction classes on the slower machine)?
Computers and Technology
1 answer:
Natasha_Volkova [1K]16 days ago
4 0

Answer:

(a) To find the average CPI for each machine, M1 and M2

Average CPI = Cycles per Instruction * Frequency of each Instruction

                     = CPI * F

For Machine M1:

Cycles per Instruction/ Clocks per Instruction =  (60%)* 1 + (30%)*2 + (10%)*4

                                                                        = (0.60) * 1 + (0.30) * 2 + (0.10) * 4

                                                                          = 0.6 + 0.6 + 0.4

                                                                          = 1.6

For Machine M2:

Cycles per Instruction/ Clocks per Instruction =  (60%)*2 + (30%)*3 + (10%)*4

                                                                         = (0.60) *2 + (0.30) * 3 + (0.10) *4        

                                                                         = 1.2 + 0.9 + 0.4

                                                                          = 2.5

(b) To calculate the average MIPS ratings for each machine, M1 and M2.

MIPS rating can be calculated using this formula

MIPS rating = Instruction Count / Execution Time * 10^6

                   = Instruction count  / IC X CPI * Clock cycle time * 10^6

                   = IC X Clock rate  / IC X CPI X 10^6

                   = Clock Rate/(CPI * 10^6)

MIPS rating for Machine M1:

The clock rate for M1 is 80 MHz and the CPI calculated in (a) is 1.6 So:

MIPS rating = (80 * 10^6) / (1.6 * 10^6 )

                   =  80000000/ 1600000

                   =  50

MIPS rating for Machine M2:

The clock rate for M1 is 100 MHz and the CPI calculated in (a) is 2.5 So:

MIPS rating = (100 * 10^6 ) / (2.5 * 10^6 )

                   =  100000000 / 2500000

                  =  40

(c) Which machine has a lower MIPS rating?

  • M2 has a lower MIPS rating of 40.

Which specific instruction class CPI must be altered, and by how much, for M2 to achieve performance equal or better than the machine with the superior MIPS rating.

For M1, which has the better MIPS rating compared to M2, adjusting the CPI of instruction class A to 1 instead of 2 is the solution needed for M2 to surpass M1.

After making this adjustment:

Cycles per Instruction / Clocks per Instruction = (60%)*1 + (30%)*3 + (10%)*4

                                                                       = (0.60 * 1) + (0.30 * 3) + (0.10 * 4)

                                                                       = 0.60 + 0.9 + 0.4

                                                                       = 1.9

Average MIPS rating = (100 * 10^6) / (1.9 * 10^6 )

                                   = 100000000 / 1900000

                                   =  52.6

Thus, the new average MIPS rating for M2, after changing the instruction class A CPI, is 52.6 which surpasses M1's average MIPS rating of 50.0

You might be interested in
Technological improvements have allowed people to inhabit a wider variety of places more easily. Please select the best answer f
zubka84 [1067]

True. Technological advances have simplified and accelerated life, making it easier for people to live in a broader range of locations. Purchasing land or a home from a developer is one example of how this facilitates obtaining a desired place.

9 0
1 month ago
Read 2 more answers
Cloud Kicks is undergoing a GDPR-focused implementation to ensure access to personal information data is limited to only users w
Rzqust [1037]

Response:

Option A.

Clarification:

The organization is executing a GDPR-focused strategy to ensure that access to sensitive data is limited to only those users who genuinely need full rights to a corporate account. It utilizes a personalized account structure.

Thus, the Consultant provides specific Account permissions to the Renewals and Sales Operations teams, enabling them to establish roles for the Renewals and Sales Account teams, with sales team members matched to the respective customers.

5 0
15 days ago
Doug grew up on a large farm in southwest Wisconsin. As a college graduation gift, Doug’s father gave him several hundred acres
zubka84 [1067]
Answer: Sole Proprietorship. This question seeks to identify the business type mentioned in the scenario. In a Sole Proprietorship, the owner effectively is the business, managing all elements from operations to finance. Typically, this is the initial business form in entrepreneurship. The description fits Doug well; he operates the farming business independently, taking care of all its functions. Thus, it qualifies as a sole proprietorship.
5 0
24 days ago
Which kind of file would be hurt most by lossy compression algorithm
oksian1 [950]

Response: a file containing audio

Clarification:

8 0
28 days ago
Read 2 more answers
Which of the following is true of how the Internet has responded to the increasing number of devices now using the network? a) T
Harlamova29_29 [1022]

Answer:

A

Explanation:

Every year, internet protocols are adjusted to accommodate the influx of new devices on the network. In the 1990s, traffic primarily utilized a few protocols.  IPv4 managed packet routing, TCP handled those packets to establish connections, SSL (later TLS) secured those connections, DNS resolved hostnames, and HTTP was the main application layer protocol utilized.

For years, there were minimal modifications to the fundamental internet protocols; HTTP saw the addition of some new headers and methods, TLS underwent gradual updates, TCP improved congestion management, and DNS incorporated features like DNSSEC. Over a lengthy period, these protocols remained consistent as seen on the wire — with the exception of IPv6, which is regularly discussed among network operators.

Consequently, network administrators, vendors, and policymakers seeking to understand (and sometimes regulate) the Internet have implemented various practices based on the protocols’ wire ‘footprint’ — whether to troubleshoot issues, enhance service quality, or enforce policies.

Currently, there are considerable changes happening in core internet protocols. Although these updates aim to remain compatible with the wider Internet to ensure adoption, they might disrupt entities that have exploited undocumented features of existing protocols or assumed stability in certain aspects.

8 0
2 months ago
Read 2 more answers
Other questions:
  • Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an in
    13·2 answers
  • Which of the following is true of how computers represent numbers?
    9·2 answers
  • Modern operating systems decouple a process address space from the machine’s physical memory. List two advantages of this design
    15·1 answer
  • Leah Jones is the IT manager at Rock Solid Outfitters, a medium-sized supplier of outdoor climbing and camping gear. Steve Allen
    13·1 answer
  • Redo Programming Exercise 16 of Chapter 4 so that all the named constants are defined in a namespace royaltyRates. PLEASE DONT F
    14·1 answer
  • Java languageThe cost to ship a package is a flat fee of 75 cents plus 25 cents per pound.1. Declare a constant named CENTS_PER_
    5·2 answers
  • Your employer, yPlum Corporation is manufacturing two types of products: Mirabelle smartphone, and Blackamber laptop. The compan
    14·1 answer
  • In a ____ queue, customers or jobs with higher priorities are pushed to the front of the queue.
    14·1 answer
  • Write an if-else statement with multiple branches. If givenYear is 2101 or greater, print "Distant future" (without quotes). Els
    15·2 answers
  • Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!