OS Notes Midsem
OS Notes Midsem
APPLICATION
Hardware
if any error genrated in any layer it would be
bound to upto that layer it would not affect
system working
4. Fasy processing
5. Efficiency improved
In tightly coupled system data memory is shared among all network so that data rate is high
but in loosely coupled every system has its own memory so data rate is less
https://youtu.be/NdTnVA6Eq9s
https://youtu.be/yEVbI3MnFpw
non premptive (we cannot stop process forcefuly to start another process)
In this OS, for the time a process does I/O, the CPU can start execution
of other process
Disadsvantage:
1. response time is max for the last process
2. last process has to wait until processes execute
cant stop forcefully
time when CPU is not busy, in this Batch OS CPU doesn't execute another process it
would be free
CPU is being idle at time of I/O
starvation(waiting time of another process
to execute)
Less user interactive (it loads offline user wouldn't present at time of execution)
https://youtu.be/NYBKXzl5bWU
Goals:
1. Connecting users and resources
2. Complexibility is hidden from users (users work only in single system
3. Efficiency should not get affected by increasing number of compuational nodes
4. If any computer fails work would not stop to execute (Reliability)
5. Response time, throughput, memory utilization, netwrok utilization
It is the software over a collection of network, communicating and physically seperate computational
nodes
Run on server
Provide capability of manage date, user,
group, security, application and other network
functionalities
Allow to shared files and printers access
among multiple computer in network
https://youtu.be/8ZLKkDm5hAg
Interrupts give to a work (is it done or not)
memory failure
Rise in temperature
https://youtu.be/j6ygwEjOA3o
Fetch stage
Execute stage
Interrupt stage
Interr. disabled
Generate
PC value
https://youtu.be/tWPa-rZiGM8
This calls would be done in kernel mode(user can interact with computer hardware
User mode and kernel mode https://youtu.be/8duV1LLHHJU
An application programming interface (API) is code that enables two software programs to communicate. An API
defines how a developer should request services from an operating system (OS) or other application, and expose
data within different contexts and across multiple channels.
https://youtu.be/ITc09gOrqZk
https://youtu.be/GuGjNaMl0Rs
queue of process in secondary mem
https://youtu.be/aCOaHwRrTDQ
https://youtu.be/9zAPwpP71Ig
several processes access and manipulate the same data concurrently and the
outcome of the execution depends on the particular order in which the access
takes place, is called a race condition.
https://youtu.be/LOfGJcVnvAk
of multithreading programming
https://youtu.be/TrV_dOX_YHw