recourse management at system and network level Flashcards
operating system
core software device that manages recourses and serves as an interface between hardware and user applications
what are the core functions of the os
process management
memory management
i/o management
file system management
process management
handling the lifecycle of processes
memory management
allocation and managing system memory
i/o management
managing data input and output from hardware
file system management
managing the file storage and retrieval
kernel
core compound of an os
monolithic kernel
apps cannot directly interact with certain parts of the system but have to do it through an interface; system calls
what are monolithic kernels usually used in
general purpose applications
what are micro kernels usually used in
embedded systems; lightweight and recourse constrained
microkernels
the kernel is used for scheduling whilst other capabilities are controlled by servers
how do monolithic and micro kernels differ in size
mono; large and complex
micro; small and minimal, only basic services
how do monolithic and micro kernels differ in modularity
mono; less modular, new features will affect the entire system
micro; more modular, easy to scale and can bring in new services without changing the entire os
how do monolithic and micro kernels differ in security
mono; if the kernel is compromised the entire system is down
micro; more secure as everything is isolated from each other so attacks will only affect the section attacked
how does security work in microkernels
you can change security measures for each server based on its needs
what is a negative of microkernels (performance)
you cant run applications concurrently as they’re all communicating with each other which reduces performance
process abstraction
the os abstracts running programs as processesr
recourse contention
multiple processes compete for cpu time, memory and i/o
how does the kernel view processes
the kernel keeps a data structure for each process; process control block
pcb
process control block