Question

In: Computer Science

Let us assume that you are designing a multi-core processor to be fabricated on a fixed...

Let us assume that you are designing a multi-core processor to be fabricated on a fixed silicon die area budget of A. As an architect, you are to partition this total area of A into one large core and many small cores. The large core will have an area of S, while the small cores will each have an area of 1 (note that there will be A - S number of small cores). Assume that the single-threaded performance of a core scales with the square root of its area. On this multi-core processor, we will execute a workload where P fraction of its work is infinitely parallelizable and 1-P of its work is serial.

We have two configurations of the multi-core processor:

Configuration X: A = 24; S = 8 (i.e., one large core and 16 small cores).

Configuration Y: A = 24; S = 20 (i.e., one large core and 4 small cores)

Assume that the serial portion of the workload executes only on the large core and the parallel portion of the workload executes only on the small cores.

Answer the following three questions:

A. What is the speedup of the workload on configuration X? (compared to the execution time on a single-core processor of area 1).

B. What is the speedup of the workload on configuration Y? (compared to the execution time on a single-core processor of area 1).

C. For workloads that have limited parallelism (that is, P part of the workload is very small), which configuration between X and Y would you recommend and why?

Solutions

Expert Solution

Equal speedup is characterized as the proportion of the time needed to figure some capacity utilizing a

single processor (T1) isolated when needed to register it utilizing P processors (TP). That

is: speedup = T1/TP. For instance on the off chance that it takes 10 seconds to run a program consecutively and

2 seconds to run it in equal on some number of processors, P, at that point the speedup is 10/2=5

times.

Equal proficiency gauges how much utilization of the equal processors we are making. For P

processors, it is characterized as: efficiency= 1/P x speedup= 1/P x T1/TP. For

model, proceeding with a similar model, if P is 10 processors and the speedup is multiple times,

at that point the equal productivity is 5/10=.5. All things considered, just 50% of the processors

were utilized to pick up the speedup and the other half were inert.

Amdahl's law expresses that the most extreme speedup conceivable in parallelizing a calculation is

restricted by the consecutive part of the code. Given a calculation which is P% equal,

Amdahl's law expresses that: MaximumSpeedup=1/(1-(P/100)). For instance if 80% of

a program is equal, at that point the most extreme speedup is 1/(1-0.8)=1/.2=5 occasions. In the event that the program in

question took 10 seconds to run sequentially, as well as could be expected trust in an equal execution

would be for it to take 2 seconds (10/5=2). This is on the grounds that the sequential 20% of the program

can't be accelerated and it takes .2 x 10 seconds = 2 seconds regardless of whether the remainder of the code is run

impeccably in equal on a limitless number of processors so it takes 0 seconds to execute.

The Gustafson-Barsis law expresses that speedup will in general increment with issue size (since the

division of time spent executing sequential code goes down). Gustafason-Barsis' law is in this manner a

proportion of what is known as "scaled speedup" (scaled by the quantity of processors utilized on a

issue) and it tends to be expressed as: MaximumScaledSpeedup=p+(1-p)s, where p is the

number of processors and s is the portion of all out execution time spent in sequential code. This

law discloses to us that feasible speedup is frequently identified with issue size not simply the quantity of

processors utilized. Basically Amdahl's law expects that the level of sequential code is

free of issue size. This isn't really obvious


Related Solutions

Can you solve it with hand solving, not the program solving? Let us now assume that...
Can you solve it with hand solving, not the program solving? Let us now assume that we have continuous time instead of discrete time, that S(0) = 100, r = 0.03, σ = 0.4 and T = 1. Calculate the price at t = 0 of the same European call option as above, i.e. X = max{S(1) − 104, 0}.
Let us assume that there are two visitors, A and B, in an amusement park. The...
Let us assume that there are two visitors, A and B, in an amusement park. The demand curve for the visitors facing the amusement park are as follows. PA= 5 – 2QA PB= 2.5 – 0.5QB Marginal cost (MC) to serve each visitor is equal to $1. a. If the amusement park decides to set the price using two-part tariff, given the demand curve P=6 – 2.5Q and MC =$1, how much is the equilibrium P and Q b. Calculate...
Let us assume that you are a health care administrator. Management of any health care organization...
Let us assume that you are a health care administrator. Management of any health care organization contains many challenges, but also provides equal opportunities. As we are aware there are four levels of long term care available: A Skilled Nursing Facility (SNF) An Assisted Living Facility Subacute & Acute Care A Community Senior Housing Program As a health care administrator, discuss how would you integrate each level of service? Include in your discussion the challenges you would encounter during such...
Discussion Let us assume this gift shop volume is growing, therefore, you have a decision to...
Discussion Let us assume this gift shop volume is growing, therefore, you have a decision to make: Should I corporate the company? Should I begin a chain stores? Should I a part of franchise company? Or, Should I stay an incorporate company? Write a brief description of the above options. What option do you prefer your store to follow? Your discussion should be minimum 400 words.
Now let us assume you are interested in purchasing Apple Corporation's common stock.  To help you make...
Now let us assume you are interested in purchasing Apple Corporation's common stock.  To help you make a decision to purchase or not, provide a discussion to support your decision. For example, consider current economic events, competition, financial strength (or issues) based on important ratios, and current market price for Apple.   Any other information that you wish to consider should also be included. Make sure you include your decision to purchase Apple's common stock today or not.
A couple is planning to have a family. Let us assume that the probability of having...
A couple is planning to have a family. Let us assume that the probability of having a girl is 0.48 and a boy is 0.52, and that the gender of this couple’s children are pairwise independent. They want to have at least one girl and at least one boy. At the same time, they know that raising too many kids is difficult. So here’s what they plan to do: they’ll keep trying to have children until they have at least...
Topic: Construction Let us assume that there is a large high school to be built on...
Topic: Construction Let us assume that there is a large high school to be built on the East Coast of Florida near the beach. What type of block would be recommended i.e., compressive, fire rating, architecturally pleasing to the public eye? Remember to factor in cost, permanence, maintenance and safety.
Let us assume you have all the resources (like designers, software and hardware engineers)  to create a...
Let us assume you have all the resources (like designers, software and hardware engineers)  to create a product/service that would immensely benefit long term care population. What would be that product/service? Discuss how that product would benefit the future long term care population? Identify the resources available to cover the cost for development and usage of your product/service. If your product fails, what would be the repercussions?
Let us assume you have all the resources (like designers, software and hardware engineers) to create...
Let us assume you have all the resources (like designers, software and hardware engineers) to create a product/service that would immensely benefit long term care population. What would be that product/service? Discuss how that product would benefit the future long term care population? Identify the resources available to cover the cost for development and usage of your product/service. If your product fails, what would be the repercussions?
Let us assume that you have transaction exposure doing business internationally, What approach do you prefer...
Let us assume that you have transaction exposure doing business internationally, What approach do you prefer for handling transaction exposure? Why do you select that over the other methods?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT