Question: Problem 1 : ( 8 pts ) User - Kernel Threads General: ( 2 pts ) You are writing a multi - threaded application that
Problem : pts UserKernel Threads
General: pts You are writing a multithreaded application that serves many distinct groups of client programs concurrently. Lets assume that there are physical cores, with way simultaneous multithreading SMT The goal is to take advantage of the underlying parallel processing environment. Lets assume that our OS is such that it restricts the total number of software threads to Provide a kernel to user threads configuration for the: M::: M:N model.
Discuss how you will distribute software threads kernel and user threads, which model you will opt for, what numbers for threads you will select in order to increase the response time of your system while you also wish to accommodate special requirements such as:
Case : pts sensitive group applications with special priorities
Case : pts client services including ipc with pipes and shared memory,
Case : pts assume that the kernel runs all tasks on logical cores using a roundrobin equal quantum scheduler of msecs for every kernel thread that is scheduled on a logical core. We wish to ensure that if application A initiator executes for X msecs then application B follower will execute for X msecs right after. Application requests make average use of IPC. In that case, what distribution of hardwaresoftware threads should I choose? Assume we have initiator applications. Is it possible to determine the minimum andor maximum time quantum in msecs for X that permits the prescribed execution? If it is what is that value? If it is not, why not? What is the minimum amount of time to service all initiator and follower applications?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
