Question

In: Computer Science

Hi there, Thanks for your quick response in Advance . Best, - Operating systems typically split...

Hi there,

Thanks for your quick response in Advance .

Best,

- Operating systems typically split functionality into layers.

- Explain what it means and how it works

- Explain the advantages and disadvantages of the structure of software as layers in distributed systems.

Thanks a Lot!!

Solutions

Expert Solution

Operating system can be made in modular using many ways. One method from them is layered approach.

In this approach, OS can be broken up into different number of levela or layers. The highest layer(layer N) is UI(user interface) ad bottom layer means layer 0 is the hardware. Design of these layers are done in such a way that each layer uses the functions of the lower layers only means layers can only interect with the layers that are below it. For debugging process, it always starts with lower layer. It helps into debugging that if any error occurs in a particular layer then we can say that the error is in that layer because it's all lower layers are already debugged.

So, main advantage of this approach is can be constructed simply and debugging. But the difficulty is to define the different layers.

Different layers in this approach from lower to higher are hardware, CPU schedulling, memory management, process management, I/O buffer, User programs etc..

For example, MS windows NT in which the lowest layer is a monolithic kernel and many components presents at higher level.

Advantages of layered approach in distributed system :

  • Simply constructed
  • Easy for debugging
  • increases flexibility, maintainability and scalability because in layered approach, UI is separate from business logic and business logic is separated from data access logic.
  • Multple app can use the components

Disadvantages of layered approach in distributed system :

  • negative impact on performance because we have extra overhead when passing through all the layers. for example if user executes an i\o operation, it need to execute a memory management layer, which in turn calls to CPU scheduling layer, which in turn calls to hardware. At each layer, parameters can be modified.
  • Hard to define each layer in the distributed system.

Related Solutions

Operating systems typically split functionality into layers. Explain the advantages and disadvantages of the structure of...
Operating systems typically split functionality into layers. Explain the advantages and disadvantages of the structure of software as layers in distributed systems
Thanks in advance! Break-Even Sales Under Present and Proposed Conditions Darby Company, operating at full capacity,...
Thanks in advance! Break-Even Sales Under Present and Proposed Conditions Darby Company, operating at full capacity, sold 108,000 units at a price of $78 per unit during the current year. Its income statement for the current year is as follows: Sales $8,424,000 Cost of goods sold 4,160,000 Gross profit $4,264,000 Expenses: Selling expenses $2,080,000 Administrative expenses 2,080,000 Total expenses 4,160,000 Income from operations $104,000 The division of costs between fixed and variable is as follows: Variable Fixed Cost of goods...
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.
Hi,This question is very important and I need a quick your answer.Br//Ha a. Consider an economy...
Hi,This question is very important and I need a quick your answer.Br//Ha a. Consider an economy that is characterised by the following Phillips curve: ? = ?- − ?(? − ?e ), where ? is unemployment, ?- is the natural rate of unemployment, ? is inflation, ?e is inflation expectations and ? > 0 is a parameter. Suppose that the loss function of the central bank is given by: ?(?, ?) = ? + 3/2 ?2, Agents are assumed to...
Hi,This question is very important and I need a quick your answer.Br//Ha a. Consider an economy...
Hi,This question is very important and I need a quick your answer.Br//Ha a. Consider an economy that is characterised by the following Phillips curve: ? = ?- − ?(? − ?e ), where ? is unemployment, ?- is the natural rate of unemployment, ? is inflation, ?e is inflation expectations and ? > 0 is a parameter. Suppose that the loss function of the central bank is given by: ?(?, ?) = ? + 3/2?2, Agents are assumed to be...
Quick Solution Please..... OS (Operating Systems) [1] Briefly, what is the difference between: 1- Buffering &...
Quick Solution Please..... OS (Operating Systems) [1] Briefly, what is the difference between: 1- Buffering & Spooling. 2- Synchronous & Asynchronous I/O. 3- CPU-bound & I/O-bound jobs. 4- Multiprogramming & Timesharing. 5- Logical & Physical addresses. 6- User & Monitor modes in Operating System. [2] (i) Define Timesharing.      (ii) In a one processor system, there is an interrupt clock which is set to a “time slice Q”, that is, every Q an interrupt occurs to stop the process. There is...
Your response should be more than 700 words. Thanks! Question: According to your knowledge and opinion,...
Your response should be more than 700 words. Thanks! Question: According to your knowledge and opinion, identify and discuss TWO actors in the digital environment (e.g. technological forces, economic forces, social forces, legal forces, consumers) that may contribute to the current business success of Facebook.
Your response should be more than 700 words. Thanks! Question: As an investor in a social...
Your response should be more than 700 words. Thanks! Question: As an investor in a social network such as Facebook, discuss TWO risks/factors that could damage the future growth potential of the social network. Support your answer with examples.
Thanks for your speedy response!! Timed problem. Data showing the values of several pitching statistics for...
Thanks for your speedy response!! Timed problem. Data showing the values of several pitching statistics for a random sample of 20 pitchers from the American League of Major League Baseball is provided. Player Team W L ERA SO/IP HR/IP R/IP Verlander, J DET 24 5 2.40 1.00 0.10 0.29 Beckett, J BOS 13 7 2.89 0.91 0.11 0.34 Wilson, C TEX 16 7 2.94 0.92 0.07 0.40 Sabathia, C NYY 19 8 3.00 0.97 0.07 0.37 Haren, D LAA 16...
Hi Lisa. You did a great job on your response! I’m glad that you focused on...
Hi Lisa. You did a great job on your response! I’m glad that you focused on the use of forecasting for both an internal and external perspective. In the 10K annual report filings, management will typically include a very high-level “forward looking information” section that forecasts key figures. Meanwhile, the company would have a full forecast in their internal systems which would not be made public. Class, how detailed should an internal forecast be? Why would management need more detail...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT