Question

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

Consider a multiprocessor system and a multithreaded program written using the many- to-many threading model. Let the number of user-level threads in the program be greater than the number of processors in the system. Discuss the performance implications of the following scenarios.

1. The number of kernel threads allocated to the program is less than the number of processors.

2. The number of kernel threads allocated to the program is equal to the number of processors.

3. The number of kernel threads allocated to the program is greater than the number of processors but less than the number of user- level threads.

Homework Answers

Answer #1

Answer-

1)- The individual processors would keep going since the hardware mappings only kernel threads to processors and non user-level threads to processors.
2)- It is applicant that every the CPUs strength be converted at the same time. Still, when a kernel object blocks inwardly the kernel the related to processor would stay on operation.

3)- A blocked kernel thread could be switched down in prefer to some other kernel thread that is fit to carry through, thereby modifying the utilization of the multiprocessor system.

Note- Please do upvote, if any problem then comment in box sure I will help.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1)Write a program that asks a user for a number. If (and only if) the number...
1)Write a program that asks a user for a number. If (and only if) the number is greater than zero print “The number is valid” 2)Write a program that asks a user for a grade. If (and only if) the grade is greater than zero and less than 101, print “The grade is valid” 3)Write a program that asks a user how many widgets they want to buy and prints out what the user should pay. Widgets costs 10 dollars....
Use C++ Write a program that first reads in how many whole numbers the user wants...
Use C++ Write a program that first reads in how many whole numbers the user wants to sum, then reads in that many whole numbers, and finally outputs the sum of all the numbers greater than zero, the sum of all the numbers less than zero (which will be a negative number or zero), and the sum of all the numbers, whether positive, negative, or zero. The user enters the numbers just once each and the user can enter them...
Write a C program that prompts the user to input as many unsigned(n) as the user...
Write a C program that prompts the user to input as many unsigned(n) as the user wants to type, terminated by non negative number You may assume without checking that when the user is supposed to type an unsigned, he nevertypes a double You may assume without checking that when the user is supposed to type an unsigned, he nevertypes a negative number. For each number the user types, output whether that number is prime or not. You won't need...
Consider the human capital growth model. Let us make the following changes. Depending on whether the...
Consider the human capital growth model. Let us make the following changes. Depending on whether the current calendar year is an odd or even number, the efficiency parameter of the human capital accumulation technology changes between 5.15 and 2.04. In particular, when the calendar year is an odd number (for example in years 1 and 3) the parameter b is 5.15 and z is 6. However, in even years (for example in years 2 and 4) the parameter is 2.04...
For this assignment, you will be creating a simple “Magic Number” program. When your program starts,...
For this assignment, you will be creating a simple “Magic Number” program. When your program starts, it will present a welcome screen. You will ask the user for their first name and what class they are using the program for (remember that this is a string that has spaces in it), then you will print the following message: NAME, welcome to your Magic Number program. I hope it helps you with your CSCI 1410 class! Note that "NAME" and "CSCI...
There exists infinite many solutions of a system of equations, if: 1) number of variables is...
There exists infinite many solutions of a system of equations, if: 1) number of variables is less than number of non zero rows in augmented matrix 2) None 3) number of non zero rows in augmented matrix is less than number of variables 4) number of non zero rows and number of variables are equal Which one is correct?
Written in MASM Assembly Problem Definition: Write a program to calculate Fibonacci numbers. • Display the...
Written in MASM Assembly Problem Definition: Write a program to calculate Fibonacci numbers. • Display the program title and programmer’s name. Then get the user’s name, and greet the user. • Prompt the user to enter the number of Fibonacci terms to be displayed. Advise the user to enter an integer in the range [1 .. 46]. • Get and validate the user input (n). • Calculate and display all of the Fibonacci numbers up to and including the nth...
Program Description A local company has requested a program to calculate the cost of different hot...
Program Description A local company has requested a program to calculate the cost of different hot tubs that it sells. Use the following instructions to code the program: File 1 - HotTubLastname.java Write a class that will hold fields for the following: The model of the hot tub The hot tub’s feature package (can be Basic or Premium) The hot tub’s length (in inches) The hot tub’s width (in inches) The hot tub’s depth (in inches) The class should also...
Consider the following Ricardian model of world trade. There are 2 goods, Beer (B) and Pretzels...
Consider the following Ricardian model of world trade. There are 2 goods, Beer (B) and Pretzels (P), and 2 countries, Home and Foreign. Assume each country has the same preferences, and technologies are such that: HOME: 1 unit of B requires 2 units of labor; 1 unit of P requires 18 units of labor FOREIGN: 1 unit of B requires 3 units of labor; 1 unit of P requires 5 units of labor. A. If trade is introduced between these...
Consider the following system at equilibrium where H° = -111 kJ, and Kc = 0.159, at...
Consider the following system at equilibrium where H° = -111 kJ, and Kc = 0.159, at 723 K. N2(g) + 3H2(g) 2NH3(g) If the VOLUME of the equilibrium system is suddenly increased at constant temperature: The value of Kc: A. increases. B. decreases. C. remains the same. The value of Qc: A. is greater than Kc. B. is equal to Kc. C. is less than Kc. The reaction must: A. run in the forward direction to reestablish equilibrium. B. run...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT