Skip to main content

Operating System

Types of Operating System

  1. Simple Batch System
  2. Multiprogramming Batch System
  3. Multiprocessor System
  4. Distributed Operating System
  5. Realtime Operating System
Kernels may be classified mainly in two categories 
  1. Monolithic
  2. Micro Kernel ( low-level address spacemanagement, thread management, and inter-process communication (IPC) )

Linux follows the monolithic modular approach

Deadlock

A deadlock occurs when the following four conditions are present simultaneously

Mutual exclusion: Each resource can be assigned to at most one process only.
Hold and wait: Processes hold a resource and may seek an additional resource.
No pre-emption: Processes that have been given a resource cannot be preempted to release their resources.
Circular wait: Every process awaits release of at least one resource held by some other processes

Starvation
In computer sciencestarvation is a problem encountered in concurrent computing where a process is perpetually denied necessary resources to process its work.

Starvation may be caused by errors in a scheduling or mutual exclusion algorithm, but can also be caused by resource leaks, and can be intentionally caused via a denial-of-service attack such as a fork bomb.

Priority Inversion
priority inversion is a problematic scenario in scheduling in which a high priority task is indirectly preempted by a lower priority task effectively "inverting" the relative priorities of the two tasks.

Fork Bomb


In computing, a fork bomb (also called rabbit virus or wabbit[1]) is a denial-of-service attack wherein a processcontinually replicates itself to deplete available system resources, slowing down or crashing the system due toresource starvation.

Comments

Popular posts from this blog

Attendance Management System - An IOT approach

In the course of Software for Embedded Systems, we chose to implement Attendance Management System using embedded devices like RFID Reader, GSM Module and Raspberry Pi as our development board. Even before entering into BITS Pilani, I had wished to work with Raspberry Pi. It always intrigued me on how to work with these embedded devices. Didn't get enough encouragement while in the job to carry out experiments of my own. Coming back to the project, the components used for developing the systems are as follows : Hardware Raspberry Pi GSM Module RFID Reader LED Screen Software Django Web Framework MySQL Database (in production) SQLite Database (in development) Bootstrap 3 Frontend Framework The happy path of the system was as below : Each student is given a RFID card Student exists in our software along with the mapping of RFID card number with the student ID Student taps the card in each class to mark his presence in the class System reads the unique nu...