Skip to main content

Posts

Showing posts from October, 2019

Segmentation in OS

Segmentation in OS:- In Operating Systems, Segmentation is a memory management technique in which, the memory is divided into the variable size parts. Each part is known as segment which can be allocated to a process. The details about each segment are stored in a table called as segment table. Segment table is stored in one (or many) of the segments. Segment table contains mainly two information about segment: Base: It is the base address of the segment Limit: It is the length of the segment. Why Segmentation is required? Till now, we were using Paging as our main memory management technique. Paging is more close to Operating system rather than the User. It divides all the process into the form of pages regardless of the fact that a process can have some relative parts of functions which needs to be loaded in the same page. Operating system doesn't care about the User's view of the process. It may divide the same function into different pages and those page

Process Control Block(PCB)

Process Control Block:- Process Control Block is a data structure that contains information of the process related to it. It is very important for process management as the data structuring for processes is done in terms of the PCB. It also defines the current state of the operating system. Structure of the Process Control Block The process control stores many data items that are needed for efficient process management. Some of these data items are explained with the help of the given diagram: The following are the data items: Process State This specifies the process state i.e. new, ready, running, waiting or terminated. Process Number This shows the number of the particular process. Program Counter This contains the address of the next instruction that needs to be executed in the process. Registers This specifies the registers that are used by the process. They may include accumulators, index registers, stack pointers, general purpose registers etc. List

TCP/IP MODEL

TCP/IP MODEL:- TCP/IP model The TCP/IP model was developed prior to the OSI model. The TCP/IP model is not exactly similar to the OSI model. The TCP/IP model consists of five layers: the application layer, transport layer, network layer, data link layer and physical layer. The first four layers provide physical standards, network interface, internetworking, and transport functions that correspond to the first four layers of the OSI model and these four layers are represented in TCP/IP model by a single layer called the application layer. TCP/IP is a hierarchical protocol made up of interactive modules, and each of them provides specific functionality. Here, hierarchical means that each upper-layer protocol is supported by two or more lower-level protocols. Functions of TCP/IP layers: Network Access Layer A network layer is the lowest layer of the TCP/IP model. A network layer is the combination of the Physical layer and Data Link layer defined in the OSI reference

OSI Model

OSI Model:- OSI Model OSI stands for  Open System Interconnection  is a reference model that describes how information from a software application in one computer moves through a physical medium to the software application in another computer. OSI consists of seven layers, and each layer performs a particular network function. OSI model was developed by the International Organization for Standardization (ISO) in 1984, and it is now considered as an architectural model for the inter-computer communications. OSI model divides the whole task into seven smaller and manageable tasks. Each layer is assigned a particular task. Each layer is self-contained, so that task assigned to each layer can be performed independently. Characteristics of OSI Model: The OSI model is divided into two layers: upper layers and lower layers. The upper layer of the OSI model mainly deals with the application related issues, and they are implemented only in the software. The application layer is