Question

In order to fully utilize multiprocessor machines, it is important to guarantee that we use kernel-level...

In order to fully utilize multiprocessor machines, it is important to guarantee that we
use kernel-level thread libraries over multithreaded kernel.


a)Compare the performance if we use a user-level thread library on top of (i)
non-multithreaded kernel or (ii) multithreaded kernel. Are their performance similar or (i)
is better than (ii) or (ii) is better than (i)? Justify your answer.
b) Discuss whether blocking problem occurs for both cases in (a). The blocking
problem here means that if one user-level thread is blocked, the whole system is blocked.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) Performance of Multithreaded Kernel is better than Non-Multithreaded kernel because of the following reasons:

1) Responsiveness- Let's suppose a Process which is using Multithreaded environment , if one of the threads is blocked due to some reason than it does not mean that the whole program stopped working. You can use various other threads in that Program to run it. For eg: In a Application, If one thread is downloading any files than you can also view the Webpage or interact with the application at the same time. It is due to the Multithreading environment.

If we talk about non-multithreaded environment, than in that case whole program gets blocked if the thread is blocked

2)Resource Sharing- By deafult,threads share the memory and the resources of the process to which they belong.The benifits of sharing code and data is that it allows an application to have different threads of activity within the same addess space.But we cannot do this thing in Non-Multithreaded Environment

3)Utilisation of Multiprocessor Architectures- The Benifit of Multithreading can be in a Multiprocessor architecture,where threads may be running in parallel on different processors,so making it more efficient. A single threaded process can only be run on one CPU, no matter how many CPU (processors) are available. Multithreading on a multi-CPU machine increases concuurency

So, these above 3 points Justify my answer that Multithreading Kernel is Better and Efficient than Non-Multithreading Kernel

Let's Talk about Blocking of the thread in User Level and Kernel Level:

. If we talk about blocking than if one of the threads is blocked in user level than whole process will be blocked but in Kernel-level if one of the threads of the kernel level is blocked than this results no affects on another threads,therefore the process will not stop.

Why this Happens?

With kernel threads, the kernel is aware of all of the threads inside the process, because the kernel created them (on behalf of the application) and manages them directly, so the kernel can schedule any of them directly. Because of that, when thread A blocks inside a system call, the kernel/scheduler can go ahead and run thread B for a while instead, because the kernel knows that thread B exists. (Contrast this with the user-threads case, where the kernel can't schedule thread B to run, because the kernel doesn't know that thread B exists; only the user-application itself knows about the existence of the user-level threads)

Add a comment
Know the answer?
Add Answer to:
In order to fully utilize multiprocessor machines, it is important to guarantee that we use kernel-level...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • We were unable to transcribe this imageCanvas Paints is a national paint manufacturer and retailer Click...

    We were unable to transcribe this imageCanvas Paints is a national paint manufacturer and retailer Click the icon to view additional information) Assume that management has specified a 22 target of return Read the requirements Requirement 3. Calculate each division's capital over interpret your results First enter the formula, then calculate the capitumover for each division (Round to two decimal places) Paint Stores Consumer The Division is more eficient in generating sales with its assets Requirement 4. Use the expanded...

  • As a subsidiary manager, would you consider Regent’s use of the beginning-of-the-year exchange rate for budget...

    As a subsidiary manager, would you consider Regent’s use of the beginning-of-the-year exchange rate for budget setting and average-of-the-year rate for budget tracking appropriate? Why? What changes in the budgeting process can Regent make to prepare foreign subsidiary managers to better respond to the effects of inflation and exchange rate changes? It was January 2016, and Lee Morgan, CEO of Regent, Inc., was getting ready to review the financial performance of Regent’s subsidiaries. In recent years, this exercise had become...

  • TRUE/FALSE QUESTIONS:  Foundations of Information Security and Assurance 1. There is a problem anticipating and testing for...

    TRUE/FALSE QUESTIONS:  Foundations of Information Security and Assurance 1. There is a problem anticipating and testing for all potential types of non-standard inputs that might be exploited by an attacker to subvert a program. 2. Without suitable synchronization of accesses it is possible that values may be corrupted, or changes lost, due to over-lapping access, use, and replacement of shared values. 3. The biggest change of the nature in Windows XP SP2 was to change all anonymous remote procedure call (RPC)...

  • We are going to assume the class is a group of policy makers at a large...

    We are going to assume the class is a group of policy makers at a large insurance company – ABC HMO. Part of our pay is based on the company's financial performance for the current year. Specifically, the company looks at actual vs. projected medical expenses per member. The expected is based on last year's actual adjusted for inflation. One of our planners read the below article in the NY Times and recommends we reduce our coverage of routine breast...

  • What are your top 3 takaways from this article? It’s always tempting to see the present...

    What are your top 3 takaways from this article? It’s always tempting to see the present moment as the peak of chaos and disruption, whether we’re talking about politics or just how those teenagers behave today. The same is true in marketing, because in many ways that profession is always in a state of chaos and disruption. But I don’t think it’s hyperbole to apply “peak chaos and disruption” to social media marketing in the first quarter of 2018. Let’s...

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

  • with job satisfaction? CC-12. Using job characteristics theory, explain why the present system of job design...

    with job satisfaction? CC-12. Using job characteristics theory, explain why the present system of job design may be con- tributing to employee dissatisfaction. Describe some ways you could help employees feel more satisfied with their work by redesigning their jobs. 1 me idea about **** Repairing Jobs That Fail to Sati Learning Goals Companies often divid ciency, but speciali quences. Drain sed specialization petitors' costs often divide work as a way to impro Secialization can lead to negative DrainFlow is...

  • Our controller, Richard Kimmel is negotiating with potential new Clay suppliers in Kentucky. We need the...

    Our controller, Richard Kimmel is negotiating with potential new Clay suppliers in Kentucky. We need the Large Gnome Division’s Master Budget for the fiscal year ended June 30, 2019 for our corporate strategic planning process, and we cannot wait for Richard’s return from Kentucky. We would like you to prepare the Large Gnome Division’s Master Budget for the fiscal year ended June 30, 2019. The deliverables are as follows: 8. Cash budget. 9. Budgeted income statement for the year ending...

  • Please use own words. Thank you. CASE QUESTIONS AND DISCUSSION > Analyze and discuss the questions...

    Please use own words. Thank you. CASE QUESTIONS AND DISCUSSION > Analyze and discuss the questions listed below in specific detail. A minimum of 4 pages is required; ensure that you answer all questions completely Case Questions Who are the main players (name and position)? What business (es) and industry or industries is the company in? What are the issues and problems facing the company? (Sort them by importance and urgency.) What are the characteristics of the environment in which...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT