Home > Operating System > Day 2: Operating System Components

Day 2: Operating System Components

Operating System Components Are Process Management, Memory Management, Storage Management, Networking, Protection And Security, User Interface.

Multi-Processing

  1. Single-Processor Computers
  2. Multi-Processor Computers

2.Multi-Processor Computers

  • Increased Throughput
  • Economy Of Scale (cost less share resources)
  • Increased Reliability

3.Asymmetric vs symmetric multiprocessing

4.Multiprocessor vs clustered systems

5.Multiprocessing vs multiprogramming

  • Degree Of Multiprogramming

OS system structure

1.Multiprogramming

  • Keep CPU And I/O Devices busy at all times

2.Timesharing/ multitasking 

  • Each user has at least one program executing in memory
  • If several jobs ready to run at the same time
  • -> CPU Scheduling
  • If Processes don’t fit in memory, swapping moves them in and out to run

Components Of An OS

1. Process Management

2. Memory Management

3. Storage Management 

  • Uniform, Logical View Of Information Storage
  • File Management
  • I/O Subsystem (Hide Peculiarities Of Hardware Devices From The User)

4. Networking 

5. Protection And Security 

  • Protection- Any Mechanism For Controlling Access Of Processes Or Users To Resources Defined By The OS
  • Security – Defence Of The System Against Internal And External Attacks

6.User Interface 

 

System Calls

1. System Call

  • Method Used By A Process To Request An Action By The OS

2.Dual Mode Operation 

  • 2 Modes: User And Supervisor/Privileged/Monitor/Kernel
  • Privileged Instructions Must Go Through The OS

Computing Environments

1.Traditional

2.Mobile 

3.Distributed

  • Local Area Network(LAN)-room, building, campus
  • Wide Area Network(WAN)-cities, countries
  • Metropolitan Area Network(MAN)-buildings in a city
  • PersonalArea Network (PAN)-(i.e.Bluetooth)

4.Network Operating System

  • Systems Across Network
  • Illusion Of Single Network

Multiprocessor

1. Early Systems Allow Only One Process To Run, Others Suspended 

2. Due To Screen Real Estate, UI Limits iOS Provides For A

  • Single Foreground Process- Controlled Via User Interface
  • Multiple Background Processes- In Memory, Running, But Not On The Display, And With Limits
  • Limits Include Single, Short Task, Receiving Notification Of Events, Specific Long-Running Tasks Like Audio Playback

3. Android Runs Foreground, With Fewer Limits 

  • Background Process Uses A Service To Perform Tasks
  • Service Can Keep Running Even If Background Process Is Suspended
  • Service Has No User Interface, Small Memory Use

 

Multiprocess Architecture – Chrome Browser

1. Many Web Browsers Ran As Single Process (Some Still Do)

  • If One Web Site Causes Trouble, Entire Browser Can Hang Or Crash

2. Google Chrome Browser Is A Multiprocess With 3 Categories

  • Browser Process Manages User Interface, Disk, And Network I/O
  • Renderer Process Renders Web Pages, Deals With HTML, Javascript, New One For Each Website Opened, Runs In Sandbox Restricting Disk And Network I/O, Minimizing Effect Of Security Exploits
  • Plug-in Process For Each Type Of Plug-in

 

18 thoughts on “Day 2: Operating System Components

  1. Howdy would ʏou mind sharing whіch blog platform yoᥙ’гe working with?
    I’m planning to start mmy own blog in the near future bbut I’m һaving a tougһ time choosing between BⅼogEngіne/Wordpress/B2evolution and Drupal.

    The reason I ask is because your layout seems diffeгent then most blogs and I’m looking ffor
    sommething unique. P.S Apoloɡies forr getting off-topic but I had to
    ask! https://Projectstudentsafety.org/sitemap.xml

  2. Howdy ԝoulԁ you mind sharingg which bog platform you’re working with?
    I’m plаnning to start my own bⅼog in the neɑr
    futսre but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your ⅼаqyout seemѕ different then most blogs and
    I’m ⅼooking for something unique.
    P.S Apologies for getting off-topiⅽ but I had to ask! https://Projectstudentsafety.org/sitemap.xml

Leave a Reply