Please enable JavaScript.
Coggle requires JavaScript to display documents.
✇ Team 7 ✇, image, image, 🍥 - Coggle Diagram
✇ Team 7 ✇
OS STRUCTURE
Layered
-
-
• Implementation of each layer can be modified without requiring
any modification to other layers. (called modular)
• Each component hides how it performs its job and presents a standard interface that other components can use to request its services.
-
• Kernel susceptible to damage from errant or malicious code
because all layer has unrestricted access to the system.
• Example: Windows XP, Linux, Windows 2000 implement some
level of layering.
-
• Lower-level layers provide services to higher-level layer
using interfaces that hide their implementation.
-
-
-
Microkernel
-
•Divide OS into several processes, each implements a single set of servoces
•Example: I/O servers, memory server,process server
▪Developed to take out of the kernel as much functionality as possible,in order to:
-
- to allow easy modifications and extensions.
-
how do they work
▪Components above microkernel communicate directly with one another,although using message that pass through the mircokernel itself
▪Microkernel validate messages, passes them between the components and grants access to hardware.
▪Example: C-DAC microkernel, Mach, Windows NT, chorus
Monolithic
-
- Every component of OS contain in the kernel and can directly communicate with any other components
-
-
-
-
WEAKNESS:
-
-
-
-
•To add any new service, the entire operating system needs to be modified by the user.
-
-
-
Basic function of OS
-
-
-
-
-
8.Permit file operations such as file creation, deletion, editing, renaming
and recovering lost data, etc.
-
9.Provide security for computer resources by way of user accounts,
passwords, etc.
-
10.Accounting resource usage – who uses which resource, how much and
when.
Various product of OS
Closed source system.
-
Example
For computers
For mobile phone
-
-
Open source system
-
Example
For computers
For mobile phone
-
Weakness
-
-
-
4.Most open source projects are being worked on by developers who do it for fun and in their own time.
5.With the right knowledge it is quite trivial to find security problems in open source software, this can also lead to evil plan.
Concepts in OS
Multitasking
-
The CPU switches from one program to the next so quickly that it appears as if all of the programs are executing at the same time.
The user gives instructions to the OS or to a program directly, and receives an immediate response.
OS handles multitasking in the way that it can handle multiple operations / executes multiple programs at a time.
-
-
Multiprogramming
When two or more programs are residing in memory at the same time, then sharing the processor is referred to the multiprogramming.
-
Multiprogramming increases CPU utilization by organizing jobs so that the CPU always has one to execute.
-
When a job issues an I/O request (e.g., open a file, read data from a file), it cannot continue until the request is fulfilled.
-
Time Sharing
-
The CPU executes multiple jobs by switching among them, but switching occur so frequently that the users can interact with each program while it is running.
-
-
Buffering
-
-
It temporarily stores input or output data in an attempt to better match the speeds of two devices such as a fast CPU and a slow disk drive.
If, for example, the CPU writes information to the buffer, it can continue in its computation while the disk drive stores the information.
Spooling
Refers to a process of transferring data by placing it in a temporary working area where another program may access it for processing at a later point in time.
Refers to putting jobs in a buffer, a special area in memory or on a disk where a device can access them when it is ready.
With spooling, the disk is used as a very large buffer. Usually complete jobs are queued on disk to be completed later.
A typical example is the spooler for a printer. When a print job is issued, the spooler takes care of it, sending it to the printer if it is not busy, or storing it on disk otherwise.
Caching
copying information into faster storage system; main memory can be viewed as a last cache for secondary storage.
Important principle, performed at many levels in a computer (in hardware, operating system, software)
-
-
-
-
-
-