Question

Can a multithreaded solution using a multiple-level threads achieve better performance on a multiprocessor system than...

Can a multithreaded solution using a multiple-level threads achieve better performance on a multiprocessor system than on a single processor system? Explain

Homework Answers

Answer #1

Please follow the data and description :

In general, a multithreaded system consisting of multiple user level threads cannot make use of the different processors in a multiprocessor system simultaneously. Now a user-level threads are those that are created by the user for the ease of execution over the course of time. So let's assume that the defined user-level threads are not known to the kernel system. So in this case, the solution is YES, because the scheduling is done only at the process level.

On the other hand, some different Operating Systems allow the defined user-level threads to be assigned to different kernel level processes for the purposes of scheduling every user-level threads. In this case the multithreaded solution could be faster. To be noted that a multi-threaded solution on a uniprocessor/single processor can faster the process that may be faster than a single-threaded solution on a uniprocessor. The operating system is visualised only on a single process and that will not schedule the remaining different threads of the process on separate processors. This even is not a performance benefit that is associated with the executing multiple user-level threads on a multiprocessor system.


Hope this is helpful.

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
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...
Why are threads not constrained to the number of processors available on a system? If I...
Why are threads not constrained to the number of processors available on a system? If I only have 4 processors (cores) soon a system, can I really benefit from having more than 4 threads? Explain please. When creating a thread using pthread_create, why does the function you pass take void * as its single argument and return a void *? Why not a char * or int *?
Explain this statement, "no problem solution can be better than the quality of diagnosis on which...
Explain this statement, "no problem solution can be better than the quality of diagnosis on which it is built"
Using the concept of game theory and the prisoner's dilemma, explain why it is better for...
Using the concept of game theory and the prisoner's dilemma, explain why it is better for oligopoly firms to work together than compete with each other. How can they achieve this outcome?
Which of the following is a criticism of using ROI as the only performance measure? Multiple...
Which of the following is a criticism of using ROI as the only performance measure? Multiple Choice It does not factor in the size of the company. It only considers sales revenue and not the related costs. It includes the company's target rate of return in its calculation, which can be subjective. It may incentivize decisions that are beneficial at the division-level, but not necessarily at the overall company-level.
Can two individuals own the same stocks in their portfolios and still achieve a different level...
Can two individuals own the same stocks in their portfolios and still achieve a different level of risk and return on their investments? Explain what the efficient frontier is and why it is important to investors.
In which case an IPsec VPN is generally considered a better solution than an SSL VPN...
In which case an IPsec VPN is generally considered a better solution than an SSL VPN for remote access? Explain. A. Telecommuters coming from fixed sites, using managed corporate devices and terminating in a secure, private network on either side. B. Telecommuters without fixed access who want to come in from a variety of sites. C. Both of the above
Can thymine and guanine complement each other? Is this arrangement better or worse than the complementation...
Can thymine and guanine complement each other? Is this arrangement better or worse than the complementation of thymine with adenine and guanine with cytosine? Explain your reasoning.Can thymine and guanine complement each other? Is this arrangement better or worse than the complementation of thymine with adenine and guanine with cytosine? Explain your reasoning.
a) Is a biweekly repayment plan better than a monthly repayment plan? Why? Can you show...
a) Is a biweekly repayment plan better than a monthly repayment plan? Why? Can you show why using examples? b) Lenders prefer owner-occupied properties over rental properties to finance. Why? c) What are loan points? Explain the two types.
Explain why excessive heat generation can produce degraded performance for glass based high-level radioactive waste forms,...
Explain why excessive heat generation can produce degraded performance for glass based high-level radioactive waste forms, including the nature and causes of reduced performance.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT