0% found this document useful (0 votes)
15 views3 pages

Distributed & Networked Systems Guide

The document provides an overview of Distributed Operating Systems (DOS) and Network Operating Systems (NOS), highlighting their advantages and disadvantages. It explains the concept of Remote Procedure Calls (RPC), the issue of thrashing in systems, and the architecture of multiprocessor operating systems. Additionally, it touches on design issues for distributed OS and includes brief notes on computer viruses and worms, as well as Linux and Unix operating systems.

Uploaded by

yatnesh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

Distributed & Networked Systems Guide

The document provides an overview of Distributed Operating Systems (DOS) and Network Operating Systems (NOS), highlighting their advantages and disadvantages. It explains the concept of Remote Procedure Calls (RPC), the issue of thrashing in systems, and the architecture of multiprocessor operating systems. Additionally, it touches on design issues for distributed OS and includes brief notes on computer viruses and worms, as well as Linux and Unix operating systems.

Uploaded by

yatnesh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT 5 - Distributed & Networked Systems (Hinglish Notes)

Distributed Operating System (DOS)

Distributed OS ek aisa system hai jisme multiple computers (nodes) ek network ke through connected hote hain aur ye
sab milke ek hi system ki tarah kaam karte hain.

Advantages:
- Resource Sharing: Printers, files, CPU easily share ho jaate hain.
- Fault Tolerance: Ek system fail ho jaye to doosra kaam continue rakhta hai.
- Scalability: System me aur machines add karna easy hota hai.
- Better Performance: Tasks multiple systems me divide hote hain = fast execution.

Disadvantages:
- Complexity: System setup aur management tough hota hai.
- Security Risks: Network-wide access hone se security ka concern badh jata hai.
- Communication Overhead: Zyada data transfer hone se system slow ho sakta hai.

Network Operating System (NOS)

NOS ek aisa OS hai jo computers ko ek network me connect karta hai for sharing resources like file, printer etc. Har
computer independent hota hai (khud ka OS run karta hai).

Advantages:
- File and resource sharing supported.
- Centralized Backup and Admin.
- Less cost & simpler setup.

Disadvantages:
- No Transparency: User ko pata hota hai kis computer se resource aa raha.
- Less fault tolerant.
- Maintenance overhead.

Distributed OS vs Network OS

| Feature | Distributed OS | Network OS |


|----------------------|----------------------------------------|-----------------------------------------|
| System View | Ek single OS jaisa feel deta hai | Har machine apna OS run karti hai |
| Resource Mgmt | Global resource management | Local aur Server-based sharing |
UNIT 5 - Distributed & Networked Systems (Hinglish Notes)

| Fault Tolerance | High | Low |


| Transparency | High User ko pata nahi chalti node | Low User ko pata hota hai |
| Complexity | More | Less |

Trick: DOS = One system feel | NOS = Connected independent systems

Remote Procedure Call (RPC)

Jaise aap normal function call karte ho, waise hi RPC me aap ek remote system ka function call karte ho jaise woh local
ho.

Example: India me program chal raha, USA me server. RPC se aap server ka function call kar lete ho.

Steps:
1. Client local stub call karta hai.
2. Stub request ko network pe bhejta hai.
3. Server request leke function run karta hai.
4. Result client ko wapas bhejta hai.

Use: Distributed systems me easy communication.

Thrashing

Jab system sirf page fault hi handle karta rahe aur koi real kaam na ho = Thrashing.

Reason: Zyada processes ko memory de di gayi. Page nahi milta swapping hoti rehti.

Effect: CPU busy hota hai par kaam nahi hota.

Solution:
- Degree of multiprogramming reduce karo.
- Better page replacement algorithm use karo.

Multiprocessor OS Architecture

Multiprocessor system me multiple CPUs ek saath kaam karte hain.


UNIT 5 - Distributed & Networked Systems (Hinglish Notes)

Types:
1. Tightly Coupled System Shared memory
2. Loosely Coupled System Independent CPUs

Benefits: Parallel processing, High performance, Resource sharing.

Short Notes (Worms, Viruses, Linux/Unix Case Study)

Virus: File ke sath attach hota hai, self-replicate karta hai. User action chahiye.

Worm: Network me khud spread karta hai. No user action.

Linux: Open-source OS, multitasking, POSIX compliant, shell support strong.

Unix: Time-sharing OS, command line interface, layered architecture.

Distributed OS Design Issues

Design Issues:
- Transparency (User ko node switching ka pata na chale)
- Fault Tolerance
- Resource Management
- Concurrency
- Security
- Scalability

Common questions

Powered by AI

Viruses and worms both propagate in networks but differ fundamentally in their methods and implications. A virus requires user action to spread and attaches itself to files, potentially causing localized damage when executed . In contrast, worms do not need user intervention to replicate and spread automatically through the network, leading to widespread disruptions and resource exhaustion . The autonomous nature of worms makes them more challenging to control and potentially more damaging in a shorter period .

Remote Procedure Calls (RPC) simplify communication in distributed systems by enabling a procedure to be executed on a remote system as if it were a local call . The typical sequence involves the client invoking a stub in the local system, which sends a request across the network to the server. The server processes the request and executes the function, returning the result back to the client . This process abstracts the complexities of network communication, streamlining interactions across distributed environments .

Distributed Operating Systems (DOS) provide a single system image that simplifies user interaction and enhances resource management by offering global resource management and high fault tolerance . However, they introduce complexity in system setup and management and present higher security risks due to network-wide access and increased communication overhead . On the other hand, Network Operating Systems (NOS) focus on local resource and server-based sharing, offering simpler setups and centralized administration, but lack transparency and fault tolerance, making them less robust . Ultimately, DOS offers seamless integration at the cost of complexity, whereas NOS maintains independence per machine with certain ease in setup but higher maintenance requirements .

Tightly coupled multiprocessor systems are characterized by shared memory where multiple CPUs operate closely together, enhancing parallel processing and efficient resource sharing . In contrast, loosely coupled systems consist of independent CPUs connected through a network, which allows for flexibility and scalability . These architectures provide benefits such as high performance, due to parallelism, and enhanced resource sharing, leading to improved overall system efficiency .

Key design issues in distributed operating systems include transparency, which ensures seamless node switching without user awareness; fault tolerance, which maintains system functionality in case of individual node failures; effective resource management for optimizing resource allocation across the network; concurrency management to handle simultaneous operations without conflict; security to protect against unauthorized access; and scalability to accommodate growth in system size and user demand . Addressing these design issues is crucial for achieving a reliable and user-friendly distributed system .

Scalability is vital for distributed operating systems as it ensures the system can accommodate growth in user demand and network size without degrading performance . Effective management involves algorithm optimization to handle increased loads, infrastructure that supports incremental expansion, and resource allocation strategies that scale with demand . By ensuring scalability, distributed systems remain effective and reliable as they grow .

Thrashing severely impacts system performance by causing the CPU to spend most of its time handling page faults instead of executing actual tasks, leading to negligible productive output . This occurs when excessive processes are allocated memory simultaneously, causing constant swapping and insufficient processing . Mitigation can be achieved by reducing the degree of multiprogramming to ensure fewer processes compete for limited memory and by implementing better page replacement algorithms to efficiently manage memory allocation .

Transparency in distributed systems enhances the user experience by concealing the complexity of distributed operations, making it appear as though the system is a single cohesive unit, regardless of the underlying architecture . This seamless interaction ensures users are not burdened with managing node-specific details . However, achieving transparency presents challenges such as maintaining system performance while handling node failures and ensuring security without exposing network-wide vulnerabilities . Successful implementation requires sophisticated system design to balance these demands .

Fault tolerance enhances reliability in distributed systems by ensuring continuous operation despite the failure of individual components . Methods to achieve fault tolerance include redundancy, where critical components have backups ready to take over in case of failure, and checkpointing, where system states are periodically saved so they can be restored to a known good state after a failure . These strategies ensure the distributed system remains operational and minimizes interruption, enhancing dependability .

Linux is an open-source, multitasking operating system that complies with POSIX standards and supports robust shell operations, facilitating flexible command-line usage and customizations . Unix, known for its time-sharing capabilities, uses a distinct layered architecture and offers a more traditional command-line interface . The key differences in usability stem from Linux's open-source nature allowing for widespread adaptations and community-driven enhancements, contrasted with Unix's stability and consistency in environments that prioritize tried-and-tested solutions .

You might also like