Question

In: Computer Science

Subject: Operating System. I need a quick response, please kindly reply with a text/message not pictures....

Subject: Operating System.

I need a quick response, please kindly reply with a text/message not pictures.

Q1. What are the kernel threads? How does the affect the scheduling in one-to-one, one-to-many, and many-to-many systems?

Q2. Describe in detail the different types of OS structures. Which OS structure is most robust and why?

Please kindly solve the above two questions as soon as possible like in an hour, please.

Solutions

Expert Solution

1. Kernel threads:

It is an entity that can be scheduled. It is managed by a scheduler in the system. It represents a task running in kernel mode. Hence, it is an entity in kernel space and can include processes or handlers for interrupts. One thread can reference another thread. It can also run inside another process.

Kernel threads in one-to-one, one-to-many, and many-to-many systems:

  • In one-to-one system, kernel thread is used to manage different user threads. It is used to overcome various problems. Such as system call blocking or process split across many processors.
  • In one to many systems, one user thread can relate to many kernel threads. Blocking one kernel level thread doesn't block the process because of the availability of other many user threads.
  • In many to many systems, many user threads are used. It is done by sharing the best features of the other two systems. Users are allowed to create as many threads as possible.

2. Types of OS structures:

Normal structure:

In this type, there is no well defined criteria. This is used with small systems. The interface and functions of the OS might not be separated properly. An example here is of MS DOS.

Layers:

In layered structure, the entire system is broken into chunks or layers. Every layer represents a level in the OS. There is an interface between two layers to facilitate communication between them. It simplifies the structure and functionality in the OS.

Micro kernel:

In this all the non necessary parts are removed from the kernel and are implemented as user or system level programs. In this way, a small or micro kernel is formed. It is the best structure since one can easily modify the user space services and the kernel will not get affected.

Modular structure:

In this structure, there are different modules in the OS. These modules are usually dynamically loadable. This also means that the kernel will have only some parts of core functionality. It is somewhat similar to layered structure. But it is more flexible than that.

Robust structure:

The most robust structure is said to be micro-kernel. This is because the kernel doesn't require any modification or update if there is any user service addition. Also it is more reliable and secure in that way. If there is any service failure, the rest of the OS will still function well.




Related Solutions

i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK OF Business Ideas based on a indian restaurants Purpose: Develop and formulate an idea for your own business. Money is not an issue for this assignment. Envision that you get all the funding you need to start it up. Task: Write a short abstract (200-250 Words) describing your business idea in the discussion section of this assignment. What is the basic idea? What are...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK OF Business Ideas based on a indian restaurants Purpose: THIS IS THE QUESTION : Develop and formulate an idea for your own business. Money is not an issue for this assignment. Envision that you get all the funding you need to start it up. Task: Write a short abstract (200-250 Words) describing your business idea in the discussion section of this assignment. What is...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK OF Business Ideas based on a indian restaurants Purpose: Develop and formulate an idea for your own business. Money is not an issue for this assignment. Envision that you get all the funding you need to start it up. Task: Write a short abstract (200-250 Words) describing your business idea in the discussion section of this assignment. What is the basic idea? What are...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK...
i REALLY NEED REPLY AS SOON AS POSSIBLE: PLEASE PLEASE MAKE THE ASSIGNMENT ON THIS TASK OF Business Ideas based on a indian restaurants Purpose: Develop and formulate an idea for your own business. Money is not an issue for this assignment. Envision that you get all the funding you need to start it up. Task: Write a short abstract (200-250 Words) describing your business idea in the discussion section of this assignment. What is the basic idea? What are...
Here is the discussion Question. The reply is below the discussion question. I need a reply...
Here is the discussion Question. The reply is below the discussion question. I need a reply to the reply below.(I need an elaborate and comprehensive answer) Do you think markets, in general, are “self-regulating” at least in the US today ? if so why and if not why not? [2] As the prices of good and services begin to increase, shifting to its alternatives is possibly to occur in consumption. However, potential issues may arise from waiting for current prices...
please, I need 7-8 meaningful sentences as an answer ( reply saying how i liked the...
please, I need 7-8 meaningful sentences as an answer ( reply saying how i liked the post or adding some details to it) to this post. I would really appreciate it ACTIVITY BASED COSTING AND ANALYSIS Because overhead cannot be applied to the units of production in the same manner that direct labor and direct materials can, we assign overhead costs by using one of three allocation methods. The three different methods of assigning overhead costs are a single plantwide...
I need a reply for this comment: "In a perfect world if I was working for...
I need a reply for this comment: "In a perfect world if I was working for a local hospital or doctors office, I believe that the hospital/office would need to make and keep their employees happy. This can be with incentives and good benefits. However, a main reason that I would keep a position is the leadership of co-workers, management, and the doctors. This would make work pleasant and would flow into employees working better with customers and patients. The...
Explain the concept of double entry system and its relationship with accounting equation? kindly I need...
Explain the concept of double entry system and its relationship with accounting equation? kindly I need the answer written not as a picture.
I need a response to this discussion please, It should be two paragraphs. According to the...
I need a response to this discussion please, It should be two paragraphs. According to the researchers, melatonin has many uses, common being insomnia, and jet lag. It is also used for heart disease, symptoms of menopause, benzodiazepine withdrawal in the elderly, breast and prostate cancer prevention and treatment, fibromyalgia, IBS, epilepsy, pulmonary sarcoidosis, and to increase chances of pregnancy in women with polycystic ovarian syndrome. Topical melatonin is used to prevent and treat sunburn. In a study done by...
Reply to text below in 200 words The urinary system is composed of many working parts....
Reply to text below in 200 words The urinary system is composed of many working parts. The main parts include, the kidneys, ureters, bladder, and urethra. The function of the kidneys involves nephrons (filtering units) filtering out urea (product of waste due to the breakdown of proteins) in the blood. The urine then will travel down from the kidneys to the bladder through tubes called the ureters. Urea, or waste products, are excreted in the form of urine through the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT