1answer.
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
sineoko [7]
3 years ago
9

Consider a multiprocessor system and a multithreaded program written using the many-to-many threading model. Let the number of u

ser-level threads in the program be more than the number of processors in the system. Discuss the performance implications of the following scenarios.
The number of kernel threads allocated to the program is less than the number of processing cores
The number of kernel threads allocated to the program is equal to the number of processing cores
The number of kernel threads allocated to the program is greater than the number of processing cores but less than the number of user-level threads
Engineering
1 answer:
Montano1993 [528]3 years ago
4 0

Answer:

At the point when the quantity of bit strings is not exactly the quantity of processors, at that point a portion of the processors would stay inert since the scheduler maps just part strings to processors and not client level strings to processors. At the point when the quantity of part strings is actually equivalent to the quantity of processors, at that point it is conceivable that the entirety of the processors may be used all the while. Be that as it may, when a part string obstructs inside the portion (because of a page flaw or while summoning framework calls), the comparing processor would stay inert. When there are more portion strings than processors, a blocked piece string could be swapped out for another bit string that is prepared to execute, in this way expanding the use of the multiprocessor system.When the quantity of part strings is not exactly the quantity of processors, at that point a portion of the processors would stay inert since the scheduler maps just bit strings to processors and not client level strings to processors. At the point when the quantity of bit strings is actually equivalent to the quantity of processors, at that point it is conceivable that the entirety of the processors may be used at the same time. Be that as it may, when a part string hinders inside the piece (because of a page flaw or while summoning framework calls), the relating processor would stay inert. When there are more portion strings than processors, a blocked piece string could be swapped out for another bit string that is prepared to execute, along these lines expanding the usage of the multiprocessor framework.

You might be interested in
A pitfall cited in Section 1.10 is expecting to improve the overall performance of a computer by improving only one aspect of th
Oxana [17]

Answer:

a) For this case the new time to run the FP operation would be reduced 20% so that means 100-20% =80% from the original time

(1-0.2)*70 s =56s

The reduction on this case is 70-56 s=14s

And since the new total time would be given by 250-14=236 s

b) For this case the total time is reduced 20%  so that means that the new total time would be (1-0.2)=0.8 times the original total time (1-0.2) *250s =200 s

The original time for INT operations is calculated as:

250 = 70+85+40 +t_{INT}

t_{INT}=55s

For this part the only time that was changed is assumed the INT operations so then:

200 = 70+85+40 \Delta t_{INT}

And then: \Delta t_{INT}= 200-70-85-40=5 s

c) A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add 70+85+55=210s, we see that 210>205 so then we cannot reduce the total time 20% just reducing the branch intructions.

Explanation:

From the info given we know that a computer running a program that requires 250 s, with 70 s spent executing FP instructions, 85 s executed L/S instructions and 40 s spent executing branch instructions.

Part 1

For this case the new time to run the FP operation would be reduced 20% so that means 100-20% =80% from the original time

(1-0.2)*70 s =56s

The reduction on this case is 70-56 s=14s

And since the new total time would be given by 250-14=236 s

Part 2

For this case the total time is reduced 20%  so that means that the new total time would be (1-0.2)=0.8 times the original total time (1-0.2) *250s =200 s

The original time for INT operations is calculated as:

250 = 70+85+40 +t_{INT}

t_{INT}=55s

For this part the only time that was changed is assumed the INT operations so then:

200 = 70+85+40 \Delta t_{INT}

And then: \Delta t_{INT}= 200-70-85-40=5 s

And we can quantify the decrease using the relative change:

\% Change = \frac{5s}{55 s} *100 = 9.09\% of reduction

Part 3

A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add 70+85+55=210s, we see that 210>205 so then we cannot reduce the total time 20% just reducing the branch intructions.

8 0
3 years ago
I have a stream with three components, A, B, and C, coming from another process. The stream is 50 % A, and the balance is equal
tigry1 [53]

Answer:

X_{A} = \frac{N_{Ao}-N_{A}}{N_{Ao}}

Nₐ₀-Nₐ = 1.33

Nₐ₀ = 2.5

Conversion X = 1.33/2.5 = <u>0.533</u>

Explanation:

A + 2B + 4C ⇒ 2X + 3Y

Given a stream containing 50% A, 25% B and 25% C, to get the limiting reactant, lets take a simple basis

Say stream is 10 moles, this give

A = 5moles

B = 2.5mole

C = 2.5moles

from the balanced equation above,

1mole of A ⇒ 4moles of C

∴ 5moles of A ⇒ (5x4)/1 ⇒ 20moles of C

also;

2mole of B ⇒ 4moles of C

∴ 2.5moles of B ⇒ (2.5x4)/2 ⇒ 5moles of C

so clearly from above reactant C is the limiting reactant.

<em>Note: To get conversion of a process, we must use the limiting reactant. this is because ones it is used up, the reaction comes to an end</em>

<em></em>

Formula to obtain conversion is:

Conversion = (Amount of A used up)/(Amount of A fed into the system)

X_{A} = \frac{N_{Ao}-N_{A}}{N_{Ao}}

where, Nₐ₀-Nₐ = is the amount in moles of A used up

            Nₐ₀ = amount in moles of A fed into the system

The next question is what mole of reactant C will give 0.1mole fraction of Y

Recall our basis = 10moles

<em>from conservation of mass law</em>, 10mole of product must come out which 0.1 moles fraction is Y

therefore amount Y in the product is = 0.1x10 = 1mole

if  3moles of Y ⇒ 4mole of C

∴ 1mole of Y ⇒ (1x4)/3 ⇒ 1.33moles of C

calculating the conversion of limiting reactant C that will give 0.1mole fraction of Y

Nₐ₀-Nₐ = 1.33

Nₐ₀ = 2.5

Conversion X = 1.33/2.5 = <u>0.533</u>

5 0
3 years ago
Multiple Choice
ra1l [238]
I need more details to your question
4 0
3 years ago
Read 2 more answers
A binary geothermal power plant uses geothermal water at 160°C as the heat source. The cycle operates on the simple Rankine cycl
bogdanovich [222]

A binary geothermal power operates on the simple Rankine cycle with isobutane as the working fluid. The isentropic efficiency of the turbine, the net power output, and the thermal efficiency of the cycle are to be determined

Assumptions :

1.  Steady operating conditions exist.

2.  Kinetic and potential energy changes are negligible.

Properties:  The specific heat of geothermal water ( c_{geo}[) is taken to be 4.18 kJ/kg.ºC.  

Analysis (a) We need properties of isobutane, we can obtain the properties from EES.

a. Turbine

PP_{3} = 3.25mPa = (3.25*1000) kPa\\= 3250kPa\\from the EES TABLE\\h_{3} = 761.54 kJ/kg\\s_{3} = 2.5457 kJ/kg\\P_{4} = 410kPa\\\\s_{4} = s_{3} \\h_{4s} = 470.40kJ/kg\\\\T_{4} = 179.5^{0} C\\\\h_{4} = 689.74 kJ/KG\\\\ The  isentropic  efficiency, n_{T} = \frac{h_{3}-h_{4}  }{h_{3}- h_{4s} }

==\frac{761.54-689.74}{761.54-670.40} \\=\frac{71.8}{91.14} \\=0.788

b. Pump

h_{1} = h_{f} @ 410kPa = 273.01kJ/kg\\v_{1} = v_{f} @ 410kPa = 0.001842 m^{3}/kgw_{p,in} =  \frac{v_{1}(P_{2}-P_{1})   }{n_{p} } \\\\= \frac{0.01842(3250-410)}{0.9} \\\\ =5.81kJ/kg\\h_{2} =h_{1} + w_{p,in}\\          = 273.01+5.81\\           = 278.82 kJ/kg\\\\w_{T,out} = m^{.}  (h_{3} -h_{4} )\\=(305.6)(761.54-689.74)\\=305.6(71.8)\\=21,942kW\\\\

W^{.} _ {P,in} = m^{.} (h_{2} -h_{1}) \\=m^{.}  w_{p,in \\=305.6(5.81)\\\\=1,777kW\\W^{.}  _{net} = W^{.} _{T, out} - W^{.}  _{P,in} \\= 21,942-1,777\\=20,166 kW\\\\HEAT EXCHANGER\\\\Q_{in} = m^{.} _{geo} c_{geo} (T_{in-T_{out} } )\\=555.9(4.18)(160-90)\\=162.656kW\\

c. The thermal efficiency of the cycle  n_{th}  =\frac{W^{.} _{net} }{Q^{._{in} } } \\\\= \frac{20,166}{162,656} \\=0.124\\=12.4%

7 0
4 years ago
Read 2 more answers
When water precipitates from the sky, runs off downhill along the ground, or infiltrates down into the soil, its gravitational p
agasfer [191]

Answer:

Geothermal energy.

Explanation:

Geothermal energy is called a renewable energy source because the water is replenished by rainfall, and the heat is continuously produced by the earth.

8 0
3 years ago
Other questions:
  • Show that the solution of thin airfoil theory of a symmetric airfoil given below satisfies the Kutta condition. What angle of at
    11·1 answer
  • A 24-tooth gear has AGMA standard full-depth involute teeth with diametral pitch of 12. Calculate the pitch diameter, circular p
    5·2 answers
  • The air standard efficiency ofan Otto cycle compared to diesel cycle for thie given compression ratio is: (a) same (b) less (c)
    12·1 answer
  • Compare the temperature dependence of Nabarro-Herring and Coble creep. Which is more temperature-sensitive
    15·1 answer
  • Technician A says that the most commonly used combustion chamber types include hemispherical, and wedge. Technician B says that
    9·1 answer
  • Propose any improvements if there are any in brake system
    7·1 answer
  • Rotating magnetic field inside a set of conducting wires is a simple description of a what
    14·1 answer
  • The Texas Sure program is designed to:
    11·1 answer
  • A 20cm-long rod with a diameter of 0.250 cm is loaded with a 5000 N weight. If the diameter of the bar is 0.490 at this load, de
    7·1 answer
  • The sum of forces on node 2 (upper-left) is ______.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!