SlideShare a Scribd company logo
Understanding Operating Systems Fifth Edition Chapter 10 Management of Network Functions
Learning Objectives The complexities introduced to operating systems by network capabilities Network operating systems (NOS) compared to distributed operating systems (DO/S) How a DO/S performs memory, process, device, and file management How a NOS performs memory, process, device, and file management Important features of DO/S and NOS Understanding Operating Systems, Fifth Edition
History of Networks Initial network creation Share expensive hardware resources  Provide  centralized information resource   access Operating system development Network operating system first Distributed operating system followed More powerful Distributed processing Even greater   centralized information access User collaboration  Complete   common tasks Understanding Operating Systems, Fifth Edition
Comparison of Network and Distributed Operating Systems Network operating systems (NOS) Local operating systems extend powers Handle interfacing details Coordinate remote processing Coordinate communications Between local operating systems  Limitations No global control of memory management, process management, device management, file management Viewed as autonomous local functions No true distributed computing Understanding Operating Systems, Fifth Edition
Comparison of Network and Distributed Operating Systems  (continued) Understanding Operating Systems, Fifth Edition
Comparison of Network and Distributed Operating Systems ( continued) Distributed operating systems  (DO/S) Global assets controlled  by operating system Provide unified environment Optimize whole network operations  Construction Replicated kernel operating system Network and intricacies hidden from users Use network as single logical system Understanding Operating Systems, Fifth Edition
Comparison of Network and Distributed Operating Systems ( continued) Understanding Operating Systems, Fifth Edition
Comparison of Network and Distributed Operating Systems ( continued) Understanding Operating Systems, Fifth Edition
DO/S Development Entire network resource groups managed globally Negotiation- and compromise-based resource  allocation  Occurs among equally important peer sites Advantage No special server software on local machines Supports file copying, e-mail, remote printing Understanding Operating Systems, Fifth Edition
Memory Management Uses kernel with paging algorithm Tracks   available memory amount Based on goals of local system Global system requirements drive local site policies and mechanisms Memory allocation and deallocation dependencies Scheduling and resource-sharing   schemes that optimize network resources Understanding Operating Systems, Fifth Edition
Memory Management  (continued) Extended role Memory requests: local and   global source s Local level Page allocation based on local policy Global level Receives process manager memory requests for new or expanding client or server processes   Uses local resources for memory garbage collection, compaction Decides most and least active processes Determines preemptive processes to provide space Understanding Operating Systems, Fifth Edition
Memory Management  (continued) Functions Control demand Allocates and deallocates space requests based on network’s usage patterns Page fault handling Automatically brings requested page into memory Examine total free memory table before allocating space Understanding Operating Systems, Fifth Edition
Memory Management  (continued) Functions (continued) Virtual memory management Allocates and deallocates virtual memory Reads and writes to virtual memory Swaps virtual pages to disk Locks virtual pages in memory and protects pages as needed Understanding Operating Systems, Fifth Edition
Memory Management  (continued) Understanding Operating Systems, Fifth Edition
Process Management Provides policies and mechanisms Create,   delete, abort, name, rename, find, schedule, block, run, synchronize processes Provide real-time priority execution if required Manages execution states READY, RUNNING, WAIT  Each CPU in network  Required to have own   run-time kernel Understanding Operating Systems, Fifth Edition
Process Management  (continued) Kernel Role Helps system reach operational goal s States  Dependent on global system’s process scheduler and dispatcher System’s scheduling function (three parts) Decision mode Priority function Arbitration rule Understanding Operating Systems, Fifth Edition
Process Management  (continued) Understanding Operating Systems, Fifth Edition
Process Management  (continued) Decision mode Determines policies when scheduling resource  Options: preemptive, nonpreemptive, round robin Priority function Scheduling algorithm policy assigning order given to processes in execution cycle  Examples: most time remaining (MTR), LTR Arbitration rule Resolves conflicts between equal   priority jobs Examples: last-in first-out (LIFO), FIFO Understanding Operating Systems, Fifth Edition
Process Management  (continued) Job scheduling advances Theories Queuing theory Statistical decision theory Estimation theory Maximize system   throughput using durations to compute and schedule optimal way to interleave   process chunks Process functions Specific procedures  Create, locate, synchronize, delete process Understanding Operating Systems, Fifth Edition
Process Management  (continued) Process functions (continued) Create process PCB with  additional   information  identifying network location Locate process Uses system directory or process searching kernel queue spaces Requires interprocess communications support Synchronize processes Uses message passing or remote procedure calls Delete or terminate process Finds PCB, accesses it, deletes it Understanding Operating Systems, Fifth Edition
Process Management  (continued) DO/S design Process-based DO/S Network resources managed as large heterogeneous collection Object-based DO/S Clumps each hardware type with necessary operational software into discrete objects Manipulated as a unit Understanding Operating Systems, Fifth Edition
Process Management  (continued) Process-based DO/S   Process management using client/server processes Synchronized  and  linked together through messages and ports (channels or pipes) Emphasizes processes  and  messages Providing basic features essential to process management Process management Single OS copy Multiple cooperating peers Combination  of two   Understanding Operating Systems, Fifth Edition
Process Management  (continued) Process-based DO/S (continued) High-level cooperation  and  sharing Actions  and  data Synchronization  is  key  issue  in network process management Interrupts represented as messages Sent to proper process for service Understanding Operating Systems, Fifth Edition
Process Management  (continued) Object-based DO/S System   viewed as collection of objects   Examples:  hardware  (CPUs, memory),  software  (files, programs),  or combination Objects viewed as abstract entities Objects have a set of unchanging properties Process management becomes object management Processes act as discrete objects Two process management components Kernel level and process manager Understanding Operating Systems, Fifth Edition
Process Management  (continued) Kernel level Provides basic mechanisms for building OS Dynamically creating, managing, scheduling, synchronizing, deleting objects Responsibilities Maintains  network’s capability list s Responsible for process synchronization and communication support Communication between distributed objects Shared data objects, message objects, control interactions Scheduler with consistent and robust mechanism Understanding Operating Systems, Fifth Edition
Process Management  (continued) The Process Manager Creates own primitives If kernel does not have primitives  Examples: test and set, P and V Responsibilities Creating ,  dispatching, scheduling objects Synchronizing object operations Object communication and deleting objects Kernel environment   To perform above tasks Objects contain all their state information Understanding Operating Systems, Fifth Edition
Device Management Devices  Opened, read from, written to, closed Device parameters initialized and status bits set or   cleared Global, cluster, or   localized basis Allocates and deallocates devices to users  Only when process issues OPEN/CLOSE command Keeps global accounting of each network device Availability Understanding Operating Systems, Fifth Edition
Device Management  (continued) Understanding Operating Systems, Fifth Edition
Device Management  (continued) Process-based DO/S Resources controlled by servers Called “guardians”   or “administrators” Responsibilities Accepting requests for service on individual devices they control Processing each request fairly Providing service to requestor  Returning to serve others Understanding Operating Systems, Fifth Edition
Device Management  (continued) Understanding Operating Systems, Fifth Edition
Device Management  (continued) Process-based DO/S (continued) Systems have clusters of resources Group control  Configured around complex server processes Administrator process configured as Device Manager  Includes software  Accepts local and remote service requests Deciphers meaning, acts on them Server process  One or more device drivers, Device Manager, network server component Understanding Operating Systems, Fifth Edition
Device Management  (continued) Object-based DO/S   Each device managed same way throughout network Physical device considered an object Surrounded by software layer Physical device manipulated by set of operations, mobilizing device to perform designated functions Objects assembled to communicate and synchronize If local device manager cannot satisfy user request, request sent to another device manager Understanding Operating Systems, Fifth Edition
Device Management  (continued) Object-based DO/S (continued) Users  No need to know if centralized or distributed network resources Device Manager object at each site  Maintains   current directory of device objects at all sites Understanding Operating Systems, Fifth Edition
File Management Provide transparent mechanisms  Find, open, read, write, close, create, delete files Subset of database managers Distributed database management implementation Part of LAN Tasks Concurrency control Data redundancy Location transparency and distributed directory Deadlock resolution or recovery Query processing Understanding Operating Systems, Fifth Edition
File Management  (continued) Understanding Operating Systems, Fifth Edition
File Management  (continued) Concurrency control System ability to perform concurrent reads and writes Provided actions do not jeopardize database Provides serial execution view on database Data redundancy Makes files faster and easier to read Allows process to read copy closest or easiest to access Read request split into several different requests for larger file Understanding Operating Systems, Fifth Edition
File Management  (continued) Data redundancy (continued) Advantage: disaster recovery easy Disadvantage: keeping multiple copies of  same file up-to-date at all times Updates performed at all sites Location transparency and distributed directory Users not concerned with physical location of files Deal with network as a single system Provided by mechanisms and directories Map logical data items to physical locations Understanding Operating Systems, Fifth Edition
File Management  (continued) Location transparency and distributed directory (continued) Distributed directory  Manages data locations transparency Enhances data recovery for users Contains Definitions for stored physical data and logical structure Policies and mechanisms mapping the two Systemwide names of all resources and addressing mechanisms for locating and accessing them Understanding Operating Systems, Fifth Edition
File Management  (continued) Deadlock resolution or recovery Critical issues in distributed   systems Most important function  Detect and recover from a circular   wait Complex and difficult to detect because it involves multiple processes and multiple resources Strategies used by distributed system  Detection, prevention, avoidance recovery Understanding Operating Systems, Fifth Edition
File Management  (continued) Deadlock resolution or recovery (continued) Recognize circular waits System uses directed resource graphs Looks for cycles Prevent circular waits Delays transaction start until it has all resources  Avoid circular waits Allows execution if transaction can run to completion Recovery System selects best victim, kills victim, reallocates its resources to the waiting processes Understanding Operating Systems, Fifth Edition
File Management  (continued) Understanding Operating Systems, Fifth Edition
File Management  (continued) Query processing Function of processing requests for information Increases effectiveness Global query execution   sequences Local site processing sequences Device processing sequences Ensures consistency of entire system’s scheduling scheme Query processing strategy   Integral processing scheduling strategy part Understanding Operating Systems, Fifth Edition
Network Management Provides concurrent processes policies Intrasite and intersite communication Responsibilities Locate processes in network Send messages throughout network Track media use Reliably transfer data Code and decode messages, retransmit errors Perform parity checking, do cyclic redundancy checks, establish redundant links Acknowledge messages and replies if necessary Understanding Operating Systems, Fifth Edition
Network Management  (continued) Links processes (objects) together through port When communication needed Provides routing functions Keeps network use statistics Message scheduling, fault localizations, and rerouting Aids process time synchronization Systemwide clock Understanding Operating Systems, Fifth Edition
Network Management  (continued) Process-based DO/S Interprocess communication transparent to users Responsibilities Allocating ports to processes Identifying every process in network Controlling message flow Guaranteeing transmission and acceptance of messages without errors Interfacing mechanism for every process  Traffic operator: accepts and interprets send and receive commands Understanding Operating Systems, Fifth Edition
Network Management  (continued) Object-based DO/S Easy intermode and intramode communications among cooperative objects No need to know receiver location  Only receiver’s name  Provides message’s proper routing to receiver Process invokes operation part of its local object environment Services usually provided at kernel level Understanding Operating Systems, Fifth Edition
Network Management  (continued) Understanding Operating Systems, Fifth Edition
NOS Development NOS runs on  server Performs network services Workstations called  clients Network management functions  Only when system needs to use network Focus on sharing resources  Not running programs Factors for best NOS choice Applications  to run on server Technical   support required   User’s training level Understanding Operating Systems, Fifth Edition
NOS Development (continued) Understanding Operating Systems, Fifth Edition
Important NOS Features Support Standard local area network technologies Client desktop operating systems Robust architecture adapting easily to new technologies Support every operating system in corporate information network Operate wide range of third-party software applications and hardware devices Support multiuser network applications software Blend efficiency with security Understanding Operating Systems, Fifth Edition
Major NOS Functions Function Transfer files between computers Example :  FTP command Not true file sharing Must copy file to local disk Duplicates and wastes space Needs  version control Anonymous FTP Files available to general public Advantage: Web for FTP Users know how to use browser Understanding Operating Systems, Fifth Edition
Summary NOS  No full utilization of global resources available to all connected sites DO/S specifically addressed NOS failure Specific requirements Secure from unauthorized access  Accessible to authorized users Monitor available system resources Communications links Perform required networking tasks Understanding Operating Systems, Fifth Edition

More Related Content

PPT
Understanding operating systems 5th ed ch15
PPT
Understanding operating systems 5th ed ch09
PPT
Understanding operating systems 5th ed ch08
PPT
Understanding operating systems 5th ed ch07
PPT
Understanding operating systems 5th ed ch06
PPT
Understanding operating systems 5th ed ch13
PPT
Understanding operating systems 5th ed ch11
PPT
Understanding operating systems 5th ed ch03
Understanding operating systems 5th ed ch15
Understanding operating systems 5th ed ch09
Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch07
Understanding operating systems 5th ed ch06
Understanding operating systems 5th ed ch13
Understanding operating systems 5th ed ch11
Understanding operating systems 5th ed ch03

What's hot (20)

PPT
Understanding operating systems 5th ed ch05
PPT
Understanding operating systems 5th ed ch16
PPT
Understanding operating systems 5th ed ch04
PPT
Chapter 16 - Distributed System Structures
PPTX
Distributed file system
PPTX
Locus Distributed Operating System
PDF
Distributed Operating System_4
PPTX
Distributive operating system
ODP
Distributed File System
 
ODP
Distributed operating system(os)
PPT
Os Ds Arch
PPTX
Distributed os
PDF
Introduction to the Kernel Chapter 2 Mrs.Sowmya Jyothi
DOCX
Case study
PPTX
Distributed Operating System
PPT
Distributed OS - An Introduction
PPT
PDF
Operating system 3
PPT
Wk6a
PPTX
Distributed operating system
Understanding operating systems 5th ed ch05
Understanding operating systems 5th ed ch16
Understanding operating systems 5th ed ch04
Chapter 16 - Distributed System Structures
Distributed file system
Locus Distributed Operating System
Distributed Operating System_4
Distributive operating system
Distributed File System
 
Distributed operating system(os)
Os Ds Arch
Distributed os
Introduction to the Kernel Chapter 2 Mrs.Sowmya Jyothi
Case study
Distributed Operating System
Distributed OS - An Introduction
Operating system 3
Wk6a
Distributed operating system
Ad

Viewers also liked (7)

PDF
Operating Systems
PDF
Intermediate Operating Systems
PPT
Operating Systems
PPTX
Types of Operating System
PPTX
Functions Of Operating Systems
PPT
Operating system.ppt (1)
PPTX
Types of Networks,Network Design Issues,Design Tools
Operating Systems
Intermediate Operating Systems
Operating Systems
Types of Operating System
Functions Of Operating Systems
Operating system.ppt (1)
Types of Networks,Network Design Issues,Design Tools
Ad

Similar to Understanding operating systems 5th ed ch10 (20)

PPT
Understanding operating systems 5th ed ch01
PPTX
Lecture 3,4 operating systems
PPTX
Lecture 3,4 operating systems
PPT
Chapter 02
PPT
PPT
Chapter 02
PDF
operating system structure
PPTX
FILE Implementation Introduction imp .pptx
PPT
Distributed File Systems
PDF
CS9222 ADVANCED OPERATING SYSTEMS
PPT
Dfs (Distributed computing)
PPTX
Windows for Everyone(Operating System)
PPT
Chapter 22 - Windows XP
PPT
Understanding operating systems 5th ed ch12
PPT
OPERATING SYSTEM
PPT
16. Computer Systems Basic Software 2
PPTX
Lecture 1.pptx cs field hacing info on machine learning
PPTX
I/O System and Case study
PPTX
Introduction to OS, types of operating systems
DOCX
Discussion # 6Operating-System StructureA system as large an.docx
Understanding operating systems 5th ed ch01
Lecture 3,4 operating systems
Lecture 3,4 operating systems
Chapter 02
Chapter 02
operating system structure
FILE Implementation Introduction imp .pptx
Distributed File Systems
CS9222 ADVANCED OPERATING SYSTEMS
Dfs (Distributed computing)
Windows for Everyone(Operating System)
Chapter 22 - Windows XP
Understanding operating systems 5th ed ch12
OPERATING SYSTEM
16. Computer Systems Basic Software 2
Lecture 1.pptx cs field hacing info on machine learning
I/O System and Case study
Introduction to OS, types of operating systems
Discussion # 6Operating-System StructureA system as large an.docx

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Big Data Technologies - Introduction.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
KodekX | Application Modernization Development
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Big Data Technologies - Introduction.pptx
sap open course for s4hana steps from ECC to s4
Chapter 3 Spatial Domain Image Processing.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
20250228 LYD VKU AI Blended-Learning.pptx
Programs and apps: productivity, graphics, security and other tools
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KodekX | Application Modernization Development
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Understanding operating systems 5th ed ch10

  • 1. Understanding Operating Systems Fifth Edition Chapter 10 Management of Network Functions
  • 2. Learning Objectives The complexities introduced to operating systems by network capabilities Network operating systems (NOS) compared to distributed operating systems (DO/S) How a DO/S performs memory, process, device, and file management How a NOS performs memory, process, device, and file management Important features of DO/S and NOS Understanding Operating Systems, Fifth Edition
  • 3. History of Networks Initial network creation Share expensive hardware resources Provide centralized information resource access Operating system development Network operating system first Distributed operating system followed More powerful Distributed processing Even greater centralized information access User collaboration Complete common tasks Understanding Operating Systems, Fifth Edition
  • 4. Comparison of Network and Distributed Operating Systems Network operating systems (NOS) Local operating systems extend powers Handle interfacing details Coordinate remote processing Coordinate communications Between local operating systems Limitations No global control of memory management, process management, device management, file management Viewed as autonomous local functions No true distributed computing Understanding Operating Systems, Fifth Edition
  • 5. Comparison of Network and Distributed Operating Systems (continued) Understanding Operating Systems, Fifth Edition
  • 6. Comparison of Network and Distributed Operating Systems ( continued) Distributed operating systems (DO/S) Global assets controlled by operating system Provide unified environment Optimize whole network operations Construction Replicated kernel operating system Network and intricacies hidden from users Use network as single logical system Understanding Operating Systems, Fifth Edition
  • 7. Comparison of Network and Distributed Operating Systems ( continued) Understanding Operating Systems, Fifth Edition
  • 8. Comparison of Network and Distributed Operating Systems ( continued) Understanding Operating Systems, Fifth Edition
  • 9. DO/S Development Entire network resource groups managed globally Negotiation- and compromise-based resource allocation Occurs among equally important peer sites Advantage No special server software on local machines Supports file copying, e-mail, remote printing Understanding Operating Systems, Fifth Edition
  • 10. Memory Management Uses kernel with paging algorithm Tracks available memory amount Based on goals of local system Global system requirements drive local site policies and mechanisms Memory allocation and deallocation dependencies Scheduling and resource-sharing schemes that optimize network resources Understanding Operating Systems, Fifth Edition
  • 11. Memory Management (continued) Extended role Memory requests: local and global source s Local level Page allocation based on local policy Global level Receives process manager memory requests for new or expanding client or server processes Uses local resources for memory garbage collection, compaction Decides most and least active processes Determines preemptive processes to provide space Understanding Operating Systems, Fifth Edition
  • 12. Memory Management (continued) Functions Control demand Allocates and deallocates space requests based on network’s usage patterns Page fault handling Automatically brings requested page into memory Examine total free memory table before allocating space Understanding Operating Systems, Fifth Edition
  • 13. Memory Management (continued) Functions (continued) Virtual memory management Allocates and deallocates virtual memory Reads and writes to virtual memory Swaps virtual pages to disk Locks virtual pages in memory and protects pages as needed Understanding Operating Systems, Fifth Edition
  • 14. Memory Management (continued) Understanding Operating Systems, Fifth Edition
  • 15. Process Management Provides policies and mechanisms Create, delete, abort, name, rename, find, schedule, block, run, synchronize processes Provide real-time priority execution if required Manages execution states READY, RUNNING, WAIT Each CPU in network Required to have own run-time kernel Understanding Operating Systems, Fifth Edition
  • 16. Process Management (continued) Kernel Role Helps system reach operational goal s States Dependent on global system’s process scheduler and dispatcher System’s scheduling function (three parts) Decision mode Priority function Arbitration rule Understanding Operating Systems, Fifth Edition
  • 17. Process Management (continued) Understanding Operating Systems, Fifth Edition
  • 18. Process Management (continued) Decision mode Determines policies when scheduling resource Options: preemptive, nonpreemptive, round robin Priority function Scheduling algorithm policy assigning order given to processes in execution cycle Examples: most time remaining (MTR), LTR Arbitration rule Resolves conflicts between equal priority jobs Examples: last-in first-out (LIFO), FIFO Understanding Operating Systems, Fifth Edition
  • 19. Process Management (continued) Job scheduling advances Theories Queuing theory Statistical decision theory Estimation theory Maximize system throughput using durations to compute and schedule optimal way to interleave process chunks Process functions Specific procedures Create, locate, synchronize, delete process Understanding Operating Systems, Fifth Edition
  • 20. Process Management (continued) Process functions (continued) Create process PCB with additional information identifying network location Locate process Uses system directory or process searching kernel queue spaces Requires interprocess communications support Synchronize processes Uses message passing or remote procedure calls Delete or terminate process Finds PCB, accesses it, deletes it Understanding Operating Systems, Fifth Edition
  • 21. Process Management (continued) DO/S design Process-based DO/S Network resources managed as large heterogeneous collection Object-based DO/S Clumps each hardware type with necessary operational software into discrete objects Manipulated as a unit Understanding Operating Systems, Fifth Edition
  • 22. Process Management (continued) Process-based DO/S Process management using client/server processes Synchronized and linked together through messages and ports (channels or pipes) Emphasizes processes and messages Providing basic features essential to process management Process management Single OS copy Multiple cooperating peers Combination of two Understanding Operating Systems, Fifth Edition
  • 23. Process Management (continued) Process-based DO/S (continued) High-level cooperation and sharing Actions and data Synchronization is key issue in network process management Interrupts represented as messages Sent to proper process for service Understanding Operating Systems, Fifth Edition
  • 24. Process Management (continued) Object-based DO/S System viewed as collection of objects Examples: hardware (CPUs, memory), software (files, programs), or combination Objects viewed as abstract entities Objects have a set of unchanging properties Process management becomes object management Processes act as discrete objects Two process management components Kernel level and process manager Understanding Operating Systems, Fifth Edition
  • 25. Process Management (continued) Kernel level Provides basic mechanisms for building OS Dynamically creating, managing, scheduling, synchronizing, deleting objects Responsibilities Maintains network’s capability list s Responsible for process synchronization and communication support Communication between distributed objects Shared data objects, message objects, control interactions Scheduler with consistent and robust mechanism Understanding Operating Systems, Fifth Edition
  • 26. Process Management (continued) The Process Manager Creates own primitives If kernel does not have primitives Examples: test and set, P and V Responsibilities Creating , dispatching, scheduling objects Synchronizing object operations Object communication and deleting objects Kernel environment To perform above tasks Objects contain all their state information Understanding Operating Systems, Fifth Edition
  • 27. Device Management Devices Opened, read from, written to, closed Device parameters initialized and status bits set or cleared Global, cluster, or localized basis Allocates and deallocates devices to users Only when process issues OPEN/CLOSE command Keeps global accounting of each network device Availability Understanding Operating Systems, Fifth Edition
  • 28. Device Management (continued) Understanding Operating Systems, Fifth Edition
  • 29. Device Management (continued) Process-based DO/S Resources controlled by servers Called “guardians” or “administrators” Responsibilities Accepting requests for service on individual devices they control Processing each request fairly Providing service to requestor Returning to serve others Understanding Operating Systems, Fifth Edition
  • 30. Device Management (continued) Understanding Operating Systems, Fifth Edition
  • 31. Device Management (continued) Process-based DO/S (continued) Systems have clusters of resources Group control Configured around complex server processes Administrator process configured as Device Manager Includes software Accepts local and remote service requests Deciphers meaning, acts on them Server process One or more device drivers, Device Manager, network server component Understanding Operating Systems, Fifth Edition
  • 32. Device Management (continued) Object-based DO/S Each device managed same way throughout network Physical device considered an object Surrounded by software layer Physical device manipulated by set of operations, mobilizing device to perform designated functions Objects assembled to communicate and synchronize If local device manager cannot satisfy user request, request sent to another device manager Understanding Operating Systems, Fifth Edition
  • 33. Device Management (continued) Object-based DO/S (continued) Users No need to know if centralized or distributed network resources Device Manager object at each site Maintains current directory of device objects at all sites Understanding Operating Systems, Fifth Edition
  • 34. File Management Provide transparent mechanisms Find, open, read, write, close, create, delete files Subset of database managers Distributed database management implementation Part of LAN Tasks Concurrency control Data redundancy Location transparency and distributed directory Deadlock resolution or recovery Query processing Understanding Operating Systems, Fifth Edition
  • 35. File Management (continued) Understanding Operating Systems, Fifth Edition
  • 36. File Management (continued) Concurrency control System ability to perform concurrent reads and writes Provided actions do not jeopardize database Provides serial execution view on database Data redundancy Makes files faster and easier to read Allows process to read copy closest or easiest to access Read request split into several different requests for larger file Understanding Operating Systems, Fifth Edition
  • 37. File Management (continued) Data redundancy (continued) Advantage: disaster recovery easy Disadvantage: keeping multiple copies of same file up-to-date at all times Updates performed at all sites Location transparency and distributed directory Users not concerned with physical location of files Deal with network as a single system Provided by mechanisms and directories Map logical data items to physical locations Understanding Operating Systems, Fifth Edition
  • 38. File Management (continued) Location transparency and distributed directory (continued) Distributed directory Manages data locations transparency Enhances data recovery for users Contains Definitions for stored physical data and logical structure Policies and mechanisms mapping the two Systemwide names of all resources and addressing mechanisms for locating and accessing them Understanding Operating Systems, Fifth Edition
  • 39. File Management (continued) Deadlock resolution or recovery Critical issues in distributed systems Most important function Detect and recover from a circular wait Complex and difficult to detect because it involves multiple processes and multiple resources Strategies used by distributed system Detection, prevention, avoidance recovery Understanding Operating Systems, Fifth Edition
  • 40. File Management (continued) Deadlock resolution or recovery (continued) Recognize circular waits System uses directed resource graphs Looks for cycles Prevent circular waits Delays transaction start until it has all resources Avoid circular waits Allows execution if transaction can run to completion Recovery System selects best victim, kills victim, reallocates its resources to the waiting processes Understanding Operating Systems, Fifth Edition
  • 41. File Management (continued) Understanding Operating Systems, Fifth Edition
  • 42. File Management (continued) Query processing Function of processing requests for information Increases effectiveness Global query execution sequences Local site processing sequences Device processing sequences Ensures consistency of entire system’s scheduling scheme Query processing strategy Integral processing scheduling strategy part Understanding Operating Systems, Fifth Edition
  • 43. Network Management Provides concurrent processes policies Intrasite and intersite communication Responsibilities Locate processes in network Send messages throughout network Track media use Reliably transfer data Code and decode messages, retransmit errors Perform parity checking, do cyclic redundancy checks, establish redundant links Acknowledge messages and replies if necessary Understanding Operating Systems, Fifth Edition
  • 44. Network Management (continued) Links processes (objects) together through port When communication needed Provides routing functions Keeps network use statistics Message scheduling, fault localizations, and rerouting Aids process time synchronization Systemwide clock Understanding Operating Systems, Fifth Edition
  • 45. Network Management (continued) Process-based DO/S Interprocess communication transparent to users Responsibilities Allocating ports to processes Identifying every process in network Controlling message flow Guaranteeing transmission and acceptance of messages without errors Interfacing mechanism for every process Traffic operator: accepts and interprets send and receive commands Understanding Operating Systems, Fifth Edition
  • 46. Network Management (continued) Object-based DO/S Easy intermode and intramode communications among cooperative objects No need to know receiver location Only receiver’s name Provides message’s proper routing to receiver Process invokes operation part of its local object environment Services usually provided at kernel level Understanding Operating Systems, Fifth Edition
  • 47. Network Management (continued) Understanding Operating Systems, Fifth Edition
  • 48. NOS Development NOS runs on server Performs network services Workstations called clients Network management functions Only when system needs to use network Focus on sharing resources Not running programs Factors for best NOS choice Applications to run on server Technical support required User’s training level Understanding Operating Systems, Fifth Edition
  • 49. NOS Development (continued) Understanding Operating Systems, Fifth Edition
  • 50. Important NOS Features Support Standard local area network technologies Client desktop operating systems Robust architecture adapting easily to new technologies Support every operating system in corporate information network Operate wide range of third-party software applications and hardware devices Support multiuser network applications software Blend efficiency with security Understanding Operating Systems, Fifth Edition
  • 51. Major NOS Functions Function Transfer files between computers Example : FTP command Not true file sharing Must copy file to local disk Duplicates and wastes space Needs version control Anonymous FTP Files available to general public Advantage: Web for FTP Users know how to use browser Understanding Operating Systems, Fifth Edition
  • 52. Summary NOS No full utilization of global resources available to all connected sites DO/S specifically addressed NOS failure Specific requirements Secure from unauthorized access Accessible to authorized users Monitor available system resources Communications links Perform required networking tasks Understanding Operating Systems, Fifth Edition